Focused window doesn't have to be on current workspace

Bug #773587 reported by Paulo J. S. Silva on 2011-04-29
38
This bug affects 7 people
Affects Status Importance Assigned to Milestone
Unity
Expired
Undecided
Unassigned
compiz (Ubuntu)
Undecided
Unassigned
unity (Ubuntu)
Undecided
Unassigned

Bug Description

If I have two firefox windows opened in two different workspaces and move from one workspace to the other using the keyboard shortcut the keyboard focus sometimes stays in the original workspace.

To reproduce (it is not 100% deterministic, but it happens a lot)

1) Start Unity
2) Open firefox maximized
3) Create a new window with ctrl-n
4) Open workspace viwe with super-s and move the new window to the workspace to the right.
5) Move from one workspace to the other using Ctrl-Alt-Right or Ctrl-Alt-Left. After moving to a new workspace they to type a URL in firefox using ctrl-l. Sometimes the input happens in the wrong workspace.

I am running 11.04 just upgrade from 10.10.
---
Architecture: amd64
CompizPlugins: [core,bailer,detection,composite,opengl,decor,mousepoll,vpswitch,regex,animation,snap,expo,move,compiztoolbox,place,grid,imgpng,gnomecompat,wall,ezoom,workarounds,staticswitcher,resize,fade,unitymtgrabhandles,scale,session,unityshell]
DistroRelease: Ubuntu 11.04
EcryptfsInUse: Yes
InstallationMedia: Ubuntu 10.04 LTS "Lucid Lynx" - Release amd64 (20100429)
Package: unity 3.8.12-0ubuntu1
PackageArchitecture: amd64
ProcEnviron:
 LANGUAGE=pt_BR:en
 PATH=(custom, user)
 LANG=pt_BR.UTF-8
 SHELL=/bin/bash
ProcVersionSignature: Ubuntu 2.6.38-8.42-generic 2.6.38.2
Tags: natty running-unity
Uname: Linux 2.6.38-8-generic x86_64
UpgradeStatus: Upgraded to natty on 2011-04-28 (2 days ago)
UserGroups: adm admin cdrom dialout lpadmin plugdev sambashare users

Omer Akram (om26er) wrote :

In step 5 you say super+right/left arrow but the default key to switch workspaces is ctrl+alt+right/left did you change that key or was that a mistake? I am not able to reproduce this problem with the steps you provided.

Changed in unity:
status: New → Incomplete
Changed in unity (Ubuntu):
status: New → Incomplete
Paulo J. S. Silva (pjssilva) wrote :

Sure, Omer... I should have written ctrl+alt+right/left, sorry.

Bilal Shahid (s9iper1) wrote :

i also can see such type of stuff or reprodue it

Bilal Shahid (s9iper1) wrote :

ur bug is incomplete,, complete it or go to terminal and write
apport-collect 773587
and follow the instructions

Bilal Shahid (s9iper1) wrote :

i write above this/// i also can't see such type of stuff or cant produce it//

apport information

tags: added: apport-collected natty running-unity
description: updated

apport information

BIL30AL

I have just used apport-collect as you requested. Hope it helps. I keep on experiencing the bug.

Sven Bendel (ubuntudroid) wrote :

Not sure if it is the same bug, but I have a similar problem. If I switch to a workspace with Eclipse in it, it often doesn't get focus and I have to minimize and maximize it again to get focus. I only experienced it with Eclipse so far, but not with Firefox.

levu (levu) wrote :

The problem is: every window has a shadow around it. If the window is not far enough away from the desktop edge, for the window manager it's also on the other workspace (like if you have a window between two workspaces). It's actually not just a problem with keyboard focus but with many other things. Workaround: disable window shadows in ccsm

Omer Akram (om26er) wrote :

bug 755044 could be related. the workspace switching is part of compiz so moving to compiz.

affects: unity (Ubuntu) → compiz (Ubuntu)
Changed in compiz (Ubuntu):
status: Incomplete → New
Changed in unity:
status: Incomplete → New
status: New → Incomplete
Paulo J. S. Silva (pjssilva) wrote :

Levu: how can I turn off the shadows in ccsm? I only found an option to turn off window decorations completely! I tried to set the "Shadow window options" to !any but I did not notice any visual difference.

Omer: it may or may not be a bug in compiz. I tried to reproduce it in classic mode and couldn't do it. Classic mode also uses compiz, doesn't it?

Changed in unity (Ubuntu):
status: New → Incomplete
Changed in compiz (Ubuntu):
status: New → Confirmed
James Haigh (james.r.haigh) wrote :

(Corrected mistake mentioned in comment #1.)

description: updated
James Haigh (james.r.haigh) wrote :

See the test case in bug #755044 for an example of an active window not being on the current workspace.

It is easily reproducible so marking confirmed.

summary: - Keyboard focus don't always follows worspace change
+ Focused window doesn't have to be on current workspace
Changed in unity:
status: Incomplete → Confirmed
Changed in unity (Ubuntu):
status: Incomplete → Confirmed

Thank you for reporting this bug to Ubuntu. 11.04 reached EOL.
See this document for currently supported Ubuntu releases: https://wiki.ubuntu.com/Releases

Please upgrade to the latest version and re-test. If the bug is still reproducible, increase the verbosity of the steps to recreate it so we can try again.

Do feel free to report any other bugs you may find.

Changed in unity:
status: Confirmed → Incomplete
Changed in compiz (Ubuntu):
status: Confirmed → Incomplete
Changed in unity (Ubuntu):
status: Confirmed → Incomplete
Launchpad Janitor (janitor) wrote :

[Expired for Unity because there has been no activity for 60 days.]

Changed in unity:
status: Incomplete → Expired
Launchpad Janitor (janitor) wrote :

[Expired for unity (Ubuntu) because there has been no activity for 60 days.]

Changed in unity (Ubuntu):
status: Incomplete → Expired
Launchpad Janitor (janitor) wrote :

[Expired for compiz (Ubuntu) because there has been no activity for 60 days.]

Changed in compiz (Ubuntu):
status: Incomplete → Expired
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers