Mantis Bug Tracker

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0000891Taste[All Projects] TASTE-IV/DVpublic2019-11-14 16:462019-12-12 13:48
Assigned Toellidiss 
PlatformOSOS Version

COO8 : improve the way to create functions


In the current version, functions can be created by using the main menu, the contextual menu or the toolbar.

Creating a function :
* from the main menu consists in selecting the "new", then the "new function" and finally create the function on the diagram : 2 operations and mouse movement before creating for each functions
* from the contextual menu consists in clicking on the right mouse on the diagram, then selecting the "new function" entry and finally create the function : 2 operations and no mouse movement (except for drawing the create rectangle) for each functions
* from the toolbar consists in clicking on the "new function button" and create the function on the diagram : 1 operation and mouse movement for each function

We propose a new way to create functions : a continuous function creation mode. In this mode, the user has to click on a checkbox button on the toolbar and then create every functions he needs : 1 operation at start and then only mouse movement for each functions.

TagsNo tags attached.
Attached Files

- Relationships

-  Notes
maxime (administrator)
2019-11-15 09:46

No, I don't think this is useful.

The requirement is to allow the user to draw a rectangle (click-move), and then two possibilities:

1) Either the rectangle contains some elements, in which case they get selected (that is the current behaviour)

2) Or there is nothing on screen, in which case the context menu should appear and let the user select "New Function" or any of the other possible symbols (comment, function type, instance...)

ellidiss (developer)
2019-11-15 10:21
edited on: 2019-11-15 10:22

Well, you have less operation to create functions (and this approach is a classic one that you find in many drawing softwares).

I start to understand what you want : the selection rectangle is used as the creation rectangle.

When the user create a component on the diagram, no pb, but if you try to create, for example, a function in a function there is a big pb :
the user have to zoom, and make the parent function 90% of the diagram size to pass in selection mode and be able to draw the selection rectangle.

As a workaround, i can force the selection rectangle to be drawn with a key (alt for example) or code the feature, as is, with its pros and cons.

maxime (administrator)
2019-11-15 10:42

I suggest to use Ctrl + draw the rectangle to create a new function. Then it will work everywhere and is strictly distinct from the Selection mode.

ellidiss (developer)
2019-11-15 13:33

The Ctrl key is already use to make multi selection without the selection rectangle

maxime (administrator)
2019-11-15 13:45

Should not be an issue - Ctrl-Click + Move is not the same as Ctrl-Click-ReleaseMouseButton

ellidiss (developer)
2019-11-15 13:55

the ctrl+move is already use to move a multiple selection. Furthermore, in the current state of our framework/tk it could be difficult to spot a ctrl+move.

ellidiss (developer)
2019-12-12 13:48

in release 2.3.1

- Issue History
Date Modified Username Field Change
2019-11-14 16:46 ellidiss New Issue
2019-11-14 16:46 ellidiss Status

new => assigned

2019-11-14 16:46 ellidiss Assigned To

=> ellidiss

2019-11-15 09:46 maxime Note Added: 0003675
2019-11-15 10:21 ellidiss Note Added: 0003676
2019-11-15 10:22 ellidiss Note Edited: 0003676 View Revisions
2019-11-15 10:22 ellidiss Note Edited: 0003676 View Revisions
2019-11-15 10:42 maxime Note Added: 0003677
2019-11-15 13:33 ellidiss Note Added: 0003678
2019-11-15 13:45 maxime Note Added: 0003679
2019-11-15 13:55 ellidiss Note Added: 0003680
2019-11-25 14:29 ellidiss Summary

C008 : improve the way to create functions => COO8 : improve the way to create functions

2019-12-12 13:48 ellidiss Note Added: 0003698
2019-12-12 13:48 ellidiss Status

assigned => resolved

2019-12-12 13:48 ellidiss Resolution

open => fixed

Copyright © 2000 - 2011 MantisBT Group
Powered by Mantis Bugtracker