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 722420 - use headerbar/CSD
use headerbar/CSD
Status: RESOLVED FIXED
Product: totem
Classification: Core
Component: general
unspecified
Other Linux
: Normal normal
: ---
Assigned To: General Totem maintainer(s)
General Totem maintainer(s)
: 723320 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2014-01-17 14:30 UTC by Jakub Steiner
Modified: 2014-01-31 10:59 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
QuickTime on OSX with titlebar (227.89 KB, image/png)
2014-01-24 10:14 UTC, Bastien Nocera
  Details
QuickTime on OSX without titlebar (213.82 KB, image/png)
2014-01-24 10:15 UTC, Bastien Nocera
  Details
XXX grilo: Use CSD/headerbar (2.18 KB, patch)
2014-01-24 16:08 UTC, Bastien Nocera
none Details | Review

Description Jakub Steiner 2014-01-17 14:30:33 UTC
It would be great if totem dropped the titlebar and used CSD/headerbar only. 

A specific for Videos would be the actual video playback, where the controls live as overlays, so after a timeout* you'd get only the video itself with no chrome at all.

* bug #697897
Comment 1 Bastien Nocera 2014-01-24 09:35:54 UTC
The current problem is:
- the titlebar cannot change during the lifetime of the window, this is a problem because we have 2 headerbars, one in the browser view, one in the player view, which are very different.
- Doing something like this:
GtkWidget *header = gtk_header_bar_new ();
gtk_window_set_titlebar (GTK_WINDOW (totem->win), header);
gtk_widget_set_no_show_all (header, TRUE);

But the window isn't rounded as it should be, and the titlebar cannot be used to drag the window. I'll look through GTK+ to see what needs to be done to allow that.
Comment 2 Bastien Nocera 2014-01-24 09:38:15 UTC
Also, the title isn't updated, but that's easy enough to work-around on the client side.
Comment 3 Bastien Nocera 2014-01-24 10:14:36 UTC
Created attachment 267117 [details]
QuickTime on OSX with titlebar
Comment 4 Bastien Nocera 2014-01-24 10:15:34 UTC
Created attachment 267118 [details]
QuickTime on OSX without titlebar
Comment 5 Bastien Nocera 2014-01-24 16:08:17 UTC
Created attachment 267138 [details] [review]
XXX grilo: Use CSD/headerbar
Comment 6 Bastien Nocera 2014-01-31 10:59:12 UTC
*** Bug 723320 has been marked as a duplicate of this bug. ***