View Issue Details

IDProjectCategoryView StatusLast Update
0001648SketcherBugpublic2015-01-15 09:39
Reportermghansen256 Assigned To 
PrioritynormalSeverityminorReproducibilityalways
Status closedResolutionfixed 
PlatformLinux 64bitOSKubuntuOS Version14.04
Product Version0.14 
Summary0001648: Sketcher: New constraints are remain even though cancel is pressed when sketcher asks for length
DescriptionWhen adding a length constraint on a line, a dialog asking for the length appears. Press cancel in this dialog -> I would expect the newly created constraint to be automatically removed, but it remains with its initial value.
TagsNo tags attached.
FreeCAD Information

Relationships

has duplicate 0001916 closedwmayer Cannot cancel angle constraint dialogue in sketcher 

Activities

wmayer

2014-07-30 11:30

administrator   ~0004879

That's not a bug that's intended behaviour.

In the past when adding a new constraint we didn't show a dialog and just left the default value. Some people were not happy with this because they wanted to change the length, angle, ... immediately and had to double-click the new item each time. That's why we started to show the dialog with the current length, angle, ... as default and the user can change it or just leave the default.

On the undo stack this creates two actions when changing the value or one action when leaving the default.

Then there is still a way to force the old behaviour without showing the dialog. You have to set the key "ShowDialogOnDistanceConstraint" to 0 at the path "User parameter:BaseApp/Preferences/Mod/Sketcher/General".

If you think this behaviour should be changed then it's best to discuss this on the forum.

Related Changesets

FreeCAD: master 17099d05

2015-01-15 00:36:44

wmayer

Details Diff
+ fixes 0001916: Cannot cancel angle constraint dialogue in sketcher Affected Issues
0001648, 0001916
mod - src/Mod/Sketcher/Gui/CommandConstraints.cpp Diff File

Issue History

Date Modified Username Field Change
2014-07-29 20:37 mghansen256 New Issue
2014-07-30 11:30 wmayer Note Added: 0004879
2014-12-29 00:19 wmayer Status new => closed
2014-12-29 00:19 wmayer Resolution open => won't fix
2015-01-12 18:40 wmayer Relationship added has duplicate 0001916
2015-01-14 23:37 wmayer Resolution won't fix => fixed
2015-01-15 09:39 wmayer Changeset attached => FreeCAD Master master 17099d05