apps started fullscreen in unity can never unfullscreen

Bug #765422 reported by Akkana Peck
72
This bug affects 12 people
Affects Status Importance Assigned to Milestone
Unity
Fix Released
Medium
Sam Spilsbury
compiz-plugins-main (Ubuntu)
Fix Released
Medium
Unassigned
Natty
Fix Released
Undecided
Unassigned
unity (Ubuntu)
Fix Released
Undecided
Unassigned
Natty
Fix Released
Undecided
Unassigned

Bug Description

Test case:
install compiz-plugins-main 1:0.9.4+bzr20110527-0ubuntu1 in natty-proposed

                1) Compile and run the program attached in the bug report
                2) Click the toggle fullscreen button and it should unfullscreen
                3) Check if the fullscreened window appears in alt-tab (it should)

If you run an application under Unity that starts as fullscreen, you're stuck in fullscreen mode forever. The app can call gtk_window_unfullscreen() but it doesn't do any good -- unity on natty beta ignores it.

I'm attaching a simple C GTK test program that demonstrates the problem. Compile it as specified in the comment at the beginning, then run it with no arguments. It starts up in fullscreen mode. When you click "toggle fullscreen", it calls gtk_window_unfullscreen(). That works in gnome 2 on lucid and gnome 3 on natty, as well as several other window managers, but in unity the unfullscreen() does nothing.

You can also run the program with an argument of 0 if you want to test it starting up in normal non-fullscreen mode, then toggling into fullscreen, to see the difference in behavior.

Revision history for this message
Akkana Peck (akkzilla) wrote :
Revision history for this message
Jan Claeys (janc) wrote :

Same bug happens with compiz + classic ubuntu (on natty), so this looks like a compiz bug...

Changed in unity (Ubuntu):
status: New → Confirmed
Revision history for this message
Akkana Peck (akkzilla) wrote :

Changing package to compiz. This bug also occurs under Gnome2 Classic under natty -- but not under the earlier gnome2 under lucid. Some folks I talked to suggested this was more likely a regression in natty's version of compiz, and not specific to unity.

affects: unity (Ubuntu) → compiz (Ubuntu)
Changed in compiz (Ubuntu):
status: Confirmed → New
Revision history for this message
Didier Roche-Tolomelli (didrocks) wrote :

16:39:12 JanC | I tested that test case in a unity session, in a classic session with compiz, and in a classic session with metacity, and it failed in both cases with compiz, but not with metacity

Changed in unity:
status: New → Triaged
Changed in compiz (Ubuntu):
status: New → Triaged
Changed in unity:
importance: Undecided → Medium
Changed in compiz (Ubuntu):
importance: Undecided → Medium
Changed in unity:
assignee: nobody → Sam "SmSpillaz" Spilsbury (smspillaz)
milestone: none → 3.8.14
Changed in unity (Ubuntu):
status: New → Triaged
Changed in unity:
status: Triaged → Fix Committed
Changed in compiz (Ubuntu):
status: Triaged → Fix Committed
Changed in unity (Ubuntu):
status: Triaged → Fix Committed
affects: compiz (Ubuntu) → compiz-plugins-main (Ubuntu)
Changed in unity (Ubuntu Natty):
status: New → Fix Released
Changed in unity (Ubuntu):
status: Fix Committed → Fix Released
David Barth (dbarth)
Changed in unity:
milestone: 3.8.14 → 3.8.16
description: updated
Changed in unity:
status: Fix Committed → Fix Released
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package compiz-plugins-main - 0.9.4+bzr20110527-0ubuntu1

---------------
compiz-plugins-main (0.9.4+bzr20110527-0ubuntu1) oneiric; urgency=low

  * New bug fix release:
    - apps started fullscreen in unity can never unfullscreen (LP: #765422)
  * debian/patches/00_bzr_fix_centered_expo.patch:
    - removed, applied upstream
 -- Didier Roche <email address hidden> Mon, 06 Jun 2011 16:19:03 +0200

Changed in compiz-plugins-main (Ubuntu):
status: Fix Committed → Fix Released
Revision history for this message
Martin Pitt (pitti) wrote : Please test proposed package

Accepted compiz-plugins-main into natty-proposed, the package will build now and be available in a few hours. Please test and give feedback here. See https://wiki.ubuntu.com/Testing/EnableProposed for documentation how to enable and use -proposed. Thank you in advance!

Changed in compiz-plugins-main (Ubuntu Natty):
status: New → Fix Committed
tags: added: verification-needed
Revision history for this message
Pedro Villavicencio (pedro) wrote :

I've used the test case to test this fix and it now behaves correctly, marking this as verification-done, thanks all.

tags: added: verification-done
removed: verification-needed
Revision history for this message
Yann Dìnendal (yannbreliere) wrote :

Indeed it works now. But when I launched Firefox after having closed it in fullscreen, the Firefox window was restored with it's title bar underneath unity's top panel. So it looked like a maximized window without window controls (close/minimize/maximize).

Revision history for this message
drink (martin-espinoza) wrote :

I am having the firefox problem also.

Revision history for this message
drink (martin-espinoza) wrote :

I am also having this problem with firefox on first launch after shutting down with it fullscreen. This is a regression for me, it happened very recently. In order to use firefox properly again I must unmaximize, quit, and relaunch firefox.

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

This bug was fixed in the package compiz-plugins-main - 0.9.4+bzr20110527-0ubuntu1~natty1

---------------
compiz-plugins-main (0.9.4+bzr20110527-0ubuntu1~natty1) natty-proposed; urgency=low

  * New bug fix release:
    - apps started fullscreen in unity can never unfullscreen (LP: #765422)
  * debian/patches/00_bzr_fix_centered_expo.patch:
    - removed, applied upstream
 -- Didier Roche <email address hidden> Wed, 01 Jun 2011 10:24:29 +0200

Changed in compiz-plugins-main (Ubuntu Natty):
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.