Created attachment 151240 [details] gif SUMMARY https://krita-artists.org/t/opacity-slider-in-pop-up-palette-brush-editor-is-inaccurate/45509 A user of Ka forum encountered this problem on 5.1 beta 2. I can confirm it on RC1.
I think we're going to have to postpone this until https://invent.kde.org/graphics/krita/-/merge_requests/1334 gets implemented -- the hud uses the widget from the same properties widget that is used in the preset editor, which does track the global opacity correctly...
Created attachment 172721 [details] gif To supplement this bug: When I make changes to data on the brush interface, the 'pop-up palette' cannot synchronize correctly I found that the reason is that 'pop-up palette' will round up the values passed from other places. So 'size' doesn't seem like a big problem. The term 'spacing' is an integer ranging from 1 to 10. And 'opacity' and 'flow' only have 0 and 1
Git commit f7fa3831aa0164218f0715e4863654fe7ca098bc by Freya Lupen. Committed on 22/08/2024 at 19:32. Pushed by freyalupen into branch 'master'. Fix On-Canvas Brush Editor's decimal sliders The externally changed values were being converted to integers by mistake. Related: bug 447800 M +1 -1 plugins/dockers/brushhud/kis_uniform_paintop_property_widget.cpp https://invent.kde.org/graphics/krita/-/commit/f7fa3831aa0164218f0715e4863654fe7ca098bc
Git commit 50295544108c06fd19a0b303b0dc1e28dd434173 by Freya Lupen. Committed on 22/08/2024 at 19:45. Pushed by freyalupen into branch 'krita/5.2'. Fix On-Canvas Brush Editor's decimal sliders The externally changed values were being converted to integers by mistake. Related: bug 447800 M +1 -1 libs/ui/brushhud/kis_uniform_paintop_property_widget.cpp https://invent.kde.org/graphics/krita/-/commit/50295544108c06fd19a0b303b0dc1e28dd434173