Closed
Bug 439336
Opened 16 years ago
Closed 16 years ago
Cmd/Command+Shift+"[" / "]" should switch tabs on Mac
Categories
(Other Applications :: ChatZilla, defect)
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: asqueella, Assigned: bugzilla-mozilla-20000923)
References
Details
(Keywords: polish, Whiteboard: [cz-0.9.84])
Attachments
(1 file, 2 obsolete files)
5.22 KB,
patch
|
Gijs
:
review+
|
Details | Diff | Splinter Review |
As in Safari, Firefox and other Mac applications.
Assignee | ||
Updated•16 years ago
|
Version: unspecified → Trunk
Comment 1•16 years ago
|
||
cmd/ctrl+tab is here: http://bonsai.mozilla.org/cvsblame.cgi?file=/mozilla/extensions/irc/xul/content/handlers.js&rev=1.178&mark=544-551#534 Anyone fancy doing a patch?
Assignee | ||
Comment 2•16 years ago
|
||
This patch also makes the existing shortcuts stricter by requiring the unnecessary modifiers to not be pressed (e.g. Control-Shift?-Tab now requires that Alt is not pressed to work).
Assignee: rginda → silver
Status: NEW → ASSIGNED
Attachment #338658 -
Flags: review?(gijskruitbosch+bugs)
Assignee | ||
Comment 3•16 years ago
|
||
Attachment #338658 -
Attachment is obsolete: true
Attachment #338757 -
Flags: review?(gijskruitbosch+bugs)
Attachment #338658 -
Flags: review?(gijskruitbosch+bugs)
Assignee | ||
Comment 4•16 years ago
|
||
Correct patch this time!
Attachment #338757 -
Attachment is obsolete: true
Attachment #338758 -
Flags: review?(gijskruitbosch+bugs)
Attachment #338757 -
Flags: review?(gijskruitbosch+bugs)
Comment 5•16 years ago
|
||
Comment on attachment 338758 [details] [diff] [review] Same but without old Command-Shift?-Tab shortcut >=== modified file 'xul/content/handlers.js' > <snip> >- case 33: /* pgup */ >- if (e.ctrlKey) >+ case 33: /* Page Up */ >+ // Control-Page Up => previous tab (all platforms) >+ if (e.ctrlKey && !e.altKey && !e.metaKey && !e.shiftKey) Are we sure there are no keyboard layouts where the shift key thing will get in the way? (thinking in particular of laptop keyboards - on my macbook, page up/dn are on the arrow keys, though I think they require the Fn key rather than the shift key). I don't think it would hurt to leave that one off here. :-) The same goes for the []/{} thing. Does that work with other layouts as well, where the {} might not be on the same key as [] ? Maybe I'm misunderstanding how keyboard layouts are represented to JS here, though. As a second point, would it be possible to combine the code for page up/dn in a similar way as is done in the arrows and braces cases? It would reduce code duplication and hopefully improve readability, I think... With those comments addressed, r=me ! :-)
Attachment #338758 -
Flags: review?(gijskruitbosch+bugs) → review+
Assignee | ||
Comment 6•16 years ago
|
||
At least for the []/{} thing, I could find no definitive answer on what the shortcut actually was. Some things said it was Control-{/}, others said Control-Shift-[/]. If you can find out which it officially should be, by all means do so. (Although Control-{/} is going to need quite a bit of work to that code...)
Assignee | ||
Comment 7•16 years ago
|
||
Checked in with page up/down collapsed --> FIXED.
Assignee | ||
Comment 8•16 years ago
|
||
F***ing new Bugzilla interface of FAIL.
Status: ASSIGNED → RESOLVED
Closed: 16 years ago
Resolution: --- → FIXED
Whiteboard: [cz-0.9.84]
You need to log in
before you can comment on or make changes to this bug.
Description
•