GNOME Bugzilla – Bug 334935
No method for retrieving focus from misbehaving applications
Last modified: 2006-06-06 19:59:32 UTC
There needs to be a) a way to retrieve focus from applications that are misbehaving When running applications remotely, I've sometimes had them .. act strange after I've opened a menu, but the request has been recieved for the focus, Also when firefox freaks out when dragging and dropping and I'm required to switch to a VT to log in to kill it.
You're clicking on windows, which would normally be focused, but aren't be focused due to some other weird app messing things up? Am I understanding that right? Sounds like bug 311868, if so. For the second issue you mention, Metacity can't recover grabs from applications; not that I'm aware of anyway. I'd just suggest filing a bug against Firefox, though maybe there's a point in filing one against X asking for a way to recover from apps with buggy grab handling? Not exactly sure how or if that would work...
I did file that bug against firefox ;) I've just had this issue other times as well .. I looked at that bug when filing this one, but that is "annoying" while this has been more like "switch to VT and kill program or ssh connection, think 'wow if I didn't know how to do this, I'd have to reset the computer'" I would classify this bug as the "go into menu of application and then something bad happens"... I wouldn'd say the applications have buggy grab handling, it's just that they have some other bug that causes them not to finish their grab handling. So a way to make a testcase for this I guess, would be make an application where you open up a menu, and then have it not respond so you are locked into that menu. This would more or less replicate what was happening in firefox. If there isn't a way to retrieve focus, I'd say that an X extention needs to be made, since this is important - my experince with firefox is what convinced me this isn't just a "doing crazy stuff over slow remote connection" thing. I can make a testcase program to exemplify this if it is necessary. dante
I made a big bug for keybindings-don't-work-during-grabs, the can't-recover-when-firefox-and-other-apps-have-stuck-grabs is part of that. :) *** This bug has been marked as a duplicate of 344059 ***