[PATCH] Decorate the main window when run from outside of the install media.

David Shea dshea at redhat.com
Tue Jul 8 21:11:22 UTC 2014


On 07/08/2014 05:03 PM, David Shea wrote:
> This means that live/image/dir installs won't get the full screen
> anaconda effect, but it also means that when someone unmaximizes the
> window during a live/image/dir install that they can still do something
> useful with that window.
>

A couple alternatives I investigated, so you don't have to:

- Changing the value of set_decorated on maximize/unmaximize events 
doesn't really work. The docs say that you shouldn't call this method 
after show, and apparently that means that it doesn't work about 50% of 
the time
- hide-titlebar-when-maximized: this would have been pretty great, 
except 1) not supported in metacity, and 2) no longer supported in 
GNOME. Basically Gtk tried this property for gnome-shell, decided they 
didn't like it, and the new hotness is those GtkHeaderBar things that no 
one particularly likes (see: 
http://blogs.gnome.org/mclasen/2014/01/13/client-side-decorations-continued/). 
So I wouldn't count on this property sticking around in any meaningful way.

I'm not terribly pleased about this approach, so if someone else has 
another idea, chime in. (maybe fullscreen would work better? how well 
does it work across window managers?) One problem I have with decorating 
the windows is that it makes the lightbox look kind of crummy, because 
the lightbox doesn't cover the title bar.


More information about the anaconda-patches mailing list