Summary: | No layer is selected on opening a document in Krita | ||
---|---|---|---|
Product: | [Applications] krita | Reporter: | Robby Engelmann <robby.engelmann> |
Component: | * Unknown | Assignee: | Halla Rempt <halla> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | akkoziol, dimula73, halla, kritabugs, paul, penguinflyer2222, robby.engelmann, thrabchak, tiago.freire, tnemeth, torben.spieker |
Priority: | NOR | Keywords: | regression |
Version: | 5.2.2 | ||
Target Milestone: | --- | ||
Platform: | openSUSE | ||
OS: | Linux | ||
Latest Commit: | https://invent.kde.org/graphics/krita/-/commit/badd490957213fa3989468339a78eaadb1f8bb87 | Version Fixed In: | |
Sentry Crash Report: | |||
Attachments: | grey menu points |
Description
Robby Engelmann
2024-07-16 21:00:31 UTC
Created attachment 171715 [details]
grey menu points
Confirmed on 5.2.3 and 5.3.0-prealpha-git-18006fe9. The cause is that no layer is initially selected. (This happens regardless of whether the file has one layer or multiple layers.) Possibly related: bug 489437. *** Bug 489437 has been marked as a duplicate of this bug. *** Yes, guess that's the same thing. I wonder when this change happened. Let's see if I can find out what's up this afternoon. * this bug also occurs when opening a new view on a document * the node is correctly selected in KisDummiesFacadeBase::setImage if the node is 0 (for all non-kra files) * KisSynchronizedConnection is a bit of a mystery class, so I cannot figure out under which conditions it refuses to activate the node Git commit 238e0e55b59b257e44a505510851a02789b88acd by Dmitry Kazakov. Committed on 21/07/2024 at 11:43. Pushed by dkazakov into branch 'master'. Fix no layer being activated on opening a document It could happen that KisDummiesFacadeBase::sigActivateNode() would be emitted **before** the facade would actually be connected to the node manager, which would leave Krita with no layer selected at all. M +14 -0 libs/ui/flake/kis_dummies_facade_base.cpp M +9 -0 libs/ui/flake/kis_dummies_facade_base.h M +7 -0 libs/ui/kis_node_manager.cpp https://invent.kde.org/graphics/krita/-/commit/238e0e55b59b257e44a505510851a02789b88acd Git commit badd490957213fa3989468339a78eaadb1f8bb87 by Dmitry Kazakov. Committed on 21/07/2024 at 11:45. Pushed by dkazakov into branch 'krita/5.2'. Fix no layer being activated on opening a document It could happen that KisDummiesFacadeBase::sigActivateNode() would be emitted **before** the facade would actually be connected to the node manager, which would leave Krita with no layer selected at all. M +14 -0 libs/ui/flake/kis_dummies_facade_base.cpp M +9 -0 libs/ui/flake/kis_dummies_facade_base.h M +7 -0 libs/ui/kis_node_manager.cpp https://invent.kde.org/graphics/krita/-/commit/badd490957213fa3989468339a78eaadb1f8bb87 Thank you Dmitry for investigating and fixing this bug. Will this fix be released as part of 5.2.4 or as an update to 5.2.3? Sorry, I'm a new user and don't know how the releases and bug fixes work. *** Bug 490652 has been marked as a duplicate of this bug. *** *** Bug 490983 has been marked as a duplicate of this bug. *** Could https://bugs.kde.org/show_bug.cgi?id=489404 also be related to this issue? *** Bug 491536 has been marked as a duplicate of this bug. *** *** Bug 489404 has been marked as a duplicate of this bug. *** Yes, bug 489404 appears to be the same, so I've marked it as duplicate. Good catch. To answer the question of when this fix will be released, that will be in the next version, 5.2.5 (5.2.4 is skipped because that number was used for a Windows store version release). But it is also available now in the "Krita Plus" stable nightly builds, which are found on the downloads page. *** Bug 489390 has been marked as a duplicate of this bug. *** |