Incorrect focus when application is slow to respond
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
xfwm4 (Debian) |
Incomplete
|
Undecided
|
Unassigned | ||
xfwm4 (Ubuntu) |
Expired
|
Undecided
|
Unassigned |
Bug Description
If an application is responding slowly xfwm4 will sometimes give it focus when it shouldn't have it.
Steps to reproduce:
1. Configure xfwm4 to let focus follow the mouse
2. Get an application to respond slowly (can easily be reproduced with firefox and lots of open tabs)
3. Open two xterm windows in front of slow application.
4. Move mouse over one xterm window
5. Wait for xterm window to get focus (should happen instantly)
6. Press ctrl-d to quit the xterm
7. Before the slow application reacts to the newly received focus move mouse cursor to other xterm window.
8. Wait for slow application to respond.
Expected result:
Since the mouse is now over the xterm window it gets focus and keeps it.
Actual result:
As soon as the mouse cursor enters xterm window it gets focus. Once the slow application starts responding again it receives focus. This will cause focus to shift away from the xterm when it shouldn't, usually in the middle of the user typing causing keypresses to be sent to the wrong window.
ProblemType: Bug
DistroRelease: Ubuntu 10.04
Package: xfwm4 4.6.1-1ubuntu2
ProcVersionSign
Uname: Linux 2.6.32-34-generic i686
Architecture: i386
Date: Wed Oct 26 21:24:15 2011
EcryptfsInUse: Yes
InstallationMedia: Ubuntu 10.04.3 LTS "Lucid Lynx" - Release i386 (20110720.1)
ProcEnviron:
PATH=(custom, user)
LANG=en_DK.utf8
SHELL=/bin/bash
SourcePackage: xfwm4
Status changed to 'Confirmed' because the bug affects multiple users.