Bug 9362 - Adding shuffle status to home menu screws up layout
: Adding shuffle status to home menu screws up layout
Status: CLOSED FIXED
Product: SB Controller
Classification: Unclassified
Component: UI
: unspecified
: PC Windows Vista
: P4 normal (vote)
: 7.3
Assigned To: Ben Klaas
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2008-09-01 23:19 UTC by Schindler
Modified: 2008-12-15 12:06 UTC (History)
2 users (show)

See Also:
Category: ---


Attachments
screenshots (558.32 KB, image/pjpeg)
2008-09-01 23:21 UTC, Schindler
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Schindler 2008-09-01 23:19:41 UTC
I just added shuffle to the root menu of the controller. If now the shuffle option is also displayed on an other page its status will remain at the last position. It seems, that not the whole line will be refreshed until I scroll to the shuffle option again.

Added some screenshots.

Christian

Controller: V7.2 r2873

Server:
SqueezeCenter-Version: 7.2 - 22900 @ Tue Aug 26 11:27:23 PDT 2008 - Windows Vista - DE - cp1252
Perl-Version: 5.8.8 MSWin32-x86-multi-thread
MySQL-Version: 5.0.22-community-nt
Comment 1 Schindler 2008-09-01 23:21:00 UTC
Created attachment 3923 [details]
screenshots
Comment 2 Ben Klaas 2008-09-02 13:01:47 UTC
eek, that's no good. assigning to myself for fix a.s.a.p.
Comment 3 Ben Klaas 2008-09-10 14:29:06 UTC
this is a fairly complicated problem that will likely need some changes in the underlying C code. Assigning to Richard for further assessment.
Comment 4 Chris Owens 2008-10-06 09:33:37 UTC
Richard
Comment 5 Ben Klaas 2008-10-06 09:36:39 UTC
I'd propose that in lieu of a real fix that I add some code to CustomizeHomeMenu to disable the ability to promote these problematic items to the home menu. They mess up the UI so badly that I don't feel we should continue pushing out code that supports it. After a real fix I'll pull that code back out.

I'll move forward with that proposal unless I hear otherwise.
Comment 6 Ben Klaas 2008-10-06 12:19:30 UTC
7.1 r3080 removes the ability to add a "choice" type menu item (e.g., Shuffle and Repeat settings) to the home menu. Until this bug is fixed, I think that's the way it should stay.
Comment 7 Schindler 2008-10-06 13:42:59 UTC
Actually I had the problem even before I added Shuffle to the root menu! Sometimes its status remained visible in the root at the top right position next to "music library"...

Removing the option to add shuffle to the root menu doesn't solve anything.

Christian
Comment 8 Schindler 2008-10-06 13:47:48 UTC
It is even easy to reproduce...

Go to Settings, scroll up to "Shuffle" scroll down one or two positions, press back "arrow left".

Now you will finde the shuffle status top right. 

Like:

Music Library          Off



Christian
Comment 9 Ben Klaas 2008-10-06 13:51:14 UTC
I cannot reproduce the issue with those steps.

if you're amenable to it, can either a) factory reset your controller or b) ssh to your controller and remove /usr/share/jive/applets/CustomizeHomeMenu/settings.lua and see if you can still reproduce with the method you just described.
Comment 10 Ben Klaas 2008-10-06 13:52:29 UTC
note: you'll need to reboot your controller after removing the settings.lua file, if that's the route you choose to go.
Comment 11 Schindler 2008-10-06 14:08:41 UTC
sry, can not reproduce if shuffle is not in root menu. But I am sure I saw shuffle status next to Music Library sometimes before I added it to the root...

Christian
Comment 12 Ben Klaas 2008-10-06 14:12:36 UTC
Regardless of whether this is reproducible via another path, it is definitely reproducible in the case of adding a choice item to the root menu. This is why I disabled the ability to do so. When the root issue is solved, I'll re-enable.

If you find another means of reproducing the problem, I'd like to hear about it. Thanks-
Comment 13 Chris Owens 2008-10-13 09:27:00 UTC
Targeting for 7.3 for the 'real' fix
Comment 14 Richard Titmuss 2008-11-12 14:33:19 UTC
I've had a look at this, and there is no easy quick fix.

The problem is caused because the Choice widget has been used in two different menu widgets, and that is really against the rules. In this case the customize home menu needs to create a copy of the Choice widget to use in the home menu.

This needs some more thought.

Ok, thought and fixed in r3350.

Comment 15 Ben Klaas 2008-11-12 14:42:21 UTC
I'll believe I'll need to re-enable the choice items in CustomizeHomeMenuApplet as well. Re-opening and assigning to myself.
Comment 16 Richard Titmuss 2008-11-12 14:44:14 UTC
Nope you won't. You only disabled in 7.1/7.2, that change had not got pulled into 7.3. Marking as fixed again.
Comment 17 Ben Klaas 2008-11-12 14:55:19 UTC
yep, verfied that it works. most excellent!
Comment 18 James Richardson 2008-12-15 12:06:48 UTC
This bug has been fixed in the 7.3.0 release version of SqueezeCenter!

Please download the new version from http://www.slimdevices.com/su_downloads.html if you haven't already.  

If you are still experiencing this problem, feel free to reopen the bug with your new comments and we'll have another look.