View Issue Details

IDProjectCategoryView StatusLast Update
0003952SketcherBugpublic2020-06-05 17:23
ReporteropenBrain Assigned ToopenBrain  
Status closedResolutionfixed 
Product Version0.18 
Target Version0.19Fixed in Version0.19 
Summary0003952: Sketcher grid spacing isn't kept
DescriptionThe grid spacing set in Sketcher isn't kept from one sketch editing to another.
The parameter is reset to default as soon as Sketcher edit mode is exited.
Steps To Reproduce
  • Edit a sketch in Sketcher
  • Display the grid if necessary and set a new spacing value (eg. 50x50 mm)
  • Exit Sketcher edit mode
  • Edit again the same sketch => The grid spacing is reset to default
Additional InformationSeems to be linked with Qt5 builds

Link to forum (FR thread)
TagsNo tags attached.
FreeCAD Information



2019-05-01 04:46

manager   ~0013074

Apparently this is not related to Qt5; problem started sometime after 0.18.15007 and affects both Qt4 and Qt5.

This version is affected:

OS: Windows 8.1
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.19.16523 (Git)
Build type: Release
Branch: master
Hash: 9b3ec233c8b21e0df66fada487cd10f471d60cac
Python version: 2.7.14
Qt version: 4.8.7
Coin version: 4.0.0a
OCC version: 7.2.0
Locale: French/France (fr_FR)


2019-05-12 20:40

developer   ~0013099

Confirmed in the forum thread that bug exists both with Qt4 & Qt5 versions.
I removed the 'Qt5' tag but can't modify the bug info accordingly. If some superuser can do it, it could avoid further confusion. ;)


2019-05-30 13:11

administrator   ~0013131

@abdullah care to weigh in on this at your convenience?


2019-07-12 23:05

developer   ~0013340

I cannot reproduce this. Here the grid size settings are kept. I set for different sketches in one model different grid sizes and in effect these settings were correctly stored. To use the same grid size for all sketches I set a value in the sketcher preferences and it works.

I reported the issue that the dialog however always shows you the grid size would be "0 mm" as bug 0004055.

OS: Windows 7
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.19.17331 (Git)
Build type: Release
Branch: master
Hash: cf18161dc26267c259ac21675cb9637263bf4152
Python version: 3.6.6
Qt version: 5.6.2
Coin version: 4.0.0a
OCC version: 7.3.0
Locale: German/Germany (de_DE)


2019-07-13 19:17

developer   ~0013341

Still reproduced with
OS: Ubuntu 18.04.2 LTS (KDE/plasma)
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.19.17352 (Git)
Python version: 3.6.8
Qt version: 5.9.5
Coin version: 4.0.0a
OCC version: 7.3.0
Locale: French/France (fr_FR)


2020-05-28 13:46

manager   ~0014432

git comit 811a44643cb8bba2e4c710b0c6d565ad1ec1c61b


2020-06-05 17:23

viewer   ~0014478

Fix committed to master branch.

Related Changesets

FreeCAD: master 811a4464

2020-04-11 14:33:38


Committer: abdullahtahiriyo Details Diff
[Sketcher] Local settings are correctly restored ; fixes 0003952,0004058 Affected Issues
0003952, 0004058
mod - src/Mod/Sketcher/Gui/CommandCreateGeo.cpp Diff File
mod - src/Mod/Sketcher/Gui/TaskSketcherGeneral.cpp Diff File
mod - src/Mod/Sketcher/Gui/TaskSketcherGeneral.h Diff File
mod - src/Mod/Sketcher/Gui/ViewProviderSketch.cpp Diff File
mod - src/Mod/Sketcher/Gui/ViewProviderSketch.h Diff File

Issue History

Date Modified Username Field Change
2019-04-30 20:01 openBrain New Issue
2019-05-01 04:31 normandc Project FreeCAD => Sketcher
2019-05-01 04:46 normandc Note Added: 0013074
2019-05-01 08:07 openBrain Tag Attached: Qt5
2019-05-12 20:37 openBrain Tag Detached: Qt5
2019-05-12 20:40 openBrain Note Added: 0013099
2019-05-30 13:10 Kunda1 Additional Information Updated View Revisions
2019-05-30 13:11 Kunda1 Status new => confirmed
2019-05-30 13:11 Kunda1 Note Added: 0013131
2019-05-30 13:12 Kunda1 Target Version => 0.19
2019-07-12 23:05 uwestoehr Note Added: 0013340
2019-07-13 19:17 openBrain Note Added: 0013341
2020-04-09 12:12 openBrain Assigned To => openBrain
2020-04-09 12:12 openBrain Status confirmed => assigned
2020-05-28 13:46 abdullah Status assigned => closed
2020-05-28 13:46 abdullah Resolution open => fixed
2020-05-28 13:46 abdullah Fixed in Version => 0.19
2020-05-28 13:46 abdullah Note Added: 0014432
2020-06-05 17:23 Changeset attached => FreeCAD master 811a4464
2020-06-05 17:23 guest Note Added: 0014478