Accelerator integration with OSX is a touch one to tackle.
Inkscape uses GDK events to detect keystokes, instead of more modern GtkAccelerators.
The Left Meta Key (or "Apple", "Command", "Windows flag" or "Windows start") is not properly detected in src/event-context.cpp.
Once meta detection is achieved in src/event-context.cpp, it would be trivial to add support for Mac accelerators, modifying
shortcuts.cpp shortcuts.h
and
keys/default.xml (replacing "Ctrl" with "Meta", where appropriate).
Best,
Valerio
On 1/7/13 7:58 AM, ~suv wrote:
Correction:
On 07/01/2013 15:45, ~suv wrote:
- Known issues with GTK+/Quartz:
- Quartz backend: Modifiers (Ctrl <-> Alt/Cmd) not swapped (bug #1043266, #438603)
Of course I meant this:
- Quartz backend: Modifiers (Ctrl <-> Cmd) not swapped
A minor detail with regard to modifiers with the Quartz backend: AFAIU the (default) 'Mac' key-theme settings file results in a mixed use of modifiers within Inkscape - in text entries and other widgets displaying text content, copy&paste gets remapped to 'Cmd+C' and 'Cmd+V', whereas elsewhere one has to use 'Ctrl+C' and 'Ctrl+V'.