Bug 505110 - Colourise tool key strokes swatch size resets on change
Summary: Colourise tool key strokes swatch size resets on change
Status: REPORTED
Alias: None
Product: krita
Classification: Applications
Component: Tools/Colorize (other bugs)
Version First Reported In: 5.2.9
Platform: Microsoft Windows Microsoft Windows
: NOR normal
Target Milestone: ---
Assignee: Krita Bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2025-06-02 02:41 UTC by Alexandre Brault
Modified: 2025-06-24 03:47 UTC (History)
2 users (show)

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


Attachments
Keystrokes zoom out on change (561.75 KB, video/mp4)
2025-06-23 18:09 UTC, Alexandre Brault
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Alexandre Brault 2025-06-02 02:41:24 UTC
SUMMARY
The key strokes swatch can be zoomed in with ctrl+wheel, but if the swatch is modified (by adding or removing a colour, or making one transparent), it resets to the default 16 columns. Zooming the swatch anew zooms from the previous value, so this appears to be an error on the UI side

STEPS TO REPRODUCE
1. Create a colourise mask layer
2. Paint with a few colours to fill the swatch
3. Increase the swatch size with Ctrl+scroll
4. Modify the swatch by painting with a new colour, removing a colour from the swatch or making one transparent

OBSERVED RESULT
The key stroke swatch resets to 16 columns

EXPECTED RESULT
The key stroke swatch retains its zoom


SOFTWARE/OS VERSIONS
Windows: 10.0.26100 Build 26100 (Windows 11 24H2)

Qt Version: 5.15.7

ADDITIONAL INFORMATION
Comment 1 Lukas 2025-06-23 17:07:03 UTC
Hey Alexandre, Im having trouble following your steps. Can you please specify what you mean by "swatch"? Also, there is no default key binding with ctrl+mousewheel, did u manually add that by chance? If so, please specify which exact hotkey command you have bound this to. Thank you!
Comment 2 Alexandre Brault 2025-06-23 18:09:28 UTC
Created attachment 182571 [details]
Keystrokes zoom out on change

The Key Strokes palette in the Colourise Mask Tool options. It's not a bound hot key, the zooming is hardcoded in the tool 

https://invent.kde.org/graphics/krita/-/blob/master/plugins/tools/tool_lazybrush/kis_tool_lazy_brush_options_widget.cpp#L52-62
Comment 3 Bug Janitor Service 2025-06-24 03:47:50 UTC
๐Ÿ›๐Ÿงน Thanks for your comment!

Automatically switching the status to REPORTED so the team can perform further triage.

In the future you may also do this yourself when providing needed information.