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 103584 - using keyboard shortcuts to open applications sometimes blocks keyboard input
using keyboard shortcuts to open applications sometimes blocks keyboard input
Status: RESOLVED FIXED
Product: metacity
Classification: Other
Component: general
unspecified
Other Linux
: Normal normal
: METACITY2.8.x
Assigned To: Metacity maintainers list
Metacity maintainers list
: 143154 (view as bug list)
Depends on:
Blocks: 155457
 
 
Reported: 2003-01-15 16:49 UTC by James Gregory
Modified: 2005-01-26 17:11 UTC
See Also:
GNOME target: ---
GNOME version: 2.0



Description James Gregory 2003-01-15 16:49:59 UTC
Description of Problem:

I have configured metacity so that pressing break
brings up an xterm by setting keybindings with
gconf-editor. Occasionally, when I press break to
bring up an xterm, it will bring up 3 of them and
then block keyboard input to any application. I
can recover control of the keyboard by closing the
xterms it opened, clicking on the desktop,
pressing break, clicking again on the desktop and
again pressing break. Alternatively changing to a
console and then back to X will fix the problem.


Steps to reproduce the problem:
1. Configure a keybinding with gconf-editor to
load xterm when break is pressed.
2. press break to open an xterm
3. work with this shortcut for some time,
eventually the aforementioned bug will surface. It
seems to occur more frequently when the machine is
under heavy load.

Actual Results:

varied.

Expected Results:

3 xterms and blocked keyboard input.


How often does this happen? 

Currently I have this occur about every 3rd or 4th
time I press break. It is not consistent however.


Additional Information:

n/a
Comment 1 Havoc Pennington 2003-02-25 22:14:13 UTC
If you open "xev" while keyboard input is locked, does it receive key
events? If so can you post the output from xev when you press 
some keys while locked and while not locked?

Can you focus windows, just not type in them?
Comment 2 Rob Adams 2003-02-28 19:22:52 UTC
I can reproduce by holding down my "Menu" key, which I have bound to
launch an xterm.

It launched about 25 xterms and then my keyboard was completely dead;
no Ctrl-Alt-Backspace, no Ctrl-Alt-F1.  Also, the gnome menu stopped
working.

I was able to restore only by sshing in from a different computer and
killing metacity.
Comment 3 Rob Adams 2003-02-28 19:34:46 UTC
And I could focus windows.  I suspect that metacity had a keyboard
grab.  And an, um, gnome-menu grab.  Yea.
Comment 4 Havoc Pennington 2003-03-01 05:35:54 UTC
does the log file show metacity taking a grab and not releasing it? 
And if so, what else is happening in the log file that causes that?
Comment 5 Julien Langer 2003-10-21 17:42:09 UTC
I have the same problem (with metacity 2.4.55 and 2.6.2), and it 
seems this only happens if my system is under heavy load!
Comment 6 Julien Langer 2004-02-28 22:58:46 UTC
It seems that this bug is fixed in 2.6.5. I can't reproduce it any longer.
Comment 7 Elijah Newren 2004-10-14 23:47:13 UTC
See also bug 143154, which I believe may be a duplicate.  Julien: Thanks for
following up; I'm going to mark this as fixed.

If anyone can reproduce with a recent version, feel free to reopen.
Comment 8 Elijah Newren 2005-01-26 17:11:10 UTC
*** Bug 143154 has been marked as a duplicate of this bug. ***