Page 1 of 1

UI bug(?) in whitelist

Posted: Fri Jul 30, 2010 2:06 am
by {Tim}
I've found what appears to be a bug in the whitelist editing UI, though it may actually be intended. (Or an unintended side-effect of intended behaviour.)

Fx 3.6.8, NS 2.0
When you type into the text box the address of a site that is on the list, the list automatically zooms to that list item so you can see it is already there.

So far so good. However, if you leave that text in the box (including if you just entered it and added it to the list), now every time you click somewhere in the list, it will scroll back to the item that is written in the text box. For example, if you scrolled higher up the list and clicked to select an item, the list suddenly jumps back down to where the typed-in item is. (It still selects the one you clicked on, though.)

There's an easy workaround -- just delete the text in the text box and it won't do it any more.

Re: UI bug(?) in whitelist

Posted: Fri Jul 30, 2010 7:06 am
by therube
the list automatically zooms to that list item so you can see it is already there
I don't see that behavior?
Don't know that its a feature?

Any extension that might be doing that?

Re: UI bug(?) in whitelist

Posted: Fri Jul 30, 2010 2:52 pm
by Alan Baxter
I see it. In Fx 3.6.8 with NoScript 2.0.1rc1. Default theme and settings. No other extensions. I never noticed it before because:
- I rarely type something into the Whitelist > Address of web site: field.
- When I have, I never tried to scroll the whitelist.

To reproduce with default NoScript settings:
- Type about:blank in the Whitelist > Address of web site: field
Result: whitelist window scrolls until about:blank is visible
- Scroll the window until addons.mozilla.org is visible. (Don't edit about:blank.)
- Click on addons.mozilla.org.
Result: whitelist window scrolls until about:blank is visible again.

If it's a bug, it's pretty minor. Interesting, nonetheless. Thank you for reporting it Tim.

Re: UI bug(?) in whitelist

Posted: Fri Jul 30, 2010 3:11 pm
by Giorgio Maone
Confirmed, thanks.

Re: UI bug(?) in whitelist

Posted: Fri Jul 30, 2010 3:19 pm
by therube
Oh, OK, I see it now (with Alan's explanation).
I wasn't looking "correctly".

The address first has to be outside of the viewable area.
Then you must type a full matching address.
So like typing "abou" would not (incrementally) move you to "about:"
You have to type "about:"

Figured if it were to scroll, it would work incrementally like the Filter: in about:config, but the NoScript dialog doesn't work that way.

The jumping back part, kind of unexpected :-).