After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 666355 - app: Request to hide titlebar when maximized
app: Request to hide titlebar when maximized
Status: RESOLVED FIXED
Product: gnome-boxes
Classification: Applications
Component: general
unspecified
Other All
: Normal normal
: --
Assigned To: GNOME Boxes maintainer(s)
GNOME Boxes maintainer(s)
Depends on: 666354
Blocks:
 
 
Reported: 2011-12-16 11:37 UTC by Florian Müllner
Modified: 2016-03-31 13:56 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
app: Request to hide titlebar when maximized (2.76 KB, patch)
2011-12-16 11:37 UTC, Florian Müllner
committed Details | Review

Description Florian Müllner 2011-12-16 11:37:06 UTC
See patch.
Comment 1 Florian Müllner 2011-12-16 11:37:08 UTC
Created attachment 203653 [details] [review]
app: Request to hide titlebar when maximized

Applications which are designed accordingly can request to have
their titlebar hidden when maximized[0]. Boxes definitively
qualifies, so set the corresponding property on the main window.

[0] https://live.gnome.org/GnomeOS/Design/Whiteboards/WindowStates
Comment 2 Marc-Andre Lureau 2012-01-03 13:08:09 UTC
ack (btw, the vapi/upstream files modifications should be submitted to vala as well, but someone else took care of it)

Is it planned to support double-click to unmaximize or should we handle it in the app?
Comment 3 Marc-Andre Lureau 2012-01-03 13:08:37 UTC
Review of attachment 203653 [details] [review]:

ack
Comment 4 Marc-Andre Lureau 2012-01-04 17:48:10 UTC
Attachment 203653 [details] pushed as 9873520 - app: Request to hide titlebar when maximized
Comment 5 Florian Müllner 2012-01-04 22:55:59 UTC
(In reply to comment #2)
> Is it planned to support double-click to unmaximize  [...] ?

It is not as far as I know, but with Metacity/Mutter having moved to GSettings, it should be feasible to implement that behavior. Some random thoughts:

 - using unused space in menu- and toolbars to drag a window is 
   implemented by the Adwaita theme engine (in gnome-themes-standard);
   if we want to implement double-clicks in those areas as well, this
   is where the code should live IMO

 - "double-click to unmaximize" is actually not quite correct - unmaximize
   is just the default value for the "action-double-click-titlebar" setting;
   all UI to change the preference has been removed, but an implementation
   for menubars/toolbars should still follow that setting

 - having gnome-themes-standard depend on gsettings-desktop-schemas should
   be fine, but I think there are efforts to drop the Adwaita theme engine
   (i.e. make the default GTK+ CSS engine powerful enough to handle the
    Adwaita theme) - in that case, gtk itself would depend on g-d-s, which
   sounds more problematic to me