It's caused by the lack of "EWMH source indication" support of gtk. EWMH source indication is a feature used to prevent from keyboard focus stealing. While the user is doing keyboard or mouse input, requests by other applications to raise a window to front could optionally be ignored by WM. So the work the user is doing won't be disturbed. That's the origin of the bug. I added source indication and ask the WM explicitly to move the dialog to front. Hence it's fixed. Quite interesting. :-) Too bad that gtk+ API does not provide this functionality.
On Tue, Jun 12, 2012 at 5:17 PM, Christoph Wickert <[email protected]> wrote: > Am Dienstag, den 12.06.2012, 16:50 +0800 schrieb PCMan: >> It's here, in lxpanel: >> http://lxde.git.sourceforge.net/git/gitweb.cgi?p=lxde/lxpanel;a=commitdiff;h=37f5734a37857ac682fcb7313d3b9554be388e51;hp=71f5bda275e9dbf164e8a6425630fac69f87999f > > The bug is about the "Run" dialog not getting focused when the user > presses CTRL+F2. Keyboard shortcuts are handled by Openbox, so I wonder > how a change in lxpanel will fix the focus issue?! > > I was thinking of something along the lines of > > <application name="lxpanel" class="Lxpanel"> > <focus>yes</focus> > </application> > > in Openbox's lxde-rc.xml and that's why I looked at the lxde-common > package. > > Kind regards, > Christoph > > > > ------------------------------------------------------------------------------ > Live Security Virtual Conference > Exclusive live event will cover all the ways today's security and > threat landscape has changed and how IT managers can respond. Discussions > will include endpoint security, mobile security and the latest in malware > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > _______________________________________________ > Lxde-list mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/lxde-list ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ Lxde-list mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/lxde-list
