A window sent to a different workspace retains focus offscreen
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
compiz (Ubuntu) |
Confirmed
|
Low
|
Unassigned |
Bug Description
Binary package hint: compiz-
If you use the window menu to send a window to a different workspace, that window retains focus, even though it is now offscreen.
This means you could accidentally close that window or send other, unintentional keyboard events to it.
Corollary Bug: The most-recently-used window on current workspace/viewport does not get focus after sending a window to another workspace. I would argue that the MRU window on the original workspace should get focus, as this will often be the one on top. Remember we must respect the preferences of users who don't use raise_on_click or the use focus under mouse, etc.
Reproduce:
1. Using default compiz "Normal" settings (see attached compiz settings file, if necessary). Using Desktop Wall.
2. Using Gnome 2.26.1
3. Open a couple of windows.
4. Open Gedit
5. Right-click the window title bar and select "Move to Workspace Right".
6. Type something, for example, "hello world".
7. Switch your own view to Workspace Right so you can see Gedit again.
8. --> Notice that your current viewport/workspace has no windows with focus.
9. --> Notice that Gedit has the words you typed.
Turing off Animations plugin did not change the problem.
Ubuntu 9.04
Gnome 2.26.1
ii compiz-core 1:0.8.2-0ubuntu8
ii compiz-
ii compiz-
ii compiz-gnome 1:0.8.2-0ubuntu8
ii compiz-plugins 1:0.8.2-0ubuntu8
ii compiz-wrapper 1:0.8.2-0ubuntu8
ii compizconfig-
ii compizconfig-
ii libcompizconfig0 0.8.2-0ubuntu1
ii python-compizconfig 0.8.2-0ubuntu1
Possibly-related focus bugs:
Bug #95140 (not duplicate)
Bug #135789
Bug #150336
affects: | compiz-fusion-plugins-main (Ubuntu) → compiz (Ubuntu) |
Changed in compiz (Ubuntu): | |
importance: | Undecided → Low |
status: | New → Confirmed |
Also see my Bug #385333 regarding "window sent to back retains focus". It should use the same choice in next-focused-window as this bug.