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 696254 - Hide title bar when tiling and maximising, like Files and Web
Hide title bar when tiling and maximising, like Files and Web
Status: RESOLVED FIXED
Product: evince
Classification: Core
Component: general
3.7.x
Other Linux
: Normal enhancement
: ---
Assigned To: Evince Maintainers
Evince Maintainers
: 697172 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2013-03-21 09:14 UTC by adria.arrufat
Modified: 2013-12-18 15:20 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Hide titlebar patch (936 bytes, patch)
2013-12-14 15:20 UTC, Robert Roth
committed Details | Review

Description adria.arrufat 2013-03-21 09:14:29 UTC
Since evince document viewer has been ported to GtkApp and got rid of the menubar, it would be great if it behaved just like Files and Web by hiding its title bar when tiling or maximising the window, so that more content is visible on the screen.

Is it planned?

Thanks in advance
Comment 1 Germán Poo-Caamaño 2013-04-03 15:36:58 UTC
*** Bug 697172 has been marked as a duplicate of this bug. ***
Comment 2 Robert Roth 2013-12-14 15:20:54 UTC
Created attachment 264195 [details] [review]
Hide titlebar patch

Patch to hide the titlebar when the window is maximized.
Comment 3 Carlos Garcia Campos 2013-12-18 14:15:55 UTC
Review of attachment 264195 [details] [review]:

Ok, pushed to git master. Thanks!
Comment 4 adria.arrufat 2013-12-18 14:27:48 UTC
Thanks for the patch!
However, since I reported this bug, hiding window decorations when maximising has been removed in favour of Client-Side Decorations (CSD), so I guess next step would require evince using CSD.
Comment 5 Robert Roth 2013-12-18 14:55:39 UTC
(In reply to comment #4)
> Thanks for the patch!
> However, since I reported this bug, hiding window decorations when maximising
> has been removed in favour of Client-Side Decorations (CSD), so I guess next
> step would require evince using CSD.

The patch works with CSD too, so CSD is also hidden if maximized, so the patch is relevant in that context too :) System Monitor has CSD already, and hiding the titlebar when maximized works just like without CSD.
Comment 6 adria.arrufat 2013-12-18 15:12:52 UTC
I don't know if I understand you correctly... 
What I meant before is that Evince should use CSD, so no title bar should be displayed at any time, and a close button should be displayed just like in Files/Web/System Monitor...
Comment 7 Germán Poo-Caamaño 2013-12-18 15:20:42 UTC
(In reply to comment #6)
> I don't know if I understand you correctly... 
> What I meant before is that Evince should use CSD, so no title bar should be
> displayed at any time, and a close button should be displayed just like in
> Files/Web/System Monitor...

That is another bug: http://bugzilla.gnome.org/show_bug.cgi?id=711078
IMHO, at this moment there many shortcomings to proceed with something
like that.