Bug 495149 - [Tooling] Remove resize handles on ports to avoid resizing by mistake
Summary: [Tooling] Remove resize handles on ports to avoid resizing by mistake
Status: CLOSED FIXED
Alias: None
Product: Papyrus-rt
Classification: Modeling
Component: tool (show other bugs)
Version: 0.7.2   Edit
Hardware: PC Windows 7
: P2 normal
Target Milestone: 0.8.0   Edit
Assignee: Christian Damus CLA
QA Contact:
URL:
Whiteboard:
Keywords: ui
Depends on:
Blocks:
 
Reported: 2016-06-01 08:37 EDT by Peter Cigehn CLA
Modified: 2016-09-27 08:12 EDT (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Peter Cigehn CLA 2016-06-01 08:37:18 EDT
Now when the ports have been made non-resizable (see Bug 494903), it must also be ensured that the resize handles are not shown either. Even though the port is not possible to resize any longer, the resize handles are displayed and the user can start resizing, showing the "resize shadow" and a stop-sign. 

This is just confusing and error prone. Earlier when the ports where resizable, I myself managed to resize the ports, i.e. grab any of the resize handles, by mistake when my intention actually was simply to move the port. If the resize handles are kept (even though it is not possible to resize), users will still grab the resize handles by mistake when they intend to move the port, and then they will end up getting the "resize shadow" and the stopsign, and the original intent of moving the port will fail. This will just be annoying in the long run.

Ensure that if the port shall not be resizable, then also ensure that no resize handles are displayed (or "grabbable") when the intention is to move the port.
Comment 1 Eclipse Genie CLA 2016-09-07 17:40:57 EDT
New Gerrit change created: https://git.eclipse.org/r/80633
Comment 2 Peter Cigehn CLA 2016-09-08 03:10:44 EDT
I quickly tested the Gerrit change and it looks good! Behaves much better when the port only have the selection/move handles.
Comment 4 Christian Damus CLA 2016-09-08 08:48:05 EDT
(In reply to Eclipse Genie from comment #3)
> Gerrit change https://git.eclipse.org/r/80633 was merged to [master].
Comment 5 Peter Cigehn CLA 2016-09-08 10:31:05 EDT
Verified in the latest Papyrus-RT build that the resize handles have been removed on ports, and that only the selection/move handles are left.
Comment 6 Peter Cigehn CLA 2016-09-27 08:12:40 EDT
Closing as verified fixed.