-
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Highlight crates/playlists that a track is in #7606
Comments
Commented by: mk42 I would like to work on this - if it isn't too complicated. Any hints on how to implement this? |
Commented by: mk42 What I got so far: I can use sql to get the crates a specific trackId is in:
|
Commented by: mk42 Actually it would be better to also highlight playlists in which the selected track is included. So maybe that way:
|
Commented by: mk42 The libraryFeature has a signal trackSelected that could be used. The TreeItem is aware of it's feature, so we could use TreeItemModel::data for role = QBackgroundRole |
Commented by: naught101 Thanks heaps for this MK - it's very useful. However, at the moment (with the Latenight skin at least), crate names are just bolded, and that's not very easy to notice, unless you're really looking for it. It would be much better if the crate's background was highlighted, perhaps in a similar way to when the mouse hovers over it (maybe a different colour though). I don't know if this is a problem with the skin itself, or this fix in particular. There may be other ways - even bold-italic would be good. |
Commented by: daschuer Hi naught101, |
Commented by: naught101 |
Issue closed with status Fix Released. |
Reported by: naught101
Date: 2014-10-13T04:48:21Z
Status: Fix Released
Importance: Wishlist
Launchpad Issue: lp1380467
Tags: library
It would be good to be able to see which playlists/crates a track is in. So, if you have a track selected in the library, all of the visible crates/playlists/hisotories that it is in have a different background colour or similar.
Zotero does a similar thing with citations - if you select a citation, and hold 'alt', the collections that contain it are highlighted.
Not sure how this should work with tracks in decks, but perhaps the playlists/crates could be highlighted if the deck is moused-over?
The text was updated successfully, but these errors were encountered: