Use fancy tooltips

Bug #548797 reported by Mathias Brodala
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Exaile
Fix Released
Wishlist
Mathias Brodala

Bug Description

GTK provides us ways to spice up tooltips. This should be used for items in the collection pane as well as the tray icon tooltip.

Collection pane:
This one could display the cover art, album title and year, total length and count of tracks as well as possibly an ellipsized overview of the tracks.

Tray icon:
This one could display the title, artist and album of the current track. Also the cover and the current progress could be put here.

For all of this performance evaluations would need to take place first. No matter the outcome, a solution as plugin instead of going into core could also be considered.

Revision history for this message
reacocard (reacocard) wrote :

I'd also like to note that as this will definitely involve using the custom widget support in gtk tooltips, we should abstract that widget out into a separate class that can be used by all of these cases and probably by our built-in OSD as well. Doing so will help ensure UI consistency across these various components and reduce code duplication.

I would think that doing this as a plugin would be fairly difficult, though making any such system be extensible by plugins should be quite doable. As for performance, we can gracefully degrade the level of information shown I think - eg. if too many entries are selected in the collection pane, we cut off some of the information and simply display "and 123 others" or something like that.

Revision history for this message
Mathias Brodala (mathbr) wrote :

Yep, I was planing along those lines. Here are some mockups. Let me know what you think.

Revision history for this message
Mathias Brodala (mathbr) wrote :
Revision history for this message
reacocard (reacocard) wrote :

Those mockups look awesome! Can't wait to see it in the player itself. :)

Mathias Brodala (mathbr)
Changed in exaile:
assignee: nobody → Mathias Brodala (mathbr)
milestone: 0.3.x → 0.3.2
status: Confirmed → In Progress
Revision history for this message
Mathias Brodala (mathbr) wrote :

Single track tooltip is in r2978 now.

Revision history for this message
Mathias Brodala (mathbr) wrote :

Track list tooltips are available but won’t be enabled for the collection right now. Performance issues have to be resolved first.

Changed in exaile:
status: In Progress → Fix Committed
reacocard (reacocard)
Changed in exaile:
status: Fix Committed → Fix Released
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.