Unity is not restored on unity/compiz crash: compiz doesn't register properly with gnome-session

Bug #716462 reported by Marco Trevisan (Treviño)
28
This bug affects 4 people
Affects Status Importance Assigned to Milestone
Unity
Fix Released
High
Rob Taylor
compiz (Ubuntu)
Fix Released
High
Rob Taylor
unity (Ubuntu)
Fix Released
High
Unassigned

Bug Description

If unity or compiz crashes during a session, nothing is restored and since there's no way to get focus to an application (terminal) there's no way to restore it.

I guess it should restart and, if not possible, run in fallback mode (gnome/unity-2d).

Revision history for this message
David Barth (dbarth) wrote :

I think the fallback mode should be triggered automatically yes. I'd like to see that with Platform however

Changed in unity:
status: New → Triaged
Alex Launi (alexlauni)
Changed in unity (Ubuntu):
status: New → Confirmed
Revision history for this message
Didier Roche-Tolomelli (didrocks) wrote :

It will be restored if Compiz is registering properly with the session.
This doesn't address the run/crash/run/crash though, just for "unexpected crash". We can maybe work something out for the former case after feature freeze.

Changed in unity (Ubuntu):
status: Confirmed → Triaged
affects: unity (Ubuntu) → compiz (Ubuntu)
summary: - Unity is not restored on unity/compiz crash
+ Unity is not restored on unity/compiz crash: compiz doesn't register
+ properly with gnom-session
summary: Unity is not restored on unity/compiz crash: compiz doesn't register
- properly with gnom-session
+ properly with gnome-session
Changed in compiz (Ubuntu):
assignee: nobody → Sam "SmSpillaz" Spilsbury (smspillaz)
Revision history for this message
Didier Roche-Tolomelli (didrocks) wrote :

(subscribing sam for now, but maybe one the platform guy can have a look)

Changed in compiz (Ubuntu):
importance: Undecided → Medium
Changed in unity:
importance: Undecided → Medium
Changed in unity (Ubuntu):
status: New → Triaged
David Barth (dbarth)
tags: added: compiz-0.9 unity
tags: added: dids-top-ten
Paul Sladen (sladen)
tags: added: watchdog
Revision history for this message
Didier Roche-Tolomelli (didrocks) wrote :

bumping the priority as it's required now in case of compiz crash

Changed in compiz (Ubuntu):
importance: Medium → High
Changed in unity:
importance: Medium → High
Changed in unity (Ubuntu):
importance: Undecided → High
David Barth (dbarth)
Changed in compiz (Ubuntu):
assignee: Sam "SmSpillaz" Spilsbury (smspillaz) → Rob Taylor (robtaylor)
Revision history for this message
Ian Higginson (xeriouxi) wrote :

I created a launcher on the desktop with the 'compiz --reset' command to save me having to restart X. It'll save you losing anything you have open if/when this happens to you. Hope this is of some help until this bug is fixed!

David Barth (dbarth)
Changed in unity:
assignee: nobody → Rob Taylor (robtaylor)
milestone: none → 3.6.8
Revision history for this message
Launchpad Janitor (janitor) wrote :

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

---------------
compiz (1:0.9.4git20110322-0ubuntu1) natty; urgency=low

  * New upstream bug fix snapshot:
    - Application windows can sometimes fail to display and will
      mask regions of the screen (LP: #709461)
    - Compiz switcher Alt-Tab order is not predictable - should
      maintain LIFO ordering in application switcher (LP: #175874)
    - after compiz crashed, gnome-panel isn't mapped again (LP: #711378)
    - invisible windows border problem (LP: #710271)
    - Compiz thinks you are clicking in an edge window when you
      are not (LP: #734250)
    - Add test case for invisible window regressions (LP: #736876)
    - often can't alt-click-dnd to move the focussed dialog (LP: #711911)
    - When windows open for the first time they should not hide (LP: #723878)
    - Unity Grid is broken for multi-monitor setups (LP: #709221)
    - Pixmaps trashed during animations when window is unmapped (LP: #733331)
    - Windows have blank decorations when rapidly closing and
      reopening (LP: #733328)
    - Unity is not restored on unity/compiz crash: compiz doesn't register
      properly with gnome-session (LP: #716462)
  * remove the patch taken from upstream
  * refresh u-w-d patch with latest upstream work
  * debian/compiz-core.install:
    - image move to the final destination
  * debian/patches/100_bump_core.h.patch:
    - bump for ABI breakage
  * debian/compiz-decorator:
    - use gtk-window-decorator and not unity-window-decorator as it's really
      crashy for now (will probably redo an upload tomorrow with a fixed
      decorator)
 -- Didier Roche <email address hidden> Tue, 22 Mar 2011 21:45:34 +0100

Changed in compiz (Ubuntu):
status: Triaged → Fix Released
Changed in unity (Ubuntu):
status: Triaged → Fix Released
Changed in unity:
status: Triaged → Fix Released
Revision history for this message
Didier Roche-Tolomelli (didrocks) wrote :

Sam told he tested it with the make dist. I can't reproduce and make it works:

1. Start a session with the new compiz
2. killall compiz
-> not autorespawn.

Changed in unity:
status: Fix Released → Triaged
Changed in compiz (Ubuntu):
status: Fix Released → Triaged
Changed in unity (Ubuntu):
status: Fix Released → Triaged
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package compiz - 1:0.9.4git20110322-0ubuntu4

---------------
compiz (1:0.9.4git20110322-0ubuntu4) natty; urgency=low

  * 080_fix_session_handling.patch:
    - fix respawn on crash (LP: #716462)
 -- Didier Roche <email address hidden> Wed, 23 Mar 2011 23:38:35 +0100

Changed in compiz (Ubuntu):
status: Triaged → Fix Released
Changed in unity:
status: Triaged → Fix Released
Changed in unity (Ubuntu):
status: Triaged → 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.