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 743247 - provide consistent thumbnail style
provide consistent thumbnail style
Status: RESOLVED FIXED
Product: totem
Classification: Core
Component: Thumbnailer
3.14.x
Other Linux
: Normal normal
: ---
Assigned To: General Totem maintainer(s)
General Totem maintainer(s)
: 745577 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2015-01-20 14:46 UTC by Jakub Steiner
Modified: 2015-03-06 18:55 UTC
See Also:
GNOME target: 3.16
GNOME version: ---


Attachments
icon-helpers: Improve thumbnailing style (8.51 KB, patch)
2015-03-06 16:17 UTC, Bastien Nocera
none Details | Review
icon-helpers: Don't require a GApplication (1002 bytes, patch)
2015-03-06 16:17 UTC, Bastien Nocera
committed Details | Review
icon-helpers: Add guard in totem_grilo_get_icon() (744 bytes, patch)
2015-03-06 16:17 UTC, Bastien Nocera
committed Details | Review
icon-helpers: Add test application for thumbnail changes (5.88 KB, patch)
2015-03-06 16:17 UTC, Bastien Nocera
none Details | Review
grilo: Load large Apple trailers covers (711 bytes, patch)
2015-03-06 16:17 UTC, Bastien Nocera
committed Details | Review
icon-helpers: Add test application for thumbnail changes (5.65 KB, patch)
2015-03-06 16:59 UTC, Bastien Nocera
none Details | Review
icon-helpers: Improve thumbnailing style (8.97 KB, patch)
2015-03-06 17:18 UTC, Bastien Nocera
committed Details | Review
icon-helpers: Add test application for thumbnail changes (5.90 KB, patch)
2015-03-06 17:21 UTC, Bastien Nocera
committed Details | Review

Description Jakub Steiner 2015-01-20 14:46:58 UTC
We currently have varying styles for thumbnails. Here's a little list of how I think we should style them: 

https://raw.githubusercontent.com/gnome-design-team/gnome-mockups/master/videos/thumbnails.png

I'm told we're going to have to deal with mixed views of portrait and landscape thumbnails. If this was Photos, I'd suggest going with square tiles as that gives the most pleasing grid and the occurence of portrait orientation isn't rare. For Videos I'd probably go with 4:3 aspect ratio to make the landscape thumbnails feel better.
Comment 1 Lapo Calamandrei 2015-01-20 14:57:47 UTC
I'd go for square tiles all ove the place, videos included, I'd probably fill the square with the video thumb tho, but you'll lose the landscape/portrait info. In case that's an important info I'd show the bands, but we don't need to make the proportions accourate, we can still cut away some part of the video to make it look nicer bands or not. Anyway I'd color the bands in black.
Comment 2 Jakub Steiner 2015-01-20 19:47:01 UTC
(In reply to comment #1)
> I'd go for square tiles all ove the place, videos included, ...

Like this perhaps?

https://raw.githubusercontent.com/gnome-design-team/gnome-mockups/master/videos/thumbnails-square.png

I'm not quite sure what rules you're thinking of for "smarter" letterboxing...
Comment 3 Bastien Nocera 2015-03-06 12:30:53 UTC
*** Bug 745577 has been marked as a duplicate of this bug. ***
Comment 4 Bastien Nocera 2015-03-06 12:34:07 UTC
I'll need to finish implementing this before 3.16 is out, as my attempts broke some things (see bug 745577).
Comment 5 Bastien Nocera 2015-03-06 16:17:19 UTC
Created attachment 298729 [details] [review]
icon-helpers: Improve thumbnailing style

Thumbnails are now square to avoid reflow when loading new items which
might have mixed types of media (vertical videos, covers vs. horizontal
TV/cinema videos).

Mockup is at:
https://raw.githubusercontent.com/gnome-design-team/gnome-mockups/master/videos/thumbnails-square.png
Comment 6 Bastien Nocera 2015-03-06 16:17:24 UTC
Created attachment 298730 [details] [review]
icon-helpers: Don't require a GApplication

We won't need it in our test application.
Comment 7 Bastien Nocera 2015-03-06 16:17:29 UTC
Created attachment 298731 [details] [review]
icon-helpers: Add guard in totem_grilo_get_icon()

To avoid crashing when we use the API badly.
Comment 8 Bastien Nocera 2015-03-06 16:17:34 UTC
Created attachment 298732 [details] [review]
icon-helpers: Add test application for thumbnail changes
Comment 9 Bastien Nocera 2015-03-06 16:17:38 UTC
Created attachment 298733 [details] [review]
grilo: Load large Apple trailers covers

The small ones are about 130 pixels wide, and our icons 256x256.
Comment 10 Bastien Nocera 2015-03-06 16:59:58 UTC
Created attachment 298738 [details] [review]
icon-helpers: Add test application for thumbnail changes
Comment 11 Bastien Nocera 2015-03-06 17:18:41 UTC
Created attachment 298741 [details] [review]
icon-helpers: Improve thumbnailing style

Thumbnails are now square to avoid reflow when loading new items which
might have mixed types of media (vertical videos, covers vs. horizontal
TV/cinema videos).

Mockup is at:
https://raw.githubusercontent.com/gnome-design-team/gnome-mockups/master/videos/thumbnails-square.png
Comment 12 Bastien Nocera 2015-03-06 17:21:48 UTC
Created attachment 298742 [details] [review]
icon-helpers: Add test application for thumbnail changes
Comment 13 Bastien Nocera 2015-03-06 18:55:26 UTC
All pushed to master. Let me know whether you find any differences
between the mockups and the implementation.

Attachment 298730 [details] pushed as edd088b - icon-helpers: Don't require a GApplication
Attachment 298731 [details] pushed as 5a789a8 - icon-helpers: Add guard in totem_grilo_get_icon()
Attachment 298733 [details] pushed as 26519e2 - grilo: Load large Apple trailers covers
Attachment 298741 [details] pushed as 58f1607 - icon-helpers: Improve thumbnailing style
Attachment 298742 [details] pushed as 748c0aa - icon-helpers: Add test application for thumbnail changes