Package: mozilla-browser
Version: 2:1.7.8-1sarge10

I have a list of options, one of these is selected. Under certain conditions I want to restrict access to the values above this selected option. I can restrict this and almost everything works well, but one thing doesn't. I will describe my problem with the demo code given. It is attached to this bug report.

As the list of options I have the sequence of "1" to "8", with "4" selected.

When I use <cursor up>, the option "3" is shown shortly before it is reset to "4". When I use <cursor up> again, the option "2" is shown shortly before it is reset to "4". That shouldn't happen, "2" should never be reached this way. Now, when I use <cursor down> to select "5", I don't get "5", but "3" is shown shortly, before it is set to "4". When I use <cursor down> again, nothing happens, and the next <cursor down> shows "5", as it should have shown in the first time. It's as if an internal counter counts down to "2" and first needs to count up to "4" again, before it can count to "5". As I reset the list to "4" each time, there should be "5" immediately. This behaviour is broken.

I tried to eliminate this by setting the selected property of all list items to "false" but the one I want to have selected. I checked with selectedIndex and the settings are as I want them to be.


caspar
Title: Test
01 02 03 04 05 06 07 08

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to