Bug 394816 (Nivro)

Summary: A certain color is picked when creating a file or viewing other files
Product: [Applications] krita Reporter: orvinpilien
Component: Color modelsAssignee: Krita Bugs <krita-bugs-null>
Status: RESOLVED FIXED    
Severity: normal    
Priority: NOR    
Version: 4.0.3   
Target Milestone: ---   
Platform: Other   
OS: Microsoft Windows   
Latest Commit: Version Fixed In:
Attachments: Visual image of color changing issue

Description orvinpilien 2018-05-29 03:31:37 UTC
Created attachment 112938 [details]
Visual image of color changing issue

When I startup Krita, a color is picked (In my case: #8d5943). Changing the color in-tab is completely fine. But when I startup a new file or view other file tab, it updates the same color instead of the color I recently picked.
Comment 1 Halla Rempt 2018-06-05 08:38:17 UTC
Git commit 11eaaf3538b2936bd4d6aaf9f3ca638df72981a7 by Boudewijn Rempt.
Committed on 05/06/2018 at 08:37.
Pushed by rempt into branch 'krita/4.0'.

Restore the last-used color only on startup

We save the last used color only on application exit, when the
KisViewManager object is deleted, so we should only read the option
on creating the KisViewManager, not every time we create a new
view.

M  +8    -7    libs/ui/KisViewManager.cpp

https://commits.kde.org/krita/11eaaf3538b2936bd4d6aaf9f3ca638df72981a7
Comment 2 Halla Rempt 2018-06-05 08:38:35 UTC
Git commit 7222ff60f3517e139ebeb89f6346be6b938ba0a8 by Boudewijn Rempt.
Committed on 05/06/2018 at 08:38.
Pushed by rempt into branch 'master'.

Restore the last-used color only on startup

We save the last used color only on application exit, when the
KisViewManager object is deleted, so we should only read the option
on creating the KisViewManager, not every time we create a new
view.
(cherry picked from commit 11eaaf3538b2936bd4d6aaf9f3ca638df72981a7)

M  +8    -7    libs/ui/KisViewManager.cpp

https://commits.kde.org/krita/7222ff60f3517e139ebeb89f6346be6b938ba0a8