Reloading shell with Alt-F2 r loses all workspaces but first 2

Bug #1067933 reported by Brandon Snider
20
This bug affects 3 people
Affects Status Importance Assigned to Milestone
Mutter
Fix Released
Medium
mutter (Ubuntu)
Fix Released
Undecided
Unassigned
Quantal
Fix Released
Medium
Unassigned

Bug Description

[Impact]

* Reloading gnome-shell causes gnome-shell to forget what windows are on which workspaces except for the first 2 workspaces.

[Test Case]

* In GNOME Shell, open 3 apps.
* Open the Activities Overview. Drag each window to the right to a different workspace so that there are 3 workspaces (and a 4th empty workspace).
* Type Alt+F2 to open the run dialog and enter 'r' to reload GNOME Shell.
* The 3 apps should remain on the workspaces that you placed them.

[Regression Potential]
* Virtually none. The patch only affects dynamic workspaces and simply loads the workspace count in use or if there aren't any (like at fresh startup), just loads one workspace.

Original bug report
===================
Reloading shell loses workspaces. Already reported and fixed upstream. Attaching patch by Florian Müllner.

http://git.gnome.org/browse/mutter/commit/?id=2717a02a8d5da27364ad7a345944a407d0e6f2bd

ProblemType: Bug
DistroRelease: Ubuntu 12.10
Package: mutter 3.6.1-0ubuntu1
ProcVersionSignature: Ubuntu 3.5.0-17.28-generic 3.5.5
Uname: Linux 3.5.0-17-generic x86_64
ApportVersion: 2.6.1-0ubuntu3
Architecture: amd64
Date: Wed Oct 17 19:41:55 2012
InstallationMedia: Ubuntu 12.04 LTS "Precise Pangolin" - Release amd64 (20120425)
SourcePackage: mutter
UpgradeStatus: Upgraded to quantal on 2012-09-28 (19 days ago)

Revision history for this message
Brandon Snider (brandonsnider) wrote :
Revision history for this message
Brandon Snider (brandonsnider) wrote :

attached debdiff

Revision history for this message
Brandon Snider (brandonsnider) wrote :

revised debdiff with quantal-proposed as release pocket.

Revision history for this message
Ubuntu Foundations Team Bug Bot (crichton) wrote :

The attachment "debdiff" of this bug report has been identified as being a patch in the form of a debdiff. The ubuntu-sponsors team has been subscribed to the bug report so that they can review and hopefully sponsor the debdiff. In the event that this is in fact not a patch you can resolve this situation by removing the tag 'patch' from the bug report and editing the attachment so that it is not flagged as a patch. Additionally, if you are member of the ubuntu-sponsors team please also unsubscribe the team from this bug report.

[This is an automated message performed by a Launchpad user owned by Brian Murray. Please contact him regarding any issues with the action taken in this bug report.]

tags: added: patch
Changed in mutter:
importance: Unknown → Medium
status: Unknown → Fix Released
Revision history for this message
Michael Terry (mterry) wrote :

I uploaded this to raring-proposed.

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

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

Changed in mutter (Ubuntu):
status: New → Confirmed
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package mutter - 3.6.1-1ubuntu2

---------------
mutter (3.6.1-1ubuntu2) raring; urgency=low

  * Added 05_ignore_num_workspaces.patch (LP: #1067933)
 -- Brandon Snider <email address hidden> Wed, 17 Oct 2012 20:23:11 -0400

Changed in mutter (Ubuntu):
status: Confirmed → Fix Released
Revision history for this message
Micah Gersten (micahg) wrote :

Taking a look for quantal

Changed in mutter (Ubuntu Quantal):
assignee: nobody → Micah Gersten (micahg)
status: New → In Progress
Revision history for this message
Micah Gersten (micahg) wrote :

Uploaded to quantal-proposed, changed version to 3.6.1-0ubuntu1.1 to make it clear it's an SRU

Changed in mutter (Ubuntu Quantal):
assignee: Micah Gersten (micahg) → nobody
status: In Progress → Fix Committed
importance: Undecided → Medium
Revision history for this message
Micah Gersten (micahg) wrote :

Oh, this actually needs the SRU paperwork before it can be accepted into quantal-proposed, see step 2: https://wiki.ubuntu.com/StableReleaseUpdates#Procedure

Jeremy Bícha (jbicha)
description: updated
Revision history for this message
Adam Conrad (adconrad) wrote : Please test proposed package

Hello Brandon, or anyone else affected,

Accepted mutter into quantal-proposed. The package will build now and be available at http://launchpad.net/ubuntu/+source/mutter/3.6.2-0ubuntu0.1 in a few hours, and then in the -proposed repository.

Please help us by testing this new package. See https://wiki.ubuntu.com/Testing/EnableProposed for documentation how to enable and use -proposed. Your feedback will aid us getting this update out to other Ubuntu users.

If this package fixes the bug for you, please change the bug tag from verification-needed to verification-done. If it does not, change the tag to verification-failed. In either case, details of your testing will help us make a better decision.

Further information regarding the verification process can be found at https://wiki.ubuntu.com/QATeam/PerformingSRUVerification . Thank you in advance!

tags: added: verification-needed
Revision history for this message
Jeremy Nickurak (nickurak) wrote :

This appears to be working for me in quantal-proposed, gnome-shell 3.6.2-0ubuntu0.2

tags: added: verification-done
removed: verification-needed
Revision history for this message
Scott Kitterman (kitterman) wrote : Update Released

The verification of this Stable Release Update has completed successfully and the package has now been released to -updates. Subsequently, the Ubuntu Stable Release Updates Team is being unsubscribed and will not receive messages about this bug report. In the event that you encounter a regression using the package from -updates please report a new bug using ubuntu-bug and tag the bug report regression-update so we can easily find any regresssions.

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

This bug was fixed in the package mutter - 3.6.2-0ubuntu0.1

---------------
mutter (3.6.2-0ubuntu0.1) quantal-proposed; urgency=low

  [ Jeremy Bicha ]
  * New upstream bugfix release (LP: #1078155)
    - Only process keyboard mapping events for the core X keyboard
  * debian/mutter-common.install:
    - Install missing keybindings settings

  [ Brandon Snider ]
  * Added 05_ignore_num_workspaces.patch
    - Fixes gnome-shell forgetting how many workspaces are in use
      when gnome-shell is reloaded (LP: #1067933)
 -- Jeremy Bicha <email address hidden> Mon, 12 Nov 2012 22:14:55 -0500

Changed in mutter (Ubuntu Quantal):
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

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