This is a known bug:
https://github.com/Razor-qt/razor-qt/issues/531

The bug appears only with some window managers. Which one do you use?



On Sunday, 19 May 2013 08:27:03 UTC+12, Alexis Lopez Zubieta wrote:
>
> Hello:
>
> I have found an small bug in the razor-panel plugin "mainmenu". When you 
> launch the menu using a keyboard shortcut it doesn't gain focus and you 
> can't navigate it using the keyboard.
>
> I don't know if this was corrected, in the case it weren't here is my 
> solution.
>
> In the file "razormainmenu.cpp" in the line 130 I have done some changes. 
> Please excuse me, if i'm not sending you a diff file is because i don't 
> know how to build it.
>     // Just using Qt`s activateWindow() won't work on some WMs like Kwin.
>     // There are two solutions:
>     //  activate window with Qt call and then execute menu 1ms later using 
> timer,
>     //  or use native X11 ArfPI calls:
>     
>     // Record previous active window
>     Window previousWindow = xfitMan().getActiveWindow();
>     
>     xfitMan().raiseWindow(mButton.effectiveWinId());
>     mButton.activateWindow();
>     
>     mMenu->exec(QPoint(x, y));
>     
>     // Restore previous window
>     xfitMan().raiseWindow(previousWindow);
>
> Best Regards
>
> -- 
> ------------------------------
> University of Informatic Sciences (UCI) http://www.uci.cu*
> *Nova Light Development Team  http://www.nova.cu
> Alexis López Zubieta   [email protected] <javascript:>
>
>
>   <http://www.uci.cu/>
>
>
------------------------------------------------------------------------------
AlienVault Unified Security Management (USM) platform delivers complete
security visibility with the essential security capabilities. Easily and
efficiently configure, manage, and operate all of your security controls
from a single console and one unified framework. Download a free trial.
http://p.sf.net/sfu/alienvault_d2d
_______________________________________________
Lxde-list mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/lxde-list

Reply via email to