Bug 1370 - removing Now Playing from player menu creates weird behavior
: removing Now Playing from player menu creates weird behavior
Status: RESOLVED FIXED
Product: Logitech Media Server
Classification: Unclassified
Component: Player UI
: 6.1.0
: All All
: P2 normal (vote)
: ---
Assigned To: Vidur Apparao
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2005-04-13 12:52 UTC by Kevin Pearsall
Modified: 2008-09-15 14:37 UTC (History)
1 user (show)

See Also:
Category: ---


Attachments
default to first item for home menu (3.28 KB, patch)
2005-04-13 21:08 UTC, KDF
Details | Diff
when jumping to a home item, make sure it exists (732 bytes, patch)
2005-05-02 01:09 UTC, KDF
Details | Diff
jump to search (1.23 KB, patch)
2005-05-03 22:01 UTC, KDF
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Kevin Pearsall 2005-04-13 12:52:50 UTC
if you remove now playing from the main player menu then:
- press now playing
- press left to go to main menu
- Squeezebox Home 'Browse Music' is displayed.  press right and it goes in to
Now Playing, not Browse Music.
Comment 1 KDF 2005-04-13 21:05:53 UTC
dan, got a patch to fix this, will attach in a sec...
Comment 2 KDF 2005-04-13 21:08:31 UTC
Created attachment 425 [details]
default to first item for home menu

instead of falling to NOW_PLAYING on the home menu, we should default to item 0
in the list.  This will then be the top item shown in the player
settings->menus
Comment 3 Dan Sully 2005-04-13 21:13:31 UTC
Looks good.
Comment 4 KDF 2005-04-13 21:51:40 UTC
fix merged to trunk r2961, 6_0_X branch r2962
Comment 5 KDF 2005-04-29 23:22:30 UTC
darn, seems that change 3082 DOES break this fix after all :(

calling jump('NOW_PLAYING') is trouble is now playing isn't in the home menu
settings.
Comment 6 KDF 2005-05-02 01:09:09 UTC
Created attachment 479 [details]
when jumping to a home item, make sure it exists

I guess Dean wanted to go left from Now Playing and ensure that we get to teh
now playing item in the home menu.  same for search.  however, when now playing
isn't in the home menu, we slip to another item but still go back to now
playing when moving right.  This is confusing.	This patch checks on a jump
that the home menu item exists.  if not, it then sets the home postion to the
first item in the list so that when pushign right the player will go into the
correct mode for that item. Please run this by Dean and see if this still fits
his requirements.
Comment 7 KDF 2005-05-03 12:00:19 UTC
sorry, guess this needs to go to vidur since this is all now wrapped around
change 3082 and what the intent of that was.
Comment 8 KDF 2005-05-03 22:01:25 UTC
Created attachment 486 [details]
jump to search

ok, the last patch didnt' work for search, so I've reworked the way jump() and
jumpToMenu() work.  jump will go to an item in teh home menu, or switch to the
first item.  jumpToMenu will go directly to any menu available in the home
hash, which would include plugins and other submenus shoudl they ever be
applicable.  this properly jumps to now playing when the button is pushed,
search on search button and properly pushes left from the top level.
Comment 9 KDF 2005-05-03 23:55:07 UTC
committed to 6.1 at change 3119
committed to 6.0.3 at change 3120

please re-open if this doesn't fit Dean's requirements
Comment 10 Chris Owens 2006-06-16 14:41:11 UTC
There are 536 bugs in the database with targets of '---' that were fixed prior to new year 2006.  I am setting them to targets of 6.2.1 to keep them from showing up in my queries.