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 734958 - Player bar - not enough space given to artist and track name
Player bar - not enough space given to artist and track name
Status: RESOLVED FIXED
Product: gnome-music
Classification: Applications
Component: general
unspecified
Other Linux
: Normal normal
: ---
Assigned To: gnome-music-maint
gnome-music-maint
Depends on:
Blocks:
 
 
Reported: 2014-08-17 17:38 UTC by Elad Alfassa
Modified: 2016-01-11 14:22 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
gnome-music: increase the maximum width of the artist and track name (1.57 KB, patch)
2015-12-09 21:23 UTC, pankaj
committed Details | Review

Description Elad Alfassa 2014-08-17 17:38:07 UTC
Take a look at this screenshot:

https://i.imgur.com/Dq0Iotq.png

You elipzise the name of the artist and the track title, but you have a lot of space you could use. Ideally you should make the slider a bit smaller, and not elipsize the name of the track and artist that much. People usually prefer to know what they are listening to, while seeking inside tracks is a less common activity.
Comment 1 Elad Alfassa 2014-08-17 17:40:21 UTC
btw, the mockups show a much shorter slider

https://wiki.gnome.org/Design/Apps/Music
Comment 2 Arnel Borja 2014-10-26 14:16:38 UTC
The longer slider is based on a newer mockup: https://github.com/gnome-design-team/gnome-mockups/blob/master/music/wire-playback-buffer.png
Comment 3 Allan Day 2015-04-01 16:14:49 UTC
Renaming for clarity - ellipsizing isn't the problem. It's the amount of space that is. I think I agree that the minimum width of the artist and track name could be larger.
Comment 4 Antoine Saroufim 2015-10-18 14:00:12 UTC
Issue still valid on gnome 3.18.0
Comment 5 Karanbir Chahal 2015-10-27 22:51:22 UTC
Can you give me a hint as to where I can find the width and height allotments in the player tool;bar in the code,I can't see to find them
Comment 6 Felipe Borges 2015-11-04 09:42:04 UTC
(In reply to Karanbir Chahal from comment #5)
> Can you give me a hint as to where I can find the width and height
> allotments in the player tool;bar in the code,I can't see to find them

Look at the data/PlayerToolbar.ui file.

The slider's id is "progress_scale", and the artist and track name labels are part of the box "nowplaying_labels".
Comment 7 pankaj 2015-12-09 21:23:14 UTC
Created attachment 317079 [details] [review]
gnome-music: increase the maximum width of the artist and track name

To fix this bug I increased the max_width_chars of id "title" and "artist" from 12 to 42 so that it can use the space more efficiently.
Comment 8 Felipe Borges 2015-12-10 09:56:20 UTC
Thank you for your patch. Since it is a layout/design change, I would like to have an ACK from one of our designers before pushing this.

Could you please attach an screenshot to this bug?
Comment 9 pankaj 2015-12-10 10:12:07 UTC
screenshots 
before the patch
http://imgur.com/H9dJeQp
after the patch
http://imgur.com/a3F5amm
Comment 10 Allan Day 2015-12-10 17:03:24 UTC
The patch works fine from what I can see. My only concern is what a track name with 42  characters looks like - I've been unable to find one in my music collection. :)
Comment 11 pankaj 2015-12-10 17:10:06 UTC
i had a hindi song in my collection which consisted of 42 characters so i kept it :P
Comment 12 Felipe Borges 2015-12-10 22:22:05 UTC
it still ellipsizes the text, so we would reduce significantly the number of ellipsized songs anyway (more than 42 chars).
Comment 13 Felipe Borges 2016-01-11 14:21:36 UTC
Comment on attachment 317079 [details] [review]
gnome-music: increase the maximum width of the artist and track name

Thanks for you patch. It was pushed to master.