Bug 478715 - Adding colors to palette spikes hard drive use, indicating data being written, that is completely unnecessary.
Summary: Adding colors to palette spikes hard drive use, indicating data being written...
Status: RESOLVED FIXED
Alias: None
Product: krita
Classification: Applications
Component: Color models (other bugs)
Version First Reported In: unspecified
Platform: Microsoft Windows Microsoft Windows
: NOR normal
Target Milestone: ---
Assignee: Krita Bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-12-19 09:22 UTC by Kia
Modified: 2025-04-10 10:25 UTC (History)
1 user (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Kia 2023-12-19 09:22:44 UTC
SUMMARY
When I add a color to the palette, the hard drive use, and for some reason network spikes briefly. This causes a short lag and and unnecessary wear and tare on the hardware if my assumption is true.
The color palette has save/load options and the data is small enough that we can keep it in ram until the user decides to save the document or the palette. Fixing this will make the program feel more responsive and enjoyable.

STEPS TO REPRODUCE
1. Select a color
2. Add it to the palette
3. Listen to the hard drive (in case of mechanic ones) or check the task manager

OBSERVED RESULT
Lag when adding colors to the palette

EXPECTED RESULT
Smooth operation
Comment 1 Bug Janitor Service 2024-10-25 13:44:37 UTC
A possibly relevant merge request was started @ https://invent.kde.org/graphics/krita/-/merge_requests/2260
Comment 2 Halla Rempt 2025-04-10 09:57:46 UTC
Git commit 538e4031d2c3ed25c9b265fe9faf9caaabe455e5 by Halla Rempt, on behalf of Mathias Wein.
Committed on 10/04/2025 at 08:35.
Pushed by rempt into branch 'mr/2260'.

Color Sampler Tool: Don't save palette on each added entry

Palette widgets are now able to pick up the changes automatically
without saving a new version.

M  +0    -5    plugins/tools/basictools/kis_tool_colorsampler.cc

https://invent.kde.org/graphics/krita/-/commit/538e4031d2c3ed25c9b265fe9faf9caaabe455e5