Is Midori supposed to lose its titlebar when maximized?

Asked by Arturo Torres Sánchez

Before filing a bug, I'd like to know if it's a bug or a feature. I'm running Midori 0.4.6 with Gala as window manager. When I maximize a Midori window, it loses its titlebar (and remains just a white line on the top). This happens only with Midori and no other maximized window, and only under Gala and not with Compiz.

Question information

Language:
English Edit question
Status:
Solved
For:
Midori Web Browser Edit question
Assignee:
No assignee Edit question
Solved by:
Arturo Torres Sánchez
Solved:
Last query:
Last reply:
Revision history for this message
Danielle Foré (danrabbit) said :
#1

That's definitely a bug. Midori has a Fullscreen mode in which that is intended functionality. But for regular maximize that shouldn't happen.

Revision history for this message
Arturo Torres Sánchez (r2d2.art2005) said :
#2

OK. I've reported the bug.

Revision history for this message
Cris Dywan (kalikiana) said :
#3

Midori uses gtk_window_set_hide_titlebar_when_maximized, the same as Epiphany. To quote the documentation:

 This is useful for windows that don't convey any information other
 than the application name in the titlebar, to put the available
 screen space to better use. If the underlying window system does not
 support the request, the setting will not have any effect.

In window manager terms, it sets _GTK_HIDE_TITLEBAR_WHEN_MAXIMIZED. So if the window manager ends up doing something that breaks the desktop environment, it's a bug in one of the two.