Closed Bug 265239 Opened 20 years ago Closed 20 years ago

debian: up and down arrows in menulistpopup of menulist scroll by 2 menuitems instead of 1

Categories

(Core :: XUL, defect)

x86
Linux
defect
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 219706

People

(Reporter: dieter, Unassigned)

Details

Attachments

(1 file)

User-Agent:       Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.3) Gecko/20041007 Debian/1.7.3-5
Build Identifier: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.3) Gecko/20041007 Debian/1.7.3-5

In the menulistpopup of EVERY menulist element the up and down arrowkeys scroll
by 2 menuitems instead of 1, i.e. the selection always skips one menuitem. This
is visible in the browser as well as in mozilla's own menulist-popups - ordinary
popups behave as expected. I am running Debian kernel 2.4.26-1-386. This
behaviour occurs under Mozilla 1.7.3 as well as Firefox 0.9.3 so i think it's
gecko-related.

I was trying to fix this by creating my own popupset when at one time i got
lucky and the menulist behaved as expected. I poured my findings into a
workaround (see attached file example.xul). Btw, in my opinion the javascript i
had to use is hilariously unrelated to the goal i was trying to reach ... but it
works for me. Judging from my code I suspect the problem is to be found in bad
initialisation or focus-issues of the menulist/menupopup.


Reproducible: Always
Steps to Reproduce:
1. Goto Edit->Preferences...
2. Select for instance Appearance->Fonts and focus the 'Fonts for:' menulist
3. Use the up/down arrows to move the selection across the menuitems 
Actual Results:  
the selection in the menulist moves by 2 menuitems, always skipping one menuitem


Expected Results:  
erm, move the selection by 1 since all other dropdowns do this :P
It's all in the file exmple-workaround i guess. Workaround is as easy to apply
as it is illogical, but it works :)
It works fine for me. Reporter try a newer mozilla build (1.8ax). Please search
for duplicate bugs before logging. The database is full of dups.

This is a dup of bug 219706, bug 228869
(In reply to comment #2)
> It works fine for me. Reporter try a newer mozilla build (1.8ax). Please search
> for duplicate bugs before logging. The database is full of dups.
> 
> This is a dup of bug 219706, bug 228869

Sorry bout the duplicate, but I did spend a fair amount of time searching for
similar bugs and didn't find any.
I downloaded Firefox1.0PR and it works there. I use the latest mozilla-release
(1.7.3) in a production-environment - not going to use an alpha-release there.
Anyway the js-fix does the trick for now.

*** This bug has been marked as a duplicate of 219706 ***
Status: UNCONFIRMED → RESOLVED
Closed: 20 years ago
Resolution: --- → DUPLICATE
Component: XP Toolkit/Widgets: XUL → XUL
QA Contact: xptoolkit.widgets
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: