Bug 382805

Summary: visibility of the assistant tool is not saved
Product: [Applications] krita Reporter: z-uo <nicolas.bougere>
Component: Tool/AssistantsAssignee: Krita Bugs <krita-bugs-null>
Status: RESOLVED FIXED    
Severity: minor CC: halla, nmaghfurusman
Priority: NOR    
Version First Reported In: 3.1.4   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description z-uo 2017-07-27 14:13:16 UTC
Make some assistant on your canvas,
Hide them 
Save your drawing as a .kra
Open it 
The assistant are now visible.

I think they should stay hidden when opening the file until you choose to make them visible.
Comment 1 joupent 2017-12-12 13:49:07 UTC
Git commit a0f194dfda5f3679b8bf32e4b1539ca167dadf1e by Jouni Pentikäinen.
Committed on 12/12/2017 at 13:47.
Pushed by jounip into branch 'master'.

Save per-assistant visibility

Saving the options in the View menu (show painting assistants, show
assistant previews) remain unimplemented. The flags are stored in the
decoration owned by the view, so they would either need to be serialized
with the view or refactored to be document-wide.

M  +6    -0    libs/ui/kis_painting_assistant.cc

https://commits.kde.org/krita/a0f194dfda5f3679b8bf32e4b1539ca167dadf1e
Comment 2 Halla Rempt 2017-12-22 12:47:51 UTC
Git commit 9efc6169c069dfca154f3b104a7d42b8855733e2 by Boudewijn Rempt, on behalf of Jouni Pentikäinen.
Committed on 22/12/2017 at 12:43.
Pushed by rempt into branch 'krita/3.3'.

Save per-assistant visibility

Saving the options in the View menu (show painting assistants, show
assistant previews) remain unimplemented. The flags are stored in the
decoration owned by the view, so they would either need to be serialized
with the view or refactored to be document-wide.

M  +26   -22   libs/ui/kis_painting_assistant.cc

https://commits.kde.org/krita/9efc6169c069dfca154f3b104a7d42b8855733e2