Closed
Bug 263146
Opened 20 years ago
Closed 19 years ago
use the Cmd key instead of the Ctrl key on Mac ("accel" instead of "control")
Categories
(Firefox :: Keyboard Navigation, defect, P1)
Tracking
()
RESOLVED
FIXED
Firefox1.5
People
(Reporter: steffen.wilberg, Assigned: asaf)
References
()
Details
Attachments
(2 files)
|
6.63 KB,
patch
|
mconnor
:
review+
|
Details | Diff | Splinter Review |
|
11.07 KB,
patch
|
mconnor
:
review+
mconnor
:
approval1.8b4+
|
Details | Diff | Splinter Review |
There are a few locations where "control" is used instead of "accel". "control" is mapped to the Control key on Mac, which shouldn't be used, according to http://www.mozilla.org/access/keyboard/#modifiers Instead, "accel" should be used, which is mapped to the Cmd key on Mac, the common shortcut key. http://bonsai.mozilla.org/cvsblame.cgi?file=mozilla/browser/base/content/browser-sets.inc&rev=1.16.2.1.2.21&mark=274#274 http://bonsai.mozilla.org/cvsblame.cgi?file=mozilla/browser/base/content/search.xml&rev=1.16.4.4&mark=356,370#356 http://bonsai.mozilla.org/cvsblame.cgi?file=mozilla/toolkit/components/help/content/help.xul&rev=1.1.4.1.2.13&mark=134,136#134 http://bonsai.mozilla.org/cvsblame.cgi?file=mozilla/toolkit/content/widgets/tree.xml&rev=1.4&mark=329,338,478,496,570,578#329 http://bonsai.mozilla.org/cvsblame.cgi?file=mozilla/toolkit/mozapps/downloads/content/download.xml&rev=1.11.6.3&mark=528#528
| Reporter | ||
Updated•20 years ago
|
Flags: blocking-aviary1.0mac?
Comment 1•20 years ago
|
||
(In reply to comment #0) > There are a few locations where "control" is used instead of "accel". > "control" is mapped to the Control key on Mac, which shouldn't be used, > according to http://www.mozilla.org/access/keyboard/#modifiers > Instead, "accel" should be used, which is mapped to the Cmd key on Mac, the > common shortcut key. > > http://bonsai.mozilla.org/cvsblame.cgi?file=mozilla/browser/base/content/browser-sets.inc&rev=1.16.2.1.2.21&mark=274#274 ctrl-F5 ==> cmd-F5 I'm not sure if this a good idea - it was always ctrl-reload even in Netscape 4, not cmd-reload. > http://bonsai.mozilla.org/cvsblame.cgi?file=mozilla/browser/base/content/search.xml&rev=1.16.4.4&mark=356,370#356 ctrl-up/down ==> cmd-up/down > http://bonsai.mozilla.org/cvsblame.cgi?file=mozilla/toolkit/components/help/content/help.xul&rev=1.1.4.1.2.13&mark=134,136#134 ctrl-tab ==> cmd-tab Impossible, conflicts with the OS > http://bonsai.mozilla.org/cvsblame.cgi?file=mozilla/toolkit/content/widgets/tree.xml&rev=1.4&mark=329,338,478,496,570,578#329 ctrl-up/down ==> cmd-up/down > http://bonsai.mozilla.org/cvsblame.cgi?file=mozilla/toolkit/mozapps/downloads/content/download.xml&rev=1.11.6.3&mark=528#528 Eh ? this look like ctrl-cmd-n, but I think that the ctrl is ignored here.
| Reporter | ||
Comment 2•20 years ago
|
||
> http://bonsai.mozilla.org/cvsblame.cgi?file=mozilla/toolkit/components/help/content/help.xul&rev=1.1.4.1.2.13&mark=134,136#134 > ctrl-tab ==> cmd-tab > Impossible, conflicts with the OS Ah, right, looks like Cmd+Tab switches applications. > http://bonsai.mozilla.org/cvsblame.cgi?file=mozilla/toolkit/mozapps/downloads/content/download.xml&rev=1.11.6.3&mark=528#528 > Eh ? this look like ctrl-cmd-n, but I think that the ctrl is ignored here. I don't understand. The current code is Ctrl+N, which needs to be changed to Cmd+N. I don't have a Mac to try it though.
Comment 3•20 years ago
|
||
(In reply to comment #2) > http://bonsai.mozilla.org/cvsblame.cgi?file=mozilla/toolkit/mozapps/downloads/content/download.xml&rev=1.11.6.3&mark=528#528 > > Eh ? this look like ctrl-cmd-n, but I think that the ctrl is ignored here. > I don't understand. The current code is Ctrl+N, which needs to be changed to > Cmd+N. I don't have a Mac to try it though. I'm not at my Mac now, but I know that Cmd-N works. The definition of the line looks a bit strange (mentioning 'control', although it shouldn't do that).
| Reporter | ||
Comment 4•20 years ago
|
||
Did you notice that this is for the Download Manager only? It lets you open a new browser window when you have closed all windows except the Download Manager. The key should be in downloads.xul, not downloads.xml by the way.
Comment 5•20 years ago
|
||
(In reply to comment #4) > Did you notice that this is for the Download Manager only? It lets you open a > new browser window when you have closed all windows except the Download Manager. > The key should be in downloads.xul, not downloads.xml by the way. Actually Cmd-N doesn't work at all when only the DM is open, but there bugs filed about that (mostly about menubar, like bug 245206).
| Reporter | ||
Updated•20 years ago
|
| Assignee | ||
Comment 6•20 years ago
|
||
Well, control+n does work in dm (not command+n), that's not related to the menu command. We do want change it to command+n, but i'm afraid it is going to have an ugly bug after the first time you open the file menu _in the download manager_.
| Assignee | ||
Comment 7•20 years ago
|
||
http://bonsai.mozilla.org/cvsblame.cgi?file=mozilla/browser/base/content/browser-sets.inc&rev=1.16.2.1.2.21&mark=274#274 > > ctrl-F5 ==> cmd-F5 > I'm not sure if this a good idea - it was always ctrl-reload even in Netscape 4, > not cmd-reload. We muct change this one, since ctrl+f5 is the default keyboard shorctut for "Focus on Toolbar". We haven't implemented it, but unless you disable full-keyboard-acceess (or changes the default keyboard-shortcut), control+f5 won't work for force-reload.
| Assignee | ||
Comment 8•20 years ago
|
||
*** Bug 263770 has been marked as a duplicate of this bug. ***
| Assignee | ||
Comment 9•20 years ago
|
||
see also bug 263772
| Reporter | ||
Comment 10•20 years ago
|
||
*** Bug 263772 has been marked as a duplicate of this bug. ***
Updated•20 years ago
|
Keywords: helpwanted
| Reporter | ||
Comment 11•20 years ago
|
||
-> Mano.
Assignee: aaronleventhal → bugs.mano
Flags: blocking-aviary1.0mac?
| Assignee | ||
Comment 12•20 years ago
|
||
*** Bug 267958 has been marked as a duplicate of this bug. ***
| Assignee | ||
Comment 13•20 years ago
|
||
(In reply to comment #11) > -> Mano. Sure
Status: NEW → ASSIGNED
Priority: -- → P2
Target Milestone: --- → Firefox1.1
Version: 1.0 Branch → unspecified
| Assignee | ||
Comment 14•20 years ago
|
||
on the road to a real mac app ;)
Attachment #169137 -
Flags: review?(mconnor)
Comment 15•20 years ago
|
||
Comment on attachment 169137 [details] [diff] [review] patch (checked in) a real mac app? scary
Attachment #169137 -
Flags: review?(mconnor) → review+
| Reporter | ||
Comment 16•20 years ago
|
||
Checking in browser/base/content/search.xml; /cvsroot/mozilla/browser/base/content/search.xml,v <-- search.xml new revision: 1.19; previous revision: 1.18 done Checking in browser/base/content/browser-sets.inc; /cvsroot/mozilla/browser/base/content/browser-sets.inc,v <-- browser-sets.inc new revision: 1.31; previous revision: 1.30 done Checking in toolkit/content/widgets/tree.xml; /cvsroot/mozilla/toolkit/content/widgets/tree.xml,v <-- tree.xml new revision: 1.15; previous revision: 1.14 done
| Reporter | ||
Comment 17•20 years ago
|
||
Bug 240696 (ctrl+n in the download manager) is not fixed on the trunk yet. So this bug is fixed.
Status: ASSIGNED → RESOLVED
Closed: 20 years ago
Resolution: --- → FIXED
Updated•20 years ago
|
Keywords: helpwanted
| Assignee | ||
Comment 18•20 years ago
|
||
*** Bug 280559 has been marked as a duplicate of this bug. ***
Comment 19•20 years ago
|
||
Except that the tree's key handlers only check for event.ctrlKey ...
| Reporter | ||
Comment 20•20 years ago
|
||
So we need to consider replacing event.ctrlKey in a couple of places: http://lxr.mozilla.org/seamonkey/search?string=event.ctrlKey Does event.accelKey work? It's not been used anywhere...
Status: RESOLVED → REOPENED
Resolution: FIXED → ---
Updated•20 years ago
|
Flags: blocking-aviary1.1?
| Assignee | ||
Updated•20 years ago
|
Status: REOPENED → ASSIGNED
Comment 21•20 years ago
|
||
Not a blocker, but I would still like to see the remaining bits of this fixed.
Flags: blocking-aviary1.1? → blocking-aviary1.1-
Updated•20 years ago
|
Attachment #169137 -
Attachment description: patch → patch (checked in)
Comment 23•20 years ago
|
||
(In reply to comment #1) http://bonsai.mozilla.org/cvsblame.cgi?file=mozilla/toolkit/components/help/content/help.xul&rev=1.1.4.1.2.13&mark=134,136#134 > > ctrl-tab ==> cmd-tab > Impossible, conflicts with the OS > On OS X, cmd-tab cycles apps while cmd-` cycles though an application's windows. If it's possible or desirable to have a completely different shortcut for the mac version, I would suggest cmd-option-` for cycling tabs. It's a principle known to the user that adding option to a shortcut provides an action that's related to the shortcut without (eg cmd-w close window, cmd-option-w close all windows).
Comment 24•20 years ago
|
||
(In reply to comment #23) > On OS X, cmd-tab cycles apps while cmd-` cycles though an application's windows. > If it's possible or desirable to have a completely different shortcut for the > mac version, I would suggest cmd-option-` for cycling tabs. It's a principle > known to the user that adding option to a shortcut provides an action that's > related to the shortcut without (eg cmd-w close window, cmd-option-w close all > windows). In Safari, it's cmd-shift-arrow.
| Assignee | ||
Comment 25•19 years ago
|
||
Attachment #190539 -
Flags: review?(mconnor)
Attachment #190539 -
Flags: approval1.8b4?
Updated•19 years ago
|
Attachment #190539 -
Flags: review?(mconnor)
Attachment #190539 -
Flags: review+
Attachment #190539 -
Flags: approval1.8b4?
Attachment #190539 -
Flags: approval1.8b4+
| Assignee | ||
Updated•19 years ago
|
Status: ASSIGNED → RESOLVED
Closed: 20 years ago → 19 years ago
Resolution: --- → FIXED
Comment 26•19 years ago
|
||
in safari 1.3 (?) under 10.4.x Apple changed the "change tab" keys to command-shift-[ and command-shift-] (which matches Camino) because command-shift-arrow already had the semantics of being "select everything to the right/left".
You need to log in
before you can comment on or make changes to this bug.
Description
•