Window management - Closing one window sends others to the background

Bug #888704 reported by Luke Hoersten
140
This bug affects 25 people
Affects Status Importance Assigned to Milestone
Ayatana Design
Fix Released
Critical
John Lea
Compiz Core
Fix Released
High
Sam Spilsbury
One Hundred Papercuts
Fix Released
Low
Unassigned
Unity Distro Priority
Fix Released
High
Unassigned
compiz (Ubuntu)
Fix Released
High
Sam Spilsbury

Bug Description

Similar to this bug which was fixed in Ubuntu 10.11, Ubuntu 11.10 has this bug again:
https://bugs.launchpad.net/ubuntu/+source/compiz/+bug/671459

After updating to 11.10, if I have a few non-fullscreen windows on top of a fullscreen window, if I close one of the non-fullscreen windows, the other non-fullscreen windows are pushed behind the fullscreen window in the focus stack.

Related AskUbuntu question:
http://askubuntu.com/questions/69920/closing-one-window-sends-others-to-the-background

-----------------------------
To Reproduce:
- go to an empty workspace
- run one instance of an application maximized and two instances of another ones (i.e nautilus)
- give focus to the first one
- use the unity launcher or alt-tab to go to the other application, the two instances are raised
- close one

What happens:
- the second instance of the application focussed goes to the background

What should happen:
- things should stay stacked as there were

Related branches

Revision history for this message
Luke Hoersten (lukehoersten) 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
Sebastien Bacher (seb128) wrote :

Confirmed on Oneirc:
- go to an empty workspace
- run one instance of an application and two instances of another ones (i.e nautilus)
- give focus to the first one
- use the unity launcher or alt-tab to go to the other application, the two instances are raised
- close one

What happens:
- the second instance of the application focussed goes to the background

What should happen:
- things should stay stacked as there were

Changed in compiz (Ubuntu):
importance: Undecided → High
Changed in unity-distro-priority:
status: New → Fix Committed
John Lea (johnlea)
description: updated
tags: added: udp
Changed in ayatana-design:
assignee: nobody → John Lea (johnlea)
importance: Undecided → Critical
status: New → Triaged
Revision history for this message
Luke Hoersten (lukehoersten) wrote :

What version will this fix be released in? I'd like to know if I have the fix.

Ahmed Shams (ashams)
Changed in hundredpapercuts:
importance: Undecided → Low
status: New → Confirmed
Changed in compiz (Ubuntu):
assignee: nobody → Jason Smith (jassmith)
Changed in unity:
status: New → Triaged
importance: Undecided → High
assignee: nobody → Jason Smith (jassmith)
milestone: none → 5.2.0
Revision history for this message
Launchpad Janitor (janitor) wrote :

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

Changed in unity (Ubuntu):
status: New → Confirmed
Revision history for this message
Tim Penhey (thumper) wrote :

It is only when raised by the launcher. Alt-tab only brings one to the front.

Changed in ayatana-design:
status: Triaged → Fix Committed
Changed in unity (Ubuntu):
status: Confirmed → Triaged
Changed in unity-distro-priority:
importance: Undecided → High
Tim Penhey (thumper)
Changed in unity:
milestone: 5.2.0 → 5.4.0
John Lea (johnlea)
summary: - Closing one window sends others to the background
+ Window management - Closing one window sends others to the background
Revision history for this message
Tim Penhey (thumper) wrote :

There are a bucket-load of window management bugs that will need to be tackled together. This is going to miss 5.4. Sorry.

Changed in unity:
milestone: 5.4.0 → 5.6.0
Andrea Cimitan (cimi)
tags: added: top5p
Tim Penhey (thumper)
tags: added: distro-priority
John Lea (johnlea)
Changed in ayatana-design:
importance: Critical → High
John Lea (johnlea)
Changed in ayatana-design:
importance: High → Critical
Changed in compiz (Ubuntu):
assignee: Jason Smith (jassmith) → Sam Spilsbury (smspillaz)
Changed in unity:
assignee: Jason Smith (jassmith) → Sam Spilsbury (smspillaz)
Changed in unity:
milestone: 5.6.0 → 5.8.0
tags: added: rls-p-tracking
Changed in unity:
milestone: 5.8.0 → 5.10.0
Revision history for this message
Luke Hoersten (lukehoersten) wrote :

This is still broken in Precise 12.04. Has the fix actually been released yet?

Omer Akram (om26er)
Changed in unity (Ubuntu):
importance: Undecided → High
affects: unity → compiz-core
Changed in compiz-core:
milestone: 5.10.0 → none
status: Triaged → In Progress
milestone: none → 0.9.7.4
Revision history for this message
Daniel van Vugt (vanvugt) wrote :

Fix committed into lp:compiz-core at revision 3076

Changed in compiz-core:
status: In Progress → Fix Committed
no longer affects: unity (Ubuntu)
Changed in compiz (Ubuntu):
status: Confirmed → Fix Committed
Revision history for this message
Daniel van Vugt (vanvugt) wrote :

Fix released in Compiz Core 0.9.7.4

Changed in compiz-core:
status: Fix Committed → Fix Released
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package compiz - 1:0.9.7.4-0ubuntu1

---------------
compiz (1:0.9.7.4-0ubuntu1) precise; urgency=low

  * New upstream release
    - compiz crashed with SIGSEGV in CompositeScreen::compositingActive()
    - Window management - Closing one window sends others to the
      background (LP: #888704)
    - [regression] Invisible resize border is now only 1px wide (LP: #953839)
    - Coverity REVERSE_INULL - CID 10888 (LP: #957572)
    - Unity dash opens and immediately closes if you tap Super+A
      quickly (LP: #960831)
    - Unity 5.8: Flickering and corruption on Unity UI elements (LP: #963093)
    - Unity 5.8: Can't login to Unity since upgrade to 5.8 (LP: #963465)
    - [regression] Unity 5.8+Compiz 0.9.7.2: Pressing Super+Tab or
      Super+W works, but unity does not respond to when Super is
      released. (LP: #963470)
    - Unity 5.8: Login to blank screen (all black or just wallpaper)
      (LP: #963633)
    - Tests do not build when libgtest-dev is installed but libgtest
      isn't (LP: #964248)
    - Note that this fix is REMOVED for stability reasons:
       Unity/compiz intercepts Super and Alt keypresses from grabbed
       windows like VMs. (806255)
  * debian/patches/ubuntu-config.patch:
    - tweak slightly the shadow border for both active/inactive windows.
    - change the shortcuts as per design request: (LP: #969235)
      Ctrl + Super + D Minimises all windows
      Ctrl + Super + Cursor up Maximises the current window
      Ctrl + Super + Cursor down Restores or minimises current window
  * debian/rules, debian/compiz-gnome.gconf-defaults:
    - move the default for the unity-less default profile from DEFAULT_PLUGINS
      list as it seems compiz tries to load that list, then ccp, then the
      profile list.
    - put the active_plugins list back to the Default profile in gconf then.
  * debian/control:
    - set Standards-Version to latest
  * remove debian/patches/always_replace.patch,
    debian/patches/exit_1_if_composite_cant_init.patch,
    debian/patches/reset_active_plugin_list.patch,
    debian/reset-compiz-gconf, debian/compiz-gnome.install:
    - the 3 bad hacks are now not necessary anymore (LP: #963264)
  * remove as now in upstream tarball:
    - debian/patches/fix_953839.patch
    - debian/patches/revert_lim.patch
    - debian/patches/fix_953089_2.patch
    - debian/patches/fix_960831.patch
 -- Didier Roche <email address hidden> Tue, 03 Apr 2012 15:43:16 +0200

Changed in compiz (Ubuntu):
status: Fix Committed → Fix Released
Tim Penhey (thumper)
Changed in ayatana-design:
status: Fix Committed → Fix Released
Changed in hundredpapercuts:
status: Confirmed → Fix Released
Changed in unity-distro-priority:
status: Fix Committed → Fix Released
John Lea (johnlea)
Changed in ayatana-design:
status: Fix Released → Fix Committed
Nick Tait (jnick-tait)
tags: added: reviewedbydesignp
removed: udp
Changed in ayatana-design:
status: Fix Committed → Fix Released
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.