Bug 7090 - Can't navigate the list of settings sections on Advanced settings tab
: Can't navigate the list of settings sections on Advanced settings tab
Status: CLOSED FIXED
Product: Logitech Media Server
Classification: Unclassified
Component: Web Interface
: 7.0
: PC Windows XP
: P3 normal (vote)
: 7.x
Assigned To: Michael Herger
:
Depends on: 6950
Blocks:
  Show dependency treegraph
 
Reported: 2008-02-12 00:27 UTC by Philip Meyer
Modified: 2009-09-08 09:26 UTC (History)
3 users (show)

See Also:
Category: ---


Attachments
for the fun of it: on eeePC (47.52 KB, image/jpeg)
2008-02-13 00:01 UTC, Michael Herger
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Philip Meyer 2008-02-12 00:27:43 UTC
I have quite a few plugins installed, which add to the list of settings in the drop-down list control on the Advanced settings tab, so the list extends off the bottom of the page in the Default skin.

There used to be a scrollbar to scroll the page (hence the list) down, but this isn't there anymore.  The mouse wheel doesn't work (because there's no scrollbar).

The only way I've been able to access settings sections at the bottom of the list is by using the keyboard down-arrow, but this is very weird - it doesn't go round the list when you reach the bottom.
Comment 1 Blackketter Dean 2008-02-12 06:37:18 UTC
Michael: can you take a look?
Comment 2 Michael Herger 2008-02-12 08:42:23 UTC
Does work for me. Please refresh your browser, clear the cache, you know the procedure.

Is this with FF on Linux?
Comment 3 Mark Miksis 2008-02-12 08:54:00 UTC
I see this too, FF2 on Linux.  And the text scrolling is definitely weird.  It wraps, but not the whole list.
Comment 4 Mark Miksis 2008-02-12 08:55:28 UTC
(In reply to comment #3)
> I see this too, FF2 on Linux.  And the text scrolling is definitely weird.  It
> wraps, but not the whole list.
> 

By text scrolling, I meant to say using the keyboard arrows.
Comment 5 Blackketter Dean 2008-02-12 09:18:33 UTC
Michael thinks that this is a caching issue.  Does a full shift-reload fix it?  He can't reproduce.
Comment 6 Mark Miksis 2008-02-12 09:33:22 UTC
(In reply to comment #5)
> Does a full shift-reload fix it? 
> 

No.  I've already tried the usual clear-cache/reload things.  This is definitely behavior that is different from a few weeks ago and IMO is more than just cosmetic.
Comment 7 Philip Meyer 2008-02-12 14:19:31 UTC
I did try clearing cache, shift-refresh, ctrl-refresh, just to make sure ;)  It was still not right.  Firefox 2, WinXP.

I have also just tried IE7, with the same effect.
Comment 8 Michael Herger 2008-02-12 14:32:04 UTC
Are you seeing JS errors? Are you updating from SVN or nightly builds?

Oh!... do you still have a Default/Settings/server/plugins.html template? That file has been replaced by the common (EN) template, but isn't removed during updates using a nightly build... 
Comment 9 Philip Meyer 2008-02-12 14:43:06 UTC
No JS errors.  I update via SVN once or twice a day.

I haven't got Default/Settings/server/plugins.html.
Comment 10 Michael Herger 2008-02-12 14:48:55 UTC
> I haven't got Default/Settings/server/plugins.html.

Could you still shut down SC and wipe the cache/template or similar folder?
Comment 11 Philip Meyer 2008-02-12 15:51:09 UTC
Closed SC, updated to latest SVN 17478, wiped cache/templates folder and restarted.  Still got the problem.
Comment 12 Michael Herger 2008-02-12 16:25:23 UTC
Any chance I could get access to your SC's web interface?
Comment 13 Michael Herger 2008-02-12 23:09:56 UTC
Thanks Phil - now I see what you mean. The drop down list needs scrollbars. Did this ever work at all?
Comment 14 Philip Meyer 2008-02-12 23:37:42 UTC
Yes, used to work before that control was a drop-down list ;-)

Actually, there was a scrollbar, but it recently disappeared (within last week or so).  I don't know about the keyboard navigation - I only tried that recently as a last resort.
Comment 15 Michael Herger 2008-02-12 23:56:22 UTC
Would the following change add a scrollbar to the list?

Index: /Users/mh/Documents/workspace/Teststoff/HTML/Default/slim-ext.css
===================================================================
--- /Users/mh/Documents/workspace/Teststoff/HTML/Default/slim-ext.css	(revision 17470)
+++ /Users/mh/Documents/workspace/Teststoff/HTML/Default/slim-ext.css	(working copy)
@@ -37,6 +37,8 @@
 
 .x-menu-list {
 	border: none;
+	overflow: auto;
+	max-height: 200px;
 }
 
 .x-menu-item {

 
 That's limiting the menu to 200px height. If this is working, I'll add some code to adjust the height according to the window size.
 
 Please don't tell me it's not working with IE6. It doesn't know max-height...
Comment 16 Michael Herger 2008-02-13 00:01:40 UTC
Created attachment 2858 [details]
for the fun of it: on eeePC

with the above patch applied there should be a scrollbar
Comment 17 Michael Herger 2008-02-13 05:46:55 UTC
change 17494 - please test, thanks!
Comment 18 Mark Miksis 2008-02-13 09:52:39 UTC
This patch works in that you can now use the scrollbar or a mouse wheel to navigate the list and make a selection.  However, there is still something wrong when using the keyboard arrows.  It still doesn't go all the way to the end, but instead wraps when it gets to the end of the visible portion of the list.

BTW, any plans to backport this to 7.0?
Comment 19 Michael Herger 2008-02-18 07:04:36 UTC
change 17494 is causing scrollbars in IE7 where there should not be (http://forums.slimdevices.com/showthread.php?t=43610)
Comment 20 Michael Herger 2008-02-29 00:14:21 UTC
can't reproduce the scrollbars in player list or album art view menu (as seen in http://forums.slimdevices.com/showthread.php?t=43610)

QA - can you reproduce?
Comment 21 James Richardson 2008-03-17 12:03:06 UTC
(In reply to comment #20)
> can't reproduce the scrollbars in player list or album art view menu (as seen
> in http://forums.slimdevices.com/showthread.php?t=43610)
> 
> QA - can you reproduce?
> 

I am able to partially reproduce this using the release version of 7.0 with IE 6.x / 7.x & FireFox 2.x.  This happens in both XP and Vista

I do not see the errors in the Album or List view (Home Page), only in Settings > Advanced > Drop down List (Settings Page).  The list is not long enough to show all the items, and no scroll bars appear.  To me, it looks like a codeing issue with the Settings Page, as I see scroll bars on the Home Page & sub-pages from Home
Comment 22 Michael Herger 2008-03-17 14:21:06 UTC
James - official 7.0 isn't of interest any more. Do you still see it in the latest nightly build? This hould have been fixed with change 17845.
Comment 23 Michael Herger 2008-03-18 00:49:46 UTC
anyone?
Comment 24 Mark Miksis 2008-03-18 11:42:45 UTC
The only remaining issue I see is the one I mentioned in comment 18.  When using the arrow keys to scroll past the top or bottom, it jumps around incorrectly.
Comment 25 Michael Herger 2008-03-19 04:35:45 UTC
Can't reproduce this. It's wrapping correctly for me (Opera 9.2, FF2, Safari, IE7). Only IE6 seems to not cooperate. Are you sure you've fully refreshed... I know the question is getting boring, but it really does work for me on Win, Linux, OSX.
Comment 26 Mark Miksis 2008-03-19 09:17:14 UTC
(In reply to comment #25)
> Can't reproduce this. It's wrapping correctly for me (Opera 9.2, FF2, Safari,
> IE7). Only IE6 seems to not cooperate. Are you sure you've fully refreshed... I
> know the question is getting boring, but it really does work for me on Win,
> Linux, OSX.
> 

I'm using FF2 on Linux and yes, I always clear the cache and refresh the browser when testing stuff like this.  The scrolling behavior I see seems to be the same thing Phil described in the third paragraph of his initial report.  Maybe he can confirm whether he still sees it too.
Comment 27 Philip Meyer 2008-03-19 13:40:10 UTC
I was just going to post that I haven't seen this go wrong since Michael's fix.  However, I thought I'd see if I could get it to break again.  I thought I'd found a way to break it again, but then I realised what the "problem" was - I think I can guess what you are seeing.

The crucial thing is if the mouse pointer is positioned within the drop-down list when you are using the keyboard.  When up/down keys are pressed, the selected item moves up/down.  However, when the list of visible options needs to scroll, it automatically selects the item under the mouse pointer!
Comment 28 Mark Miksis 2008-03-19 13:46:46 UTC
Hah, yes.  I can confirm I'm seeing exactly what Phil describes in comment 27.
Comment 29 Michael Herger 2008-03-19 14:11:30 UTC
Please let me know that you can live with this! I'd like to get rid of one more bug :-)
Comment 30 Mark Miksis 2008-03-19 15:03:16 UTC
(In reply to comment #29)
> Please let me know that you can live with this! I'd like to get rid of one more
> bug :-)
> 

I can certainly live with it, but it still seems like a bug.  Can't you just leave it open and retarget it?
Comment 31 Michael Herger 2008-03-20 03:35:53 UTC
Will re-visit after the upgrade to ExtJS2 - thanks!
Comment 32 Michael Herger 2008-04-22 06:05:07 UTC
change 19026 - the "jumping back to where the mouse pointer is" behaviour seems to be fixed with the upgrade to ExtJS2. Can anyone still reproduce this issue?
Comment 33 Philip Meyer 2008-04-26 01:13:53 UTC
Still fails for me, if I try to use the keyboard with the mouse positioned over the control.
Comment 34 Michael Herger 2008-04-30 07:25:49 UTC
The main issue (navigating the list) is fixed. The remaining issue (re-selecting the item under the mouse cursor) won't be fixed, unless it's done in ExtJS2. Let's consider this case closed. Its description sounds so scary for the minor, unsolvable issue there still is...
Comment 35 Chris Owens 2008-07-30 15:30:33 UTC
This bug has now been fixed in the 7.1 release version of SqueezeCenter!  Please download the new version from http://www.slimdevices.com 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.
Comment 36 Chris Owens 2009-07-31 10:17:01 UTC
Reduce number of active targets for SC