Closed Bug 406970 Opened 17 years ago Closed 17 years ago

cmd+tilde to switch windows is broken on latest nightly

Categories

(Core :: Widget: Cocoa, defect, P1)

x86
macOS
defect

Tracking

()

RESOLVED FIXED

People

(Reporter: bhearsum, Assigned: jaas)

References

Details

Attachments

(1 file)

It still works for other things such as Terminal.app, but I can't switch Firefox windows with the keyboard on OS X.
That's a pretty good guess.
Assignee: nobody → joshmoz
Component: OS Integration → Widget: Cocoa
Product: Firefox → Core
Version: unspecified → Trunk
Flags: blocking1.9+
Priority: -- → P1
And now I've confirmed it -- adding the bug 376077 patch to my testing
build triggers the bug.
Blocks: 376077
Attached patch fix v1.0Splinter Review
This fixes the problem. I'm pretty sure I want to go with this patch, but in the interest of time and getting more eyes on it, I'm posting this a little before I normally would. I want to think about it a little more.
Attachment #291727 - Flags: review?(smichaud)
Comment on attachment 291727 [details] [diff] [review]
fix v1.0

This looks fine and works fine (I tested in Minefield).

I don't know if any other system key-combos will need to be
special-cased ... but now there's a convenient place to do so.

I do have one minor quibble:

The lack of parentheses in the line beginning "if ..." makes me
nervous.  The line doesn't need them -- operator precedence makes it
work like it should.  But I had to look up the precedence rules to be
sure of this.  I think the line would be easier to read if you changed
it to (line deliberately broken to stop it being mangled by Bugzilla):

if (([theEvent modifierFlags] & NSCommandKeyMask) &&
    ([theEvent keyCode] == kTildeKeyCode))
Attachment #291727 - Flags: review?(smichaud) → review+
Attachment #291727 - Flags: superreview?(roc)
backed out 376077, please leave this as a dep so I can remember this when I re-do the fix for that bug
Status: NEW → RESOLVED
Closed: 17 years ago
Resolution: --- → FIXED
Attachment #291727 - Flags: superreview?(roc) → superreview+
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: