|
Re: Mouse right-click to move view area on editor at 1.9.0 RC3 [message #1784837 is a reply to message #1784816] |
Wed, 04 April 2018 15:50 |
|
First of all interestingly I was not aware about the right button move behavior. I experimented a bit with the 1.9 and looked into the code where this is coming from and found a view things. First of all I was not quickly able to locate where and how the pull down menu is shown. Therefore I don't know how to get rid of it when moving. Furthermore I experimented on Windows and Linux and found a big difference. On Linux the menu is even coming on mouse down events.
However I found the code which is responsible for middle and right mouse button moves. There I discovered there is an option that allows to move the canvas with the left button when holding the space key.
As the right button is a little bit problematic with getting a portable implementation I would like to ask if the <space> + left mouse would be fine for you as move option. If yes I would remove the right key option as whole as I think it just clutters the code at this place.
|
|
|
|
Re: Mouse right-click to move view area on editor at 1.9.0 RC3 [message #1784991 is a reply to message #1784878] |
Fri, 06 April 2018 17:54 |
|
I think you misunderstood me here a bit. The problem is not that I don want to discover the code (I spent quite some time to roughly understand what is going on here). The problem is how the Eclipse platform and Eclipse GEF are handling mouse presses. The point is that how to implement the movement handling and the menu are complete separate functions. Even worse some of the menu items contributed by other plannings (e.g., the monitoring) is not under control of the diagram java code. Therefore currently I don't even see a way how to correctly handle your request. Furthermore as pointed out above on Linux (I know you don't care about this) the menu is even handled differently so some code my work only on one of the platforms.
Therefore I asked if it wouldn't be cleaner from an usability and consistency point of view to remove the right click move canvas feature.
BTW you can also move the canvas very easily with a left click drag in the outline view.
|
|
|
Powered by
FUDForum. Page generated in 0.03849 seconds