View Issue Details

IDProjectCategoryView StatusLast Update
0001611DraftBugpublic2017-04-12 16:30
ReporterteoboAssigned To 
Status resolvedResolutionwon't fix 
Product Version0.14 
Target VersionFixed in Version 
Summary0001611: grid can not be put on initially on formerly non grid- document
DescriptionOS: Ubuntu 14.04 LTS
Word size: 64-bit
Version: 0.14.3728 (Git)
Branch: master
Hash: 1fd7bd98a46a7a0044476108476f01c44df635ee
Python version: 2.7.6
Qt version: 4.8.6
Coin version: 4.0.0a
SoQt version: 1.6.0a
Steps To Reproduce-open document attachment
-note: Gui:edit/Pref/Draft/snap "Always show grid": checked
-go back to draft canvas: notice grid is not on. -but should be on, no?


2014-07-14 09:29teoboNew Issue


2014-07-14 14:55

administrator   ~0004790

There is no way to trigger an action after a preference has been changed, at the moment, and also no way to trigger an action when a document is created or loaded, so the grid will appear on the first Draft command being run after that. I'm sorry, but it's a limitaiton of freecad at the moment, and there is not much I can do about it...


2014-07-14 16:59

reporter   ~0004792

ok? as I have experienced it: pref-grid is triggered on the first GUI-command.
As happened in the indicated script, several python draft commands could not wake up grid - in other python scripts I remember a permanent grid, however.

It would be of use, if one had a work around to wake up draft grid noninteractively though. Gonna see if I find something.


2014-07-14 17:03

administrator   ~0004793

There is, actually... Draft->Utilities->Show Grid


2014-07-15 13:59

reporter   ~0004794

Last edited: 2017-04-12 11:14

View 2 revisions

Work around for it:
with the indicated script there was no grid, so you maybe draw any line nearby.
After that you can put on grid non interactively at least:
import Draft


>"it's a limitaiton of freecad at the moment, and there is not much I can do about it..."
If I understand right than it is more bug a rather than a design flaw and should/could be fixed some day, right?


2014-07-15 14:02

administrator   ~0004795

It is not a bug (a bug is something that should be working but that is not working). It's just a feature that is not implemented yet.


2014-07-15 21:12

reporter   ~0004799

ok, as you mean. just to support my point one might consider that in the english prefs the option is named "show grid always". And it was confusing to us as freecad newbies when we noticed that it was not only not "always shown" but just initially not shown. So back to the definition "something that should be working" One would will not assume this behaviour as is.

I mean for me it`s ok, if it stays in the feature list though. Never mind.
2014-07-23 12:36wmayerProject@4@ => Draft
2017-04-12 11:09Kunda1Tag Attached: grid
2017-04-12 11:14Kunda1Note Edited: 0004794View Revisions


2017-04-12 11:17

manager   ~0008795

@yorik I can't test this ATM is this still unimplemented?


2017-04-12 14:37

administrator   ~0008799

It is stillnot implemented, but actually with triplus's gui improvements the Draft grid now appears on file load, so we could consider this bug as not relevant anymore.


2017-04-12 16:30

manager   ~0008800

Per yorik's response about @triplus GUI improvements, resolving ticket.
2017-04-12 16:30Kunda1Statusnew => resolved
2017-04-12 16:30Kunda1Resolutionopen => won't fix

Issue History

Date Modified Username Field Change
2014-07-14 09:29 teobo New Issue
2014-07-14 14:55 yorik Note Added: 0004790
2014-07-14 16:59 teobo Note Added: 0004792
2014-07-14 17:03 yorik Note Added: 0004793
2014-07-15 13:59 teobo Note Added: 0004794
2014-07-15 14:02 yorik Note Added: 0004795
2014-07-15 21:12 teobo Note Added: 0004799
2014-07-23 12:36 wmayer Project @4@ => Draft
2017-04-12 11:09 Kunda1 Tag Attached: grid
2017-04-12 11:14 Kunda1 Note Edited: 0004794 View Revisions
2017-04-12 11:17 Kunda1 Note Added: 0008795
2017-04-12 14:37 yorik Note Added: 0008799
2017-04-12 16:30 Kunda1 Status new => resolved
2017-04-12 16:30 Kunda1 Resolution open => won't fix
2017-04-12 16:30 Kunda1 Note Added: 0008800