After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 334935 - No method for retrieving focus from misbehaving applications
No method for retrieving focus from misbehaving applications
Status: RESOLVED DUPLICATE of bug 344059
Product: metacity
Classification: Other
Component: general
2.14.x
Other All
: Normal enhancement
: ---
Assigned To: Metacity maintainers list
Metacity maintainers list
Depends on:
Blocks:
 
 
Reported: 2006-03-17 22:16 UTC by Drew Ogle
Modified: 2006-06-06 19:59 UTC
See Also:
GNOME target: ---
GNOME version: Unversioned Enhancement



Description Drew Ogle 2006-03-17 22:16:19 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.
Comment 1 Elijah Newren 2006-03-29 05:56:27 UTC
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...
Comment 2 Drew Ogle 2006-03-29 12:59:19 UTC
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
Comment 3 Elijah Newren 2006-06-06 19:59:32 UTC
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 ***