Bug 394816 (Nivro) - A certain color is picked when creating a file or viewing other files
Summary: A certain color is picked when creating a file or viewing other files
Status: RESOLVED FIXED
Alias: Nivro
Product: krita
Classification: Applications
Component: Color models (show other bugs)
Version: 4.0.3
Platform: Other Microsoft Windows
: NOR normal
Target Milestone: ---
Assignee: Krita Bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-05-29 03:31 UTC by orvinpilien
Modified: 2018-06-05 08:38 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments
Visual image of color changing issue (2.51 MB, image/jpeg)
2018-05-29 03:31 UTC, orvinpilien
Details

Note You need to log in before you can comment on or make changes to this bug.
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