Comment 1 for bug 1070638

Revision history for this message
Oliver Sauder (sao) wrote :

I like the idea that all paste events should be done by Diodon. I have also tested in on my system and it does work in certain circumstances.

However before I go into detailed explanation, in general it is not good idea to overwrite default shortcuts.

So the reason why it worked the first time is that the order how the shortcut are registered matters. So when changing the Shortcut in the Diodon preferences, Diodon is the last application to register the shortcut and therefore wins. After a restart it isn't and cannot be insured to be.

Furthermore does Diodon paste automatically by simulating pressing a key to the application which is enabled. So when the primary selection option is enabled it performs a <Ctrl>Insert. When this option is not enabled it performs a <Ctrl>V.

So if either primary selection option is not enabled or an application does not support <Ctrl>Insert, when using <Ctrl>V as a Diodon hotkey there is no way to paste content into those application anymore. Instead, Diodon will always open its menu... ;).

Hence, I need to mark this bug invalid. Thanks for the suggestion though.

See also Bug #871376 which could be a possibility to avoid assigning already used shortcuts.