Hello!

The Wanderer has written on Sunday,  4 May, at 13:50:
>On 05/03/2014 05:36 PM, Andrej N. Gritsenko wrote:

>> The problem is that once the menu is displayed it takes all the
>> keyboard events so you cannot hide it again any other way but
>> pressing 'Esc', the window manager will get no events because menu
>> grabs keyboard ATM.

>I've lost access to the machine where I was testing this till next week,
>and setting up another test environment in e.g. a VM would be a pain,
>but - are you sure? I have no reason to doubt you, but this runs counter
>both to the behavior I think I remember seeing and to all of my
>expectations about the way keybindings and input-grabbing works.

>I would expect the "menu window" to have focus and therefore receive
>keyboard input, yes, like any other window - but I would not expect this
>to prevent the WM from catching input events, any more than having any
>other window in focus prevents that.

You know, menu window is not usual window - it cannot have decorations,
it cannot be presented in any windows list, etc.

>If the menu does grab keyboard input to such an extent as to take it
>away from the WM, then the menu's input-grabbing must be implemented in
>a way which I at least would find surprising...

Unfortunately it is the behavior of any menu - be it GTK or Qt one. And
you can check it yourself - just open any kind of menu (main application
menu or context menu) and no window manager keybindings will work until
you hide the menu. At least it's how it works in Openbox.

    With best regards,
    Andriy.

------------------------------------------------------------------------------
"Accelerate Dev Cycles with Automated Cross-Browser Testing - For FREE
Instantly run your Selenium tests across 300+ browser/OS combos.  Get 
unparalleled scalability from the best Selenium testing platform available.
Simple to use. Nothing to install. Get started now for free."
http://p.sf.net/sfu/SauceLabs
_______________________________________________
Lxde-list mailing list
Lxde-list@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/lxde-list

Reply via email to