|Re: [mdt-papyrus.dev] [PROVENANCE INTERNET] Navigation menu|
This bug only concerns Linux as it works on Windows and MacOS.
So basically we have the following solutions:
1. Keep Alt binding and remove the feature from Linux. The argument is that platform-specific features are common, and Linux users would not expect to use the Alt navigation shortcut, as their OS binds it to something else. Instead they’ll use the Right-click navigation menu instead.
2. Change to CTRL+SHIFT (so it doesn’t impact CTRL or SHIFT multi-selections). This would be less ergonomic but it keeps the feature for all platforms and demands less maintenance effort in general.
Bottom line is we need feedback on CTRL+SHIFT. Is this binding too much of a hassle?
we are currently working on a fix for Bug 516459 - [Diagram] Navigation mechanism with Alt+hover does not work on Linux
The inspiration for the navigation menu in Papyrus is the menu in JDT that comes up if you move the mouse while pressing and holding CTRL. When we introduced the menu first to Papyrus, we used the ALT key instead of CTRL, since CTRL+click is already used
The original issue that the navigation menu vanishes immediately on Linux could be quite trivially solved. But it was not possible to use the combination hold ALT+click, since that is typically already used by the Window manager. In a first fix for the master branch (photon), we've changed the behavior: the menu comes up by pressing "Alt" once, i.e. it does not go away when "Alt" is released.
A disadvantage of this option is that the activation of the menu is quite different than the one in JDT. An alternative option in the gerrit below is to use CTRL+SHIFT (press+hold) as trigger for the menu which makes the solution closer to the to the JDT behavior.https://git.eclipse.org/r/106126
Back to the top