Opened 10 years ago

Closed 9 years ago

Last modified 9 years ago

#9553 closed defect (fixed)

Editor: meta key not working (mac FF and safari)

Reported by: bill Owned by: bill
Priority: high Milestone: 1.5
Component: Editor Version: 1.3.0
Keywords: Cc:
Blocked By: Blocking:

Description

Seems like on mac, meta-a should select all text, meta-b should turn on bold mode, etc. But the only thing that works is ctrl-a, ctrl-b, etc.

Attachments (1)

metaKeyHandler.patch (2.7 KB) - added by Jared Jurkiewicz 9 years ago.
Quick patch I think will resolve this, but I don't have a mac to try it.

Download all attachments as: .zip

Change History (6)

comment:1 Changed 10 years ago by strife25

meta-a, meta-z, meta-c, meta-x, and meta-v works for me as expected on a mac, although bolding and formatting hotkeys do not accommodate the meta keys on the mac.

comment:2 Changed 10 years ago by bill

Milestone: tbdfuture

Ah, you are right, meta-a works but meta-b, meta-i etc. don't.

Changed 9 years ago by Jared Jurkiewicz

Attachment: metaKeyHandler.patch added

Quick patch I think will resolve this, but I don't have a mac to try it.

comment:3 Changed 9 years ago by bill

Milestone: future1.5
Owner: set to bill
Status: newassigned

Talk w/Jared about this, decided to just treat ctrl and meta equivalently. Will check in that one line change.

comment:4 Changed 9 years ago by bill

Resolution: fixed
Status: assignedclosed

(In [22087]) treat meta- same as ctrl-, for benefit of mac users, fixes #9553 !strict

comment:5 Changed 9 years ago by bill

Note that meta still doesn't work on safari, I'm not even getting an onkeypress event. Technically I get an event when the meta key itself is depressed, but no additional event when the B or A key is depressed. Ctrl-b works fine.

Note: See TracTickets for help on using tickets.