Bug 473724 - New Blending Info feature: Opacity info is slow to update
Summary: New Blending Info feature: Opacity info is slow to update
Status: RESOLVED FIXED
Alias: None
Product: krita
Classification: Applications
Component: Dockers (show other bugs)
Version: 5.2.0-beta2
Platform: Neon Linux
: NOR normal
Target Milestone: ---
Assignee: Dmitry Kazakov
URL:
Keywords: regression, release_blocker
Depends on:
Blocks:
 
Reported: 2023-08-24 14:21 UTC by askkegra
Modified: 2023-08-29 08:49 UTC (History)
1 user (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description askkegra 2023-08-24 14:21:19 UTC
Quoting this post from krita-artists.org:
https://krita-artists.org/t/second-beta-for-krita-5-2-0-released-please-help-by-testing-and-reporting-bugs/71139/101


    I love the new Blending Info for layers in the layer docker. Is it a known issue that the %-value for opacity is slow to update between the slider and the blending info?

    When I change the opacity of a layer the blending info take a hot minute to update. But if I click on the layers list or outside the main window it updates immediately.

-

For me it never updates, unless I

    click in the layer list (any interaction there)
    hover over active layer
    make a stroke - updates roughly 1.5 sec after, i.e. at the same time as preview docker

Undo/redo updates it too, but only if the stroke is included in the sequence. Any other interaction with the UI does not trigger the update as far as I can tell.
Comment 1 Dmitry Kazakov 2023-08-28 08:42:26 UTC
Hi, Askkegra!

Thanks a lot for the report. I can confirm the issue! :)
Comment 2 Bug Janitor Service 2023-08-28 23:18:29 UTC
A possibly relevant merge request was started @ https://invent.kde.org/graphics/krita/-/merge_requests/1922
Comment 3 Dmitry Kazakov 2023-08-29 08:48:35 UTC
Git commit fd204a7a6017a6ae2d0d19b24b1fd863e9f48115 by Dmitry Kazakov.
Committed on 29/08/2023 at 10:48.
Pushed by dkazakov into branch 'master'.

Make sure that the node emits nodeChanged() signal on opacity change

That makes the layers model to update the item in the list

M  +1    -0    libs/image/kis_base_node.cpp

https://invent.kde.org/graphics/krita/-/commit/fd204a7a6017a6ae2d0d19b24b1fd863e9f48115
Comment 4 Dmitry Kazakov 2023-08-29 08:49:05 UTC
Git commit 1c2ca25dcd63e5edc8d39d6c7b789d9413a0f787 by Dmitry Kazakov.
Committed on 29/08/2023 at 10:48.
Pushed by dkazakov into branch 'krita/5.2'.

Make sure that the node emits nodeChanged() signal on opacity change

That makes the layers model to update the item in the list

M  +1    -0    libs/image/kis_base_node.cpp

https://invent.kde.org/graphics/krita/-/commit/1c2ca25dcd63e5edc8d39d6c7b789d9413a0f787