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 732528 - Attach the navigation bar to the bottom of the window
Attach the navigation bar to the bottom of the window
Status: RESOLVED FIXED
Product: totem
Classification: Core
Component: Movie player
unspecified
Other Linux
: Normal normal
: ---
Assigned To: General Totem maintainer(s)
General Totem maintainer(s)
: 728442 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2014-06-30 22:48 UTC by Allan Day
Modified: 2015-12-03 18:56 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
backend: Remove margin around the navigation bar (986 bytes, patch)
2014-12-02 12:52 UTC, Yosef Or Boczko
needs-work Details | Review
Screenshot (507.85 KB, image/png)
2014-12-02 12:56 UTC, Yosef Or Boczko
  Details
backend: Remove margins from the controls OSD (2.87 KB, patch)
2015-12-03 18:55 UTC, Bastien Nocera
committed Details | Review

Description Allan Day 2014-06-30 22:48:12 UTC
The navigation bar - which contains skip, play, pause, and the seek bar - currently floats over the playing video. This made sense in the original design, as the seek bar was intended be much narrower than it currently is (see [1]).

Since the navigation and seek bars are currently very wide, there is little point in having the navigation bar float over the playing video. In actual fact, it is worse, since it means that the bar obscures more of the interesting part of the video beneath.

A good solution would be to attach the navigation bar to the bottom of the window (while still having it appear over the video, with a semi-transparent style).

[1] https://raw.githubusercontent.com/gnome-design-team/gnome-mockups/master/videos/videos-fullscreen.png
Comment 1 Yosef Or Boczko 2014-12-02 12:52:30 UTC
Created attachment 291982 [details] [review]
backend: Remove margin around the navigation bar
Comment 2 Yosef Or Boczko 2014-12-02 12:56:16 UTC
Created attachment 291985 [details]
Screenshot
Comment 3 Allan Day 2014-12-02 14:11:39 UTC
Looks great! Only one issue I can see - the bar still has rounded corners.
Comment 4 Bastien Nocera 2014-12-02 14:19:24 UTC
I really don't think it's useful. I prefer the look of the navigation bar slightly centred, and I really don't want to be moving the bar if it's not going to be fittsy.
Comment 5 Allan Day 2014-12-02 14:42:19 UTC
(In reply to comment #4)
> I really don't think it's useful. I prefer the look of the navigation bar
> slightly centred, and I really don't want to be moving the bar if it's not
> going to be fittsy.

I don't see why this has to be a requirement. I described advantages to this change in the original bug report, which should be sufficient to make it worthwhile.

As far as the "look" goes, the vast majority of video players attach their navigation controls to the bottom of the view, and a lot of them look pretty good. In totem's case, a few small changes would improve appearance a lot, like being consistent with button relief, and adding a bit more padding around the seek bar and times.
Comment 6 Bastien Nocera 2014-12-02 15:15:32 UTC
(In reply to comment #0)
> The navigation bar - which contains skip, play, pause, and the seek bar -
> currently floats over the playing video. This made sense in the original
> design, as the seek bar was intended be much narrower than it currently is (see
> [1]).

FWIW, that's the design I was using:
https://wiki.gnome.org/Design/Apps/Videos#Tentative_Design

Which has a wider seek bar.

> Since the navigation and seek bars are currently very wide, there is little
> point in having the navigation bar float over the playing video. In actual
> fact, it is worse, since it means that the bar obscures more of the interesting
> part of the video beneath.

I doubt that the video at the bottom right and bottom left of the video are *that* interesting.

> A good solution would be to attach the navigation bar to the bottom of the
> window (while still having it appear over the video, with a semi-transparent
> style).
> 
> [1]
> https://raw.githubusercontent.com/gnome-design-team/gnome-mockups/master/videos/videos-fullscreen.png

(In reply to comment #5)
> (In reply to comment #4)
> > I really don't think it's useful. I prefer the look of the navigation bar
> > slightly centred, and I really don't want to be moving the bar if it's not
> > going to be fittsy.
> 
> I don't see why this has to be a requirement. I described advantages to this
> change in the original bug report, which should be sufficient to make it
> worthwhile.

The only advantage I can read is "it obscures more of the video". It obscure more of uninteresting parts of the video.

> As far as the "look" goes, the vast majority of video players attach their
> navigation controls to the bottom of the view,

That seems to be mostly because of technical reasons, or space constraints. iOS doesn't do that on either phone or tablet. Do you have examples of first-party video players that do that?

> and a lot of them look pretty
> good. In totem's case, a few small changes would improve appearance a lot, like
> being consistent with button relief, 

We just apply the OSD style, nothing more.

> and adding a bit more padding around the
> seek bar and times.
Comment 7 Bastien Nocera 2015-01-16 09:30:56 UTC
Review of attachment 291982 [details] [review]:

You could also remove all instances of the CONTROLS_MARGIN constant.

Note that we also need to figure out how to remove the rounded corners.
Comment 8 Lapo Calamandrei 2015-01-27 17:04:10 UTC
I'd need positional style classes (top/bottom/left/right) to make the style looks ok (read no rounded corners in this case), so if you add, say a "bottom" styleclass there, I'll change adwaita accordingly.
Comment 9 Bastien Nocera 2015-12-03 18:54:59 UTC
*** Bug 728442 has been marked as a duplicate of this bug. ***
Comment 10 Bastien Nocera 2015-12-03 18:55:13 UTC
Created attachment 316734 [details] [review]
backend: Remove margins from the controls OSD

This will be style as a square area running to the edges with newer
versions of GTK+:
https://git.gnome.org/browse/gtk+/commit/?id=07ee962ed34ad87138b99f8c7e86f84452f17e14
Comment 11 Bastien Nocera 2015-12-03 18:56:02 UTC
Attachment 316734 [details] pushed as 45ee3a4 - backend: Remove margins from the controls OSD