Bug 206263
| Summary: | Weird desktop wide application focusing/cursor problem | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Steven Haigh <netwiz> |
| Component: | metacity | Assignee: | Søren Sandmann Pedersen <sandmann> |
| Status: | CLOSED RAWHIDE | QA Contact: | |
| Severity: | high | Docs Contact: | |
| Priority: | medium | ||
| Version: | rawhide | CC: | bugs.michael, desktop-bugs, jfrieben, kem, newren, paul, redhat-bugzilla, tjb, tmokros |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2006-09-25 23:11:33 UTC | Type: | --- |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
|
Description
Steven Haigh
2006-09-13 11:16:11 UTC
Steven: If you run metacity in a terminal (or restart it with 'metacity --restart') and then duplicate the bug, are there any warning messages printed out? You describe how you work around the bug but not how you cause it. Please describe what are you doing when the focus is misplaced, so others can attempt it too. I'll be trying it again today as I need to do a ton of provisioning for VoIP devices which means I'll be on this machine all day.. I notice that when I use gnome-terminal, if I copy/paste a lot between say Firefox and the terminal it seems to trigger more often. It also sometimes triggers when I'm using multiple tabs within a single gnome-terminal window. I have remapped the terminal settings to use Ctrl + Shift + 1/2/3/4 etc to switch between terminals so I can still use Ctrl + 1/2/3/4 etc for terminal programs. I usually have 3-4 tabs within the terminal window and am constantly switching between them using the above shortcuts. As I said, it's only 3-4 times a day now, so it's not an easy thing to reproduce, but I can confirm that it does indeed still happen. Putting on FC6-blocker. (In the future, please just reopen the bug instead of cloning it). Since I can't duplicate and many others seem to not have the problem anymore, this may be really hard to get fixed. I imagine that it's a really rare race condition, possibly needing certain hardware to be able to trigger. (Some mice are just easier to get ButtonPress and ButtonRelease events in faster; load on the CPU and other such factors can matter too). If others are interested in looking further, the problem can probably be found in the hints at http://bugzilla.gnome.org/show_bug.cgi?id=355180 (and might even be fixed by the patch I just attached there). It looks as though I haven't suffered this issue since - this would mean that re-producing this issue on a constant basis may be very very difficult. This being said, I agree with Elijah's comments above and believe that we should try to fix the root cause of the issue before FC6 ships. It may have just been chance that it happened to me 4 times in one day after the update, however anything we can do before shipping to reduce that possibility further should be considered. I am adding this patch since it is clearly safe and may possible help this bug. It looks like the bug occurs extremely rare (if at all) now, so I think we can ship FC6. fixed if/when releng moves the package Verified in metacity-2.16.0-4.fc6 and works for me. I looks as if the issue has been fixed upstream anyway. From "NEWS":
2.16.3
======
- fix longstanding focus bug with mouse focus (not sloppy focus) and
popup override redirect windows, such as mozilla's/firefox's
location bar autocompletion, causing nasty flickering and lost
keystrokes (Elijah) [#357695]
I have rebuilt the "metacity" package based upon 2.6.13, and no issues
have been observed.
Joachim: upstream #357695 was an issue that's completely unrelated to this bug report. The related upstream bugs (that I know of, and I'm in charge of upstream) are bug 354422 and bug 355180. |