Using full-screen from the “Extra WM Actions” plugin doesn't get remembered by applications

Bug #164893 reported by Bogdan Butnaru
6
Affects Status Importance Assigned to Milestone
compiz (Ubuntu)
Expired
Low
Unassigned

Bug Description

Using full-screen from the “Extra WM Actions” plugin doesn't get remembered by applications

To reproduce:
1) Open Geany;
2) Move and resize the window to some easily-identifiable configuration (say, left/bottom quarter of the screen);
3) Close Geany;
4) Start Geany again; notice it remembered its position.
5) Make Geany full-screen (F11 on my Compiz configuration).
6) Close Geany;
7) Start Geany again; notice how it's maximized rather than full-screen. I expect it to be full-screen.

Repeating the same test using View->Fullscreen has it restart in fullscreen.

The above should work the same with a Nautilus window, provided it's always the same folder, or with Firefox. It won't work at all with the Gnome terminal (start+T on my config).

Revision history for this message
Leann Ogasawara (leannogasawara) wrote :

Hi,

I'm able to confirm this issue still exists in Hardy Alpha. I was testing with a firefox window, viewing at full screen, and then closing. After reopening firefox, the window is only maximized, not full screen. However, I noticed this issue existed with and without running compiz (version 1:0.7.0-0ubuntu1).

Changed in compiz:
importance: Undecided → Low
status: New → Confirmed
Revision history for this message
Leann Ogasawara (leannogasawara) wrote :

Hi,

I just chatted with the Ubuntu gnome bug maintainer. This is an application specific issue. Can you please reopen this report against the application you were experiencing this issue with. Thanks.

Changed in compiz:
status: Confirmed → Invalid
Revision history for this message
Bogdan Butnaru (bogdanb) wrote :

I'm not sure I agree. This is not about Firefox's full-screen mode, is about the one given by Compiz. AFAIK applications can't even know they were set to fullscreen, it's just a resize operation for them.*

The same thing happens with such disparate applications as gedit, amarok, exaile, and openofice.

Note that it doesn't happen with Nautilus or gmusicbrowser, though.

(For example, Firefox changes the layout of its toolbars when its own full-screen mode is activated. This doesn't happen when I tell Compiz to put it in full-screen mode, which means that for Firefox it's just a resize operation.)

Revision history for this message
Bogdan Butnaru (bogdanb) wrote :

I'm re-opening it just to get an opinion on my last comment. If you still think it's not Compiz related I'll just go away... ;)

Changed in compiz:
status: Invalid → Incomplete
Revision history for this message
Travis Watkins (amaranth) wrote :

Actually, no. The window tells the WM to treat it as a fullscreen window by setting a certain window hint. It's not just a resize operation (well, for some apps it is but those apps are broken and the workarounds plugin 'fixes' them).

Revision history for this message
Bogdan Butnaru (bogdanb) wrote :

How can it be the window to initiate the operation, if I'm doing it using a Compiz plugin?

I just re-read my previous posts, and I think perhaps I wasn't clear enough. I'm not talking about the full-screen mode that application like Firefox, Evince and the Gnome terminal have. I'm talking about the full-screen option given by the “Extra WM Actions” plug-in, which applies to every (re-sizable) window, even those that don't have a full-screen option.

I'm certain that the two are independent. When Firefox's or Evince's own full-screen mode is activated, the contents (eg, toolbars) change, too. When I use Compiz's plug-in to do that, this doesn't happen. So I'm sure the application doesn't notice it.

Changed in compiz:
importance: Low → Wishlist
status: Incomplete → Confirmed
Revision history for this message
Robert Ancell (robert-ancell) wrote :

If you're requesting compiz to remember window locations then that is bug 159382. You then comment about an issue using a fullscreen option from "Extra WM Actions". Is that still occuring in Ubuntu 9.04?

Changed in compiz (Ubuntu):
status: Confirmed → Incomplete
Revision history for this message
Bogdan Butnaru (bogdanb) wrote :

Hi Robert! I don't know if bug #159382 applies. Firstly, I don't know how to tell Gompiz to remember window locations. Secondly, some windows that are not full-screen seem to be opened in the same position they last had (e.g., Nautilus and Geany), others seem to be wildly distributed around the screen (e.g., gnome-terminal). I suspect Nautilus remembers its own positions (since it does it per folder), while others are handled by the “Place Windows” plugin.

However, for full-screen windows (made full-screen via Compiz's “Extra WM Actions” plugin), this doesn't seem to be remembered. For instance, if I close a Nautilus folder or Geany window in full-screen mode, it will open in maximized mode; gnome-terminal, however, always starts in the same size (I suppose it requests it) and placed in an empty spot on my screen. I don't have much of a problem with the terminal, but the others going from full-screen to maximized are annoying.

(In fact, I'd like to completely replace maximize with full-screen mode.)

I'm attaching my current Compiz configuration (exported from ccsm), in case it helps. Try the following to reproduce (using my Compiz config):

1) Open Geany;
2) Move and resize the window to some easily-identifiable configuration (say, left/bottom quarter of the screen);
3) Close Geany;
4) Start Geany again; notice it remembered its position.
5) Make Geany full-screen (F11 on my Compiz configuration).
6) Close Geany;
7) Start Geany again; notice how it's maximized rather than full-screen. I expect it to be full-screen.

The above should work the same with a Nautilus window, provided it's always the same folder, or with Firefox. It won't work at all with the Gnome terminal (start+T on my config).

Revision history for this message
Robert Ancell (robert-ancell) wrote :

I've updated this bug with the information you have provided. Bug 159382 is the correct place for discussion regarding Compiz automatically remembering window locations.

description: updated
summary: - Compiz misrembers full-screen status of closed applications
+ Using full-screen from the “Extra WM Actions” plugin doesn't get
+ remembered by applications
Changed in compiz (Ubuntu):
importance: Wishlist → Low
status: Incomplete → Triaged
Revision history for this message
jhfhlkjlj (fdsuufijjejejejej-deactivatedaccount) wrote :

Thank you for taking the time to report this bug and helping to make Ubuntu better. We are sorry that we do not always have the capacity to look at all reported bugs in a timely manner. There have been many changes in Ubuntu since that time you reported the bug and your problem may have been fixed with some of the updates. It would help us a lot if you could test it on a currently supported Ubuntu version. When you test it and it is still an issue, kindly upload the updated logs by running apport-collect <bug #> and any other logs that are relevant for this particular issue.

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

[Expired for compiz (Ubuntu) because there has been no activity for 60 days.]

Changed in compiz (Ubuntu):
status: Incomplete → Expired
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.