Closed
Bug 246447
Opened 21 years ago
Closed 21 years ago
Alt/Control/Shift/Meta should generate KeyUp and KeyDown but not KeyPress
Categories
(Core Graveyard :: GFX: Gtk, defect)
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: ilya.konstantinov+future, Assigned: ilya.konstantinov+future)
Details
Attachments
(3 files)
|
3.25 KB,
patch
|
bryner
:
review+
jst
:
superreview+
|
Details | Diff | Splinter Review |
|
881 bytes,
text/html
|
Details | |
|
2.54 KB,
patch
|
bryner
:
review+
jst
:
superreview+
|
Details | Diff | Splinter Review |
Alt/Control/Shift/Meta should generate KeyUp and KeyDown events, but not
KeyPress events. (KeyPress events are not supposed to be fired for all kinds of
"system" keys.)
Currently, the gtk implementation is a mess; KeyUp/KeyDown are not generated
for any events, while KeyPress is generated only for Alt.
| Assignee | ||
Comment 1•21 years ago
|
||
Assignee: blizzard → mozilla-bugzilla
Status: NEW → ASSIGNED
| Assignee | ||
Updated•21 years ago
|
Attachment #150588 -
Flags: superreview?(jst)
Attachment #150588 -
Flags: review?(bryner)
Comment 2•21 years ago
|
||
Comment on attachment 150588 [details] [diff] [review]
Patch
How about gtk2? That's relaly what we need to be focusing on.
Attachment #150588 -
Flags: review?(bryner) → review+
Comment 3•21 years ago
|
||
Comment on attachment 150588 [details] [diff] [review]
Patch
sr=jst
Attachment #150588 -
Flags: superreview?(jst) → superreview+
Comment 4•21 years ago
|
||
Checking in nsGtkEventHandler.cpp;
/cvsroot/mozilla/widget/src/gtk/nsGtkEventHandler.cpp,v <-- nsGtkEventHandler.cpp
new revision: 1.186; previous revision: 1.185
done
leaving open for now in case you want to address gtk2 in this bug.
| Assignee | ||
Comment 5•21 years ago
|
||
Use the testcase to verify Mozilla behaves as the bug description says.
| Assignee | ||
Comment 6•21 years ago
|
||
| Assignee | ||
Updated•21 years ago
|
Attachment #152186 -
Flags: superreview?(jst)
Attachment #152186 -
Flags: review?(bryner)
Updated•21 years ago
|
Attachment #152186 -
Flags: review?(bryner) → review+
Comment 7•21 years ago
|
||
Comment on attachment 152186 [details] [diff] [review]
Patch for gtk2
sr=jst
Attachment #152186 -
Flags: superreview?(jst) → superreview+
Comment 8•21 years ago
|
||
gtk2 patch checked in
Checking in nsWindow.cpp;
/cvsroot/mozilla/widget/src/gtk2/nsWindow.cpp,v <-- nsWindow.cpp
new revision: 1.111; previous revision: 1.110
done
please mark fixed if it is.
would this be a good thing for the 1.7 branch?
Comment 9•21 years ago
|
||
the gtk2 checkin caused bug 250198
- event.keyCode = 0;
readding this line fixes that bug
| Assignee | ||
Comment 10•21 years ago
|
||
My patch for bug 246409 somehow crept into this patch. I appologize. Please
return this line. I'll look further on how I can solve bug 246409 safely.
| Assignee | ||
Updated•21 years ago
|
Status: ASSIGNED → RESOLVED
Closed: 21 years ago
Resolution: --- → FIXED
Updated•16 years ago
|
Product: Core → Core Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•