Bug 5928 - Display of current playlist buttons in default skin
: Display of current playlist buttons in default skin
Status: RESOLVED FIXED
Product: Logitech Media Server
Classification: Unclassified
Component: Web Interface
: 7.0
: PC Windows XP
: P2 normal (vote)
: ---
Assigned To: Unassigned bug - please assign me!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2007-10-26 17:18 UTC by Philip Meyer
Modified: 2007-10-30 09:37 UTC (History)
2 users (show)

See Also:
Category: ---


Attachments
playlist link handling (2.22 KB, patch)
2007-10-28 14:19 UTC, KDF
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Philip Meyer 2007-10-26 17:18:36 UTC
A few minor things I spotted today with the current playlist option buttons in the default skin:

1. There are icons for switching on/off artwork for each song in the current playlist.  These icons do not have tooltips - most other things in default skin do.

2. Don't see why both of the artwork/text icons are always visible - could toggle the displayed image to show the current mode, rather than show both (would be more consistent with the control on the browse albums page).

3. If I clear the current playlist, the save option disappears, but the clear options is still visible.  Might as well hide the clear button if the playlist is already empty.
Comment 1 KDF 2007-10-28 14:19:24 UTC
Created attachment 2324 [details]
playlist link handling

show/hide playlist clear, save, artwork links based on whether playlist has items or not. add tooltips to artwork link button
Comment 2 KDF 2007-10-29 16:28:08 UTC
guess I need to add Michael in order for him to see the proposed patch :)
Comment 3 Michael Herger 2007-10-30 00:00:25 UTC
Thanks kdf - change 14185

But then we probably should get rid of the artwork button, too... I'm sorry I've been lazy on GUI updates recently, as I'm waiting for the final artwork. 
Comment 4 KDF 2007-10-30 07:18:03 UTC
the patch was intended to get rid of the artwork link as well.  However, I accidentally deleted the hunk required (I have a number of other local patches in that code).

Index: server/HTML/Default/html/main.js
===================================================================
--- server/HTML/Default/html/main.js    (revision 14139)
+++ server/HTML/Default/html/main.js    (working copy)
@@ -644,6 +647,8 @@
                                        tooltipType: 'title',
                                        handler: Playlist.save
                                });
+                       } else {
+                               Ext.get('playlistToggleArtwork').hide();
                        }
 
                        // dragging doesn't survive a reload
Comment 5 Michael Herger 2007-10-30 09:37:46 UTC
Change 14216 - thanks!