Closed
Bug 565048
Opened 14 years ago
Closed 14 years ago
move accel+up/down/left/right/home/end keypress handler to the tab container binding
Categories
(Firefox :: Tabbed Browser, defect)
Firefox
Tabbed Browser
Tracking
()
RESOLVED
FIXED
Firefox 3.7a5
People
(Reporter: dao, Assigned: dao)
Details
Attachments
(1 file)
5.02 KB,
patch
|
Gavin
:
review+
|
Details | Diff | Splinter Review |
No description provided.
Attachment #444669 -
Flags: review?(gavin.sharp)
Updated•14 years ago
|
Attachment #444669 -
Flags: review?(gavin.sharp) → review+
Comment 1•14 years ago
|
||
Comment on attachment 444669 [details] [diff] [review] patch >diff --git a/browser/base/content/tabbrowser.xml b/browser/base/content/tabbrowser.xml >+ <handler event="keypress"><![CDATA[ >+ if (event.altKey || event.shiftKey || >+#ifdef XP_MACOSX >+ !event.metaKey) >+#else >+ !event.ctrlKey) >+#endif Not that it matters much, but you need || event.metaKey in the non-XP_MACOSX case to maintain existing behavior. (It appears to be possible for metaKey to be set on beos/qt and apparently also for gtk, though I'm not sure under exactly what circumstances - gtk docs suggest it is dependent on X server config.) We should indeed have tests for this, as Shawn pointed out in the other bug.
Assignee | ||
Comment 2•14 years ago
|
||
http://hg.mozilla.org/mozilla-central/rev/f0822abe3433 added || event.metaKey as suggested
Status: ASSIGNED → RESOLVED
Closed: 14 years ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 3.7a5
You need to log in
before you can comment on or make changes to this bug.
Description
•