Closed
Bug 325939
Opened 19 years ago
Closed 18 years ago
Cmd-click in bookmarks toolbar does not respect standard shift toggle
Categories
(Camino Graveyard :: Toolbars & Menus, defect)
Tracking
(Not tracked)
RESOLVED
FIXED
Camino1.5
People
(Reporter: bugzilla-graveyard, Assigned: bugzilla-graveyard)
Details
(Keywords: fixed1.8.1)
Attachments
(1 file, 2 obsolete files)
810 bytes,
patch
|
mark
:
review+
mark
:
superreview+
|
Details | Diff | Splinter Review |
The shift key is our standard foreground/background toggle, but we forgot to hook it up for cmd-clicking on bookmarks in the Bookmarks toolbar. Original fix was bug 228478.
Comment 1•19 years ago
|
||
I brought this up in bug 228840, and there's a fix for it in the patch there. Since that patch needs to be reworked anyway, and the fix for this is an easily separable part (just snag the MainController.mm change) it might be worth separating that out to a new patch here and landing it sooner.
Assignee | ||
Comment 2•19 years ago
|
||
Totally untested but looks likely to work ;) (OK, Håkan tested it in the other bug...) cl
Assignee: mikepinkerton → bugzilla
Status: NEW → ASSIGNED
Attachment #210737 -
Flags: superreview?(mikepinkerton)
Attachment #210737 -
Flags: review?(stuart.morgan)
Comment 3•19 years ago
|
||
Comment on attachment 210737 [details] [diff] [review] lets shift key toggle pref I also tested it in the other bug, and it works.
Attachment #210737 -
Flags: review?(stuart.morgan) → review+
Comment 4•19 years ago
|
||
*** Bug 326055 has been marked as a duplicate of this bug. ***
Comment 5•19 years ago
|
||
Comment on attachment 210737 [details] [diff] [review] lets shift key toggle pref sr=pink
Attachment #210737 -
Flags: superreview?(mikepinkerton) → superreview+
Is this 1.0 material? Setting to 1.1 and adding [patch] so we know there's an r/sr'd patch in the event it's not 1.0 stuff.
Summary: Cmd-click in bookmarks toolbar does not respect standard shift toggle → [patch] Cmd-click in bookmarks toolbar does not respect standard shift toggle
Target Milestone: --- → Camino1.1
Comment 7•18 years ago
|
||
Comment on attachment 210737 [details] [diff] [review] lets shift key toggle pref GetCurrentKeyModifiers() sucks, because it's not event-synchronized. GetCurrentEventKeyModifiers() is better. See http://developer.apple.com/documentation/Carbon/Conceptual/Carbon_Event_Manager/Tasks/chapter_3_section_7.html . This is Cocoa, not Carbon, so [[NSApp currentEvent] modifiers] is the closest analogue to GetCurrentEventKeyModifiers().
Attachment #210737 -
Flags: review-
Updated•18 years ago
|
Summary: [patch] Cmd-click in bookmarks toolbar does not respect standard shift toggle → Cmd-click in bookmarks toolbar does not respect standard shift toggle
Comment 8•18 years ago
|
||
Yes, please do not use the carbon event stuff - that only introduces new bugs (see bug 317214 where I'm fixing a few of them). In fact, if we still have uses left of that in the tree - we should convert them to [[NSApp currentEvent] modifiers].
Assignee | ||
Comment 9•18 years ago
|
||
(In reply to comment #8) > Yes, please do not use the carbon event stuff - that only introduces new bugs > (see bug 317214 where I'm fixing a few of them). > > In fact, if we still have uses left of that in the tree - we should convert > them to [[NSApp currentEvent] modifiers]. Bug 320746. cl
Assignee | ||
Comment 10•18 years ago
|
||
Here's a more Cocoa-friendly patch. Someone should probably test this before it gets checked in ;) cl
Attachment #210737 -
Attachment is obsolete: true
Attachment #216486 -
Flags: review?(mark)
Assignee | ||
Comment 11•18 years ago
|
||
Oops. The last one was broken. This one actually works. cl
Attachment #216486 -
Attachment is obsolete: true
Attachment #216487 -
Flags: review?(mark)
Attachment #216486 -
Flags: review?(mark)
Assignee | ||
Comment 12•18 years ago
|
||
Comment on attachment 210737 [details] [diff] [review] lets shift key toggle pref Clearing + flags on obsolete attachment.
Attachment #210737 -
Flags: superreview+
Attachment #210737 -
Flags: review+
Comment 13•18 years ago
|
||
Comment on attachment 216487 [details] [diff] [review] patch that actually works >+ if (([[NSApp currentEvent] modifierFlags] & NSShiftKeyMask) != 0) |!= 0| is redundant and it harms readability. I'll remove it on checkin.
Attachment #216487 -
Flags: superreview+
Attachment #216487 -
Flags: review?(mark)
Attachment #216487 -
Flags: review+
Comment 14•18 years ago
|
||
MainController.mm 1.175 HEAD, 1.142.2.31 MOZILLA_1_8_BRANCH.
You need to log in
before you can comment on or make changes to this bug.
Description
•