https://bugs.kde.org/show_bug.cgi?id=490843

Dmitry Kazakov <dimul...@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
      Latest Commit|https://invent.kde.org/grap |https://invent.kde.org/grap
                   |hics/krita/-/commit/3b58918 |hics/krita/-/commit/580a313
                   |16897a868630d3570f044df275b |c993972442b42289c55cb9dae8c
                   |c7a197                      |98dba6

--- Comment #8 from Dmitry Kazakov <dimul...@gmail.com> ---
Git commit 580a313c993972442b42289c55cb9dae8c98dba6 by Dmitry Kazakov.
Committed on 31/07/2024 at 09:11.
Pushed by dkazakov into branch 'krita/5.2'.

Fix layer activation issue when opening multiple documents

... and switching between them.

KisNodeManager may emit node change signal right inside setCanvas()
call, which may be received by LayerBox **before** it gto received
its own setCanvas() call. This workaround just checks if the node-to-
be-activated actually belongs to the current image or not.

Ideally, we should make the active layer code a bit more straight-forward
and ensure that there is only one source of truth. But I'm not sure how
to do that right now. Perhaps, during the QML rewite?

M  +14   -0    plugins/dockers/layerdocker/LayerBox.cpp

https://invent.kde.org/graphics/krita/-/commit/580a313c993972442b42289c55cb9dae8c98dba6

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to