GNOME Bugzilla – Bug 705854
Center albums view
Last modified: 2016-08-22 14:44:52 UTC
Center albums view to avoid empty space on the right while resizing the app https://f.cloud.github.com/assets/114501/913084/b36fc8a4-fe0f-11e2-81b9-ef5017a07522.png
*** Bug 708224 has been marked as a duplicate of this bug. ***
*** Bug 709072 has been marked as a duplicate of this bug. ***
I think there is a GNOME goal for this (found it in some blog post, I think it's a goal for 3.12) where the icon size changes with respect to the current window size, ensuring that there is no empty space.
Centering the albums view means (sadly) that the track titles of some albums are abbreviated with "..." even though there's still plenty of space for them. Here's a screenshot from gnome-music-3.11.91-2.fc20.x86_64 http://venemo.net/owncloud/public.php?service=files&t=d6fe7740a78b888636ceaf5e033087f6
(In reply to comment #3) > I think there is a GNOME goal for this (found it in some blog post, I think > it's a goal for 3.12) where the icon size changes with respect to the current > window size, ensuring that there is no empty space. Yes, we'd ideally want to scale the grid to the available space. This requires some additional functionality from GTK+ though. The approach described in this bug seems like a good stop gap measure.
(In reply to comment #4) > Centering the albums view means (sadly) that the track titles of some albums > are abbreviated with "..." even though there's still plenty of space for them. > > Here's a screenshot from gnome-music-3.11.91-2.fc20.x86_64 > http://venemo.net/owncloud/public.php?service=files&t=d6fe7740a78b888636ceaf5e033087f6 Seems like we are talking about a different thing here, this bug is for the view where all albums are shown in Albums view (which is a GtkIconView), while your screenshot is inside an album in Albums view. I think you should open a different bug report for it.
I took a look at fixing this issue, and gnome-documents has the same bug: Music sets the Album icon view in the ViewContainer class with: self.view = Gd.MainView( shadow_type=Gtk.ShadowType.NONE ) So since Documents has the same bug and Music is just using libgd for this, I assume that this bug should be moved to libgd. Thoughts?
(In reply to comment #7) > So since Documents has the same bug and Music is just using libgd for this, I > assume that this bug should be moved to libgd. Thoughts? Moving the bug will not help solving it. Also both Music and Documents need a tracking bug so the users would know which version has the fix
I agree on last comment. Actually, the problem stems from GTK+ since Gd.MainView is based on Gtk.TreeView, which don't support centering the contents (based on my own experience only, it's possible that there is hack to do this...).
Removing the available whiteboard - we're not really using it any more.
The new GtkFlowBox view does homogeneous spacing. This problem has been fixed in the unstable development version. The fix will be available in the next major software release. You may need to upgrade your Linux distribution to obtain that newer version.