Closed Bug 16620 Opened 26 years ago Closed 26 years ago

Mod2 modifies to exec commands

Categories

(Core :: XUL, defect, P3)

Other
Linux
defect

Tracking

()

VERIFIED WORKSFORME

People

(Reporter: jay, Assigned: waqar)

Details

When Mod2 is active (Num Lock on my system), Mozilla executes commands as if I had Mod1 active. For example, with Num Lock on hitting "w" closes the window, hitting "n" opens a new window.
With 1999-10-15-11-M11 on Windows NT, a similar behaviour is evident. With NUMLOCK on, the first keypress, and only the first keypress, after Mozilla gets focus is interpreted as if ALT had been held down at the time. In fact, whether NUMLOCK is left on or not, no other keypress seems to do anything until another window gets focus then Mozilla gets focus again. I don't know the keyboard modifier numbers, but from what jay@tamboli.com reported, it sounds like he was seeing NUMLOCK act as CTRL, not ALT. Curious.
It is acting like ctrl, not alt; however, it's not only the first keypress that is getting modified. For example, I can turn on numlock and type "nn" and get two new windows.
QA Contact: leger → cpratt
cpratt, do you know who should receive this? Thanks!
Assignee: don → trudelle
Component: Browser-General → XP Toolkit/Widgets
Changing component to XP Toolkit/Widgets and reassigning.
The ALT-modification with NUMLOCK seen on Windows NT is bug 17683, now FIXED, and has nothing to do with this bug. That probably means that this bug is OS-specific.
Assignee: trudelle → saari
Target Milestone: M14
assigning to saari as p3 for m14
Assignee: saari → joki
Joki, this is probably your domain
Assignee: joki → waqar
So my guess is this: The linux widget toolkit is passing through keyboard events with the ctrl flag set anytime the numkey is down when the flag should properly be false at that time. Waqar since you've inherited the linux gecko stuff can you take a look?
Status: NEW → ASSIGNED
Status: ASSIGNED → RESOLVED
Closed: 26 years ago
Resolution: --- → WORKSFORME
This is working on RH 6.1.
QA Contact: cpratt → sairuh
verif --seems to wfm usng the 2000-02-07-09 comm bits on linux.
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.