Playlist widget too small; adapt to file name length and increase number of rows

Bug #1362682 reported by quequotion
12
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Audience
Fix Released
Undecided
elementary UX

Bug Description

Using audience-bzr, I noticed recently that the playlist widget has been further minimized.

Unfortunately the box seems to be sized (horizontally) to just fit the buttons, cutting off a large part of the filename / title for videos with lengthy names.

I would rather this box adapt it's horizontal size according to the file name. Not infinitely of course, but allow for longer names and reveal the ending of the name, like so:

1. Stretch horizontally to ~70% of the filename / title length, not exceeding the width of Audience's window.
2. Omit known dot-three extensions ( '.mkv', '.avi', etc)
3. Display as many characters as fit from the beginning and end of the title / filename with an ellipsis in the middle ("Very Long Series...n 5 - Episode 22")

Perhaps the playlist could also adapt it's vertical height, to 50% of the playlist length, not exceeding the height of Audience's window.

::EDIT:: Number of rows has increased to three; this is manageable if not ideal.

Related branches

Revision history for this message
quequotion (quequotion) wrote :

Updated description for most recent changes.

Almost there, but still hurting for longer filenames and especially seeing the end of the filename.

Three rows is much better than one, but a dynamic height (to accommodate very long playlists) would be even better.

description: updated
Revision history for this message
Julián Unrrein (junrrein) wrote :

Another option would be to keep the widget as-is, and instead show a tooltip when hovering over long playlist name.

Changed in audience:
assignee: nobody → elementary UX Team (elementary-design)
Revision history for this message
Viko Adi Rahmawan (vikoadi) wrote :

I added one line branch to show tooltip on playlist,
I'll propose merging if it got UX Team Approval

Revision history for this message
Viko Adi Rahmawan (vikoadi) wrote :

We have tooltip now, and its now middle elipsized

Changed in audience:
status: New → Fix Committed
Revision history for this message
quequotion (quequotion) wrote :

I like the tooltip idea. That's better.

Changed in audience:
milestone: none → freya-beta2
Changed in audience:
status: Fix Committed → Fix Released
Cody Garver (codygarver)
Changed in audience:
milestone: freya-beta2 → 0.1
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.