Window focus stays between workspaces

Bug #986699 reported by Mike Weinert
28
This bug affects 6 people
Affects Status Importance Assigned to Milestone
compiz (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

If you've got maximized window focused on one workspace, and move to another workspace, the focus stays on the window on the previous workspace.
I'm not entirely sure under which exact conditions it happens, as I am not always able to replicate it. It seems to affect windows that are maximized or in full-screen mode (switching from workspace with full-screen VLC, and pressing space pauses/unpauses the video). Also, terminal in full-screen mode seems to be prone to this bug.

Sorry if I can't be more helpful, maybe someone else affected can figure out how to replicate it.

ProblemType: Bug
DistroRelease: Ubuntu 12.04
Package: compiz 1:0.9.7.6-0ubuntu1
ProcVersionSignature: Ubuntu 3.2.0-23.36-generic 3.2.14
Uname: Linux 3.2.0-23-generic x86_64
.tmp.unity.support.test.0:

ApportVersion: 2.0.1-0ubuntu5
Architecture: amd64
CompizPlugins: [core,composite,opengl,compiztoolbox,decor,vpswitch,snap,mousepoll,resize,place,move,wall,grid,regex,imgpng,session,gnomecompat,animation,fade,unitymtgrabhandles,workarounds,scale,expo,ezoom,unityshell]
CompositorRunning: compiz
Date: Sun Apr 22 00:19:54 2012
DistUpgraded: Fresh install
DistroCodename: precise
DistroVariant: ubuntu
DkmsStatus:
 virtualbox, 4.1.12, 3.2.0-22-generic, x86_64: installed
 virtualbox, 4.1.12, 3.2.0-23-generic, x86_64: installed
GraphicsCard:
 NVIDIA Corporation G84 [GeForce 8600 GT] [10de:0402] (rev a1) (prog-if 00 [VGA controller])
   Subsystem: Giga-byte Technology Device [1458:3458]
InstallationMedia: Ubuntu 12.04 LTS "Precise Pangolin" - Beta amd64 (20120301)
MachineType: System manufacturer P5QL-E
PackageArchitecture: all
ProcEnviron:
 TERM=xterm
 PATH=(custom, no user)
 LANG=en_US.UTF-8
 SHELL=/bin/bash
ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-3.2.0-23-generic root=UUID=b94a8737-0c76-4c56-9158-bd2e39a3c037 ro quiet splash vt.handoff=7
SourcePackage: compiz
UpgradeStatus: No upgrade log present (probably fresh install)
dmi.bios.date: 09/11/2009
dmi.bios.vendor: American Megatrends Inc.
dmi.bios.version: 1104
dmi.board.asset.tag: To Be Filled By O.E.M.
dmi.board.name: P5QL-E
dmi.board.vendor: ASUSTeK Computer INC.
dmi.board.version: Rev 2.xx
dmi.chassis.asset.tag: Asset-1234567890
dmi.chassis.type: 3
dmi.chassis.vendor: Chassis Manufacture
dmi.chassis.version: Chassis Version
dmi.modalias: dmi:bvnAmericanMegatrendsInc.:bvr1104:bd09/11/2009:svnSystemmanufacturer:pnP5QL-E:pvrSystemVersion:rvnASUSTeKComputerINC.:rnP5QL-E:rvrRev2.xx:cvnChassisManufacture:ct3:cvrChassisVersion:
dmi.product.name: P5QL-E
dmi.product.version: System Version
dmi.sys.vendor: System manufacturer
version.compiz: compiz 1:0.9.7.6-0ubuntu1
version.ia32-libs: ia32-libs 20090808ubuntu35
version.libdrm2: libdrm2 2.4.32-1ubuntu1
version.libgl1-mesa-dri: libgl1-mesa-dri 8.0.2-0ubuntu3
version.libgl1-mesa-dri-experimental: libgl1-mesa-dri-experimental N/A
version.libgl1-mesa-glx: libgl1-mesa-glx 8.0.2-0ubuntu3
version.xserver-xorg-core: xserver-xorg-core 2:1.11.4-0ubuntu10
version.xserver-xorg-input-evdev: xserver-xorg-input-evdev 1:2.7.0-0ubuntu1
version.xserver-xorg-video-ati: xserver-xorg-video-ati 1:6.14.99~git20111219.aacbd629-0ubuntu2
version.xserver-xorg-video-intel: xserver-xorg-video-intel 2:2.17.0-1ubuntu4
version.xserver-xorg-video-nouveau: xserver-xorg-video-nouveau 1:0.0.16+git20111201+b5534a1-1build2

Revision history for this message
Mike Weinert (ironhalik) wrote :
Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in compiz (Ubuntu):
status: New → Confirmed
Revision history for this message
Filip Stanek (filip-stanek) wrote :

The bug definitively affects every maximized window.
How to reproduce the behaviour:
1) Create more workspaces (or in my case "viewports" in CCSM), e.g. in one row.
2) Switch to 2nd workspace/viewport.
3) Open any application (e. g. thunderbird, gnome-terminal, LibreOffice Write).
4) Maximize the window.
5) Switch/change to other workspace/viewport (3rd, 4th, ...). You can switch/change via any mean (e. g. applet, keyboard shortcut) the behaviour is the same.
In this moment, the maximized window moves automaticaly to the 1st workspace/viewport and stays there.

If you switch/change to the 1st workspace/viewport and you unmaximize the moved window, it will restore itself into the original workspace/viewport.

Revision history for this message
Juha Aatrokoski (jha-kurp) wrote :

I noticed a focus issue between workspace switches, but (at least for me, on precise and gnome-classic) it does not have anything to do with maximized/fullscreen: when switching to a workspace that has no focusable windows (i.e. empty), the focus is retained on the window and workspace switched from. When there are focusable windows the focus is transferred normally.

I made a separate bug report about maximized windows moving to the leftmost workspace: https://bugs.launchpad.net/ubuntu/+source/compiz/+bug/1000156

Revision history for this message
don bright (hmbright) wrote :

i am having this bug in 2015 on ubuntu 14.

i switch workspace to a space with several windows open, but focus stays in the windows in the old workspace.

this is a really big bug that could cause security issues, for example if you type your password into a public forum instead of into a firefox password field.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.