Tryton 7 - Clipboard on mac

Hi everyone,
I recently upgraded to Tryton version 7 (from version 5!).
Version 5 of Tryton on Mac used the control+c and control+v key combinations to copy and paste values.
In Tryton 7, on some forms, these key combinations launch different actions.
For example, in Party, the control+v combination opens the Sale tab (in Italian “vendita”).

In Tryton, the command+c and command+v combinations have never worked.

Is there a way to customize the key combination?

We removed the custom copy/paste to let to GTK framework which is using the OS setup.

Normally it should work as this is managed by GTK.

You can customize the Tryton’s shortcut by editing the accel.map file.

The key combinations control+c and control+v (normally used in mac OS) do not work in Tryton 7.0

Even if I enter new key combinations, after closing Tryton they are deleted.
I tried to enter copy (command+c) and past (command+v) but they do not work…

In accel.map file the command “command+n” launches the action “Form new”, but in Tryton 7 (ARM processor) I have to use “control+n” to launch it.
Something is wrong…

The copy/paste of text is left to GTK.
But if you are talking about the copy/paste of rows in a list view, then the control key is hard-coded to MOD2 for MacOS and CONTROL for others.

Tryton save the AccelMap on shutdown and loaded on start.
I suspect that you modify the content but not remove the commenting ;.

It looks like Primary is linked to different keys depending on the platform of MacOS.
This is something to investigate on the GTK side.

I suspect that on arm64 build they switch the values of CONTROL_MASK with MOD2_MASK and not on x86_64. So our test for sys.platform == 'darwin' is no more relevant for arm64.

I think you can open a bug for this one.