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 152169 - Temporary Lock Ups on All Window Controls
Temporary Lock Ups on All Window Controls
Status: VERIFIED INCOMPLETE
Product: metacity
Classification: Other
Component: general
2.8.x
Other other
: High major
: ---
Assigned To: Metacity maintainers list
Metacity maintainers list
Depends on:
Blocks: 155457
 
 
Reported: 2004-09-08 14:50 UTC by d. Taylor Singletary
Modified: 2009-08-15 18:40 UTC
See Also:
GNOME target: 2.8.x
GNOME version: 2.7/2.8


Attachments
Log file of this bug (56.23 KB, application/x-gzip)
2004-09-09 14:08 UTC, d. Taylor Singletary
Details

Description d. Taylor Singletary 2004-09-08 14:48:57 UTC
Distribution: Gentoo Base System version 1.5.3
Package: metacity
Severity: major
Version: GNOME2.7.92 2.8.x
Gnome-Distributor: BreakMyGentoo.net
Synopsis: Temporary Lock Ups on All Window Controls
Bugzilla-Product: metacity
Bugzilla-Component: general
Bugzilla-Version: 2.8.x
Description:
Description of Problem:
Using the 2.8.4 version of metacity, with about 10 virtual desktops and
switching via keyboard or mouse between desktops the entire windowing
system appears to lock up, disallowing text to be typed into terminal
windows, hotkey workspace switching, or switching via the mouse.
However, windows can still be moved around using the mouse, just nothing
will take focus. Happens repeatedly and in no predictable fashion.

Steps to reproduce the problem:
1. Use the system for a few minutes.
2. Switch virtual desktops. Not have it work.
3. Keep trying, clicking every button, eventually.. let's up. 

Actual Results:
System is temporarily unusuable.

Expected Results:
Shouldn't be happening.

How often does this happen?
8-15 times a day throughout a normal workday.

Additional Information:
Been noticing this since 2.8.3. Switching back to 2.8.2 which didn't
have this problem.




------- Bug moved to this database by unknown@bugzilla.gnome.org 2004-09-08 10:48 -------


Unknown platform unknown. Setting to default platform "Other".
Unknown milestone "unknown" in product "metacity".
   Setting to default milestone for this product, '---'
Setting to default status "UNCONFIRMED".
Setting qa contact to the default for this product.
   This bug either had no qa contact or an invalid one.

Comment 1 d. Taylor Singletary 2004-09-08 15:55:13 UTC
I'm noticing now that this happens in 2.8.2 as well.

I think this is part of the problem:
It seems to happen if I select via keyboard the workspace that I'm already
viewing. I have my 2nd viewspace set to Alt-2. If I'm already in Workspace 2, it
locks up when I press Alt-2. From that point I can manipulate windows but it is
as if Metacity is locked into only understanding mouse clicks as window
movement, resize, etc commands.
Comment 2 Elijah Newren 2004-09-08 22:21:51 UTC
Any chance you could get us a verbose log?  To do so:

1. Reduce your desktop to as few windows as possible to reproduce the bug
2. Run METACITY_VERBOSE=1 METACITY_USE_LOGFILE=1 metacity --replace
3. On stdout metacity will print the name of the logfile
4. Reproduce the bug as quickly as possible
5. Kill the metacity you started above to stop the logfile from growing any longer
6. Compress the logfile and attach it to this bug report
Comment 3 Elijah Newren 2004-09-08 22:24:23 UTC
Also, does it depend on which Alt key is pressed?  (There appears to be a
Metacity bug made visible by an xorg change that is dependent on which modifier
is used; it's a long shot, but I thought I'd ask).
Comment 4 Elijah Newren 2004-09-09 05:12:12 UTC
I've tried various things I can think of--race on focus window and workspace
switch, use of right alt key, looking up old gtk bugs on grabs like (e.g. bug
92085 or bug 82128) to see if they shed any light on the matter--and then tried
to see if I could use those guesses and situations to find if it would help me
duplicate somehow.  But I can't figure out how to cause this at all.

I also thought about bug 143851, which this might be a duplicate of.

I'm really curious (besides a log which would be the most helpful) about any
options you might have set (click/sloppy/mouse focus, autoraise, reduced
resources, choice of theme, etc.).
Comment 5 d. Taylor Singletary 2004-09-09 14:08:51 UTC
Created attachment 31446 [details]
Log file of this bug
Comment 6 d. Taylor Singletary 2004-09-09 14:10:05 UTC
I went ahead and followed your instructions.

A. Yes I am running Xorg. And using the ALT key to switch workspaces. When I
change the modifier to my Windows key the problem goes away.

B. I am using click-to-focus, no autoraise, no reduced resources. It happens
regardless of theme.

I reproduced it by switching back to ALT keys and starting the logging as you
said. I went to my first workspace, then back to my second. While on my second I
pressed my ALT-2 key combination to switch workspaces, but as I was already
there it shouldn't have done anything. Instead it locks the same way. To get it
to unlock I simply click somewhere on the desktop.

Thanks for your attention to this. Also, I am using the left ALT key in almost
all cases.
Comment 7 Elijah Newren 2004-09-10 04:30:37 UTC
Thanks for the log and the extra info.  Interesting to hear that it is specific
to the Alt key.  What is the output of running 'xmodmap' on your machine?  Also,
does this "keyboard freeze" only happen with one of the two alt keys, or can you
get the freeze to happen after using either one?
Comment 8 Elijah Newren 2004-09-10 14:43:44 UTC
Note that this is almost certainly a duplicate of bug 151554...
Comment 9 Elijah Newren 2004-10-15 00:31:42 UTC
Does Soeren's patch in bug 151554 fix this issue for you?
Comment 10 Elijah Newren 2004-11-06 18:46:40 UTC
No response, so I'm going to assume that the fix works.  Please reopen if that
isn't the case.