Closed Bug 406944 Opened 17 years ago Closed 17 years ago

cmd/ctrl+enter does not work on Mac

Categories

(Other Applications Graveyard :: ChatZilla, defect)

x86
macOS
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: Gijs, Assigned: Gijs)

References

Details

(Whiteboard: [cz-0.9.80])

Attachments

(1 file, 1 obsolete file)

3.15 KB, patch
bugzilla-mozilla-20000923
: review+
Details | Diff | Splinter Review
STR: 1. type "/echo foo" in the single line input box 2. hit ctrl+enter AR: Nothing happens 2b. hit cmd+enter AR: "/echo foo" gets executed ER: either or both of these should do "/say /echo foo" instead.
So here's something interesting: if you use ctrl+enter on mac, the keycode is actually 77. Go figure. Actually, I tried to do precisely that and can't figure out why this is the case, but anyway, that's what's screwing us here. We could wallpaper over it, of course, but I'd really like to know why the hell it uses a different keycode...
So, of course, it works on trunk. I blame carbon. Do we want a wallpaper for branch only? I suppose that'd help at least the Fx 2.0 users and such...
Attached patch Patch (obsolete) — Splinter Review
Wallpaper. This is not very neat, but I preferred copying the default code over copying the Return code. Not sure which would be better...
Assignee: rginda → gijskruitbosch+bugs
Status: NEW → ASSIGNED
Attachment #295758 - Flags: review?(silver)
Comment on attachment 295758 [details] [diff] [review] Patch This is a bug in the 1.8 branch DOM code - include a bug# in the comment if there is one. You should also note in the comment that 77 = "M", and Control-M is the old-school way to enter the CR code. r=silver
Attachment #295758 - Flags: review?(silver) → review+
Attached patch Better PatchSplinter Review
Didn't test this one, but I'm pretty sure it should function the same, and code-wise it's a lot neater.
Attachment #295826 - Flags: review?(silver)
Attachment #295758 - Attachment is obsolete: true
Comment on attachment 295826 [details] [diff] [review] Better Patch Please include the note about 77 == "M", and that Control-M is old-school <Enter>.
Attachment #295826 - Flags: review?(silver) → review+
Checking in mozilla/extensions/irc/xul/content/handlers.js; /cvsroot/mozilla/extensions/irc/xul/content/handlers.js,v <-- handlers.js new revision: 1.165; previous revision: 1.164 done
Status: ASSIGNED → RESOLVED
Closed: 17 years ago
Resolution: --- → FIXED
Whiteboard: [cz-0.9.80]
Product: Other Applications → Other Applications Graveyard
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: