| Summary: | The "icon size" slider in the Brush Presets docker works with click and drag but not with MMB scrolling | ||
|---|---|---|---|
| Product: | [Applications] krita | Reporter: | aiena.makehuman |
| Component: | Dockers | Assignee: | Krita Bugs <krita-bugs-null> |
| Status: | RESOLVED FIXED | ||
| Severity: | normal | CC: | ahab.greybeard |
| Priority: | NOR | ||
| Version First Reported In: | 5.0.2 | ||
| Target Milestone: | --- | ||
| Platform: | Other | ||
| OS: | Linux | ||
| Latest Commit: | https://invent.kde.org/graphics/krita/commit/d59747b8ad97fa0f19743970687b4f174e1d58b5 | Version Fixed/Implemented In: | |
| Sentry Crash Report: | |||
|
Description
aiena.makehuman
2022-02-21 18:10:11 UTC
I did some more testing and found another way to trigger this bug with clicking instead of scrolling. I am unsure if this is another bug or something similar is going on and can be fixed together. Clicking anywhere in the region to the left or right of the "icon size" slider button increments/decrements the slider but has no effect on icon size as well. The behavior is similar but there is no need even for a scroll wheel to trigger it. I can confirm this for appimages 4.4.0, 4.4.8, 5.0.2 and the Feb 24 5.1.0-prealpha (git 96871c7) appimages on Debian 10. The displayed icon size only changes if the icon size handle is grabbed and then moved. Scroll wheel rotation and clicking along the slider bar will change the setting but not the icon displayed size. This is the case for Details view and Thumbnails view. (In reply to Ahab Greybeard from comment #2) > I can confirm this for appimages 4.4.0, 4.4.8, 5.0.2 and the Feb 24 > 5.1.0-prealpha (git 96871c7) appimages on Debian 10. > > The displayed icon size only changes if the icon size handle is grabbed and > then moved. > Scroll wheel rotation and clicking along the slider bar will change the > setting but not the icon displayed size. > This is the case for Details view and Thumbnails view. Thank you for testing this further. I can confirm this in details view too thought I did not test that originally. So the behavior seems consistent though not what one would expect. Git commit d59747b8ad97fa0f19743970687b4f174e1d58b5 by Mathias Wein. Committed on 17/05/2022 at 02:17. Pushed by mwein into branch 'master'. Fix preset chooser's thumbnail size slider only reacting to dragging There are other means to manipulate the slider, including mouse wheel and cursor keys. Connect the update to the valueChanged signal instead, and saving the value to config file when the menu gets hidden. Also fix slider getting out of sync between chooser instances. M +15 -10 libs/ui/widgets/kis_paintop_presets_chooser_popup.cpp M +1 -0 libs/ui/widgets/kis_paintop_presets_chooser_popup.h M +3 -2 libs/ui/widgets/kis_preset_chooser.cpp https://invent.kde.org/graphics/krita/commit/d59747b8ad97fa0f19743970687b4f174e1d58b5 |