Summary: | Plasma sometimes hangs when quickly moving the cursor over multiple applets to show their tooltips--especially the Digital Clock | ||
---|---|---|---|
Product: | [Plasma] plasmashell | Reporter: | Erin Yuki Schlarb <erin-kde> |
Component: | generic-performance | Assignee: | Plasma Bugs List <plasma-bugs> |
Status: | RESOLVED FIXED | ||
Severity: | crash | CC: | aleixq, aspotashev, bharadwaj.raju777, bugseforuns, joseph, kingofgamesyami, nate, plasma-bugs, tempel.julian, torokati44, watisthispoo |
Priority: | NOR | Keywords: | drkonqi, efficiency, wayland |
Version: | 5.21.2 | ||
Target Milestone: | 1.0 | ||
Platform: | unspecified | ||
OS: | Linux | ||
Latest Commit: | https://invent.kde.org/plasma/plasma-workspace/commit/2d3e2b7da8d26a8e52ea7f0980314a6123603fc5 | Version Fixed In: | 5.23.3 |
Sentry Crash Report: | |||
Attachments: |
plasmashell 5.20.5 hang backtrace
plasmashell 5.20.5 with QSG_RENDER_LOOP=basic hang backtrace plasmashell 5.21.2 hang backtrace |
Description
Erin Yuki Schlarb
2020-05-25 22:20:30 UTC
(In reply to Alexander Schlarb from comment #0) > 3. At some point the shell will hang and the last displayed tooltip window > will end up stuck in its opening animation – quickly alternating between two > of the animation frames You are describing exactly what I saw before reporting bug 410741. I use intel hd graphics. I can reproduce on Fedora 32 (Plasma 5.18.5) with NVIDIA proprietary drivers. While doing step 2 from the "How to reproduce", this message in printed on the command line constantly (I guess another such message on every new hover action): "Qt Quick Layouts: Detected recursive rearrange. Aborting after two iterations." > Plasma::Theme::findInRectsCache()
The Plasma caching system was substantially re-worked a month or two ago. Any chance you could try again with the latest Frameworks version? Thanks!
Created attachment 136360 [details]
plasmashell 5.20.5 hang backtrace
Sadly, this issue can still be reproduced with plasmashell 5.20.5. But it is substantially harder to reproduce than I remember and for some reason I'm only able reproduce this when including the digital clock widget in my hovering.
Console output leading up to hang:
> Mär 04 09:31:30 Alexander-NB plasmashell[105784]: (plasmashell:105784): default-WARNING **: 09:31:30.368: unknown: trying to show an empty dialog
> Mär 04 09:31:44 Alexander-NB plasmashell[105784]: (plasmashell:105784): kf.plasma.quick-WARNING **: 09:31:44.768: unknown: Couldn't create KWindowShadow for ToolTipDialog(0x5f96ea3e5e60)
> Mär 04 09:31:44 Alexander-NB plasmashell[105784]: (plasmashell:105784): kf.plasma.quick-WARNING **: 09:31:44.768: unknown: Couldn't create KWindowShadow for ToolTipDialog(0x5f96ea3e5e60)
> Mär 04 09:31:44 Alexander-NB plasmashell[105784]: (plasmashell:105784): kf.plasma.quick-WARNING **: 09:31:44.768: unknown: Couldn't create KWindowShadow for ToolTipDialog(0x5f96ea3e5e60)
> Mär 04 09:31:51 Alexander-NB plasmashell[105784]: (plasmashell:105784): kf.plasma.quick-WARNING **: 09:31:51.068: unknown: Couldn't create KWindowShadow for ToolTipDialog(0x5f96ea3e5e60)
> Mär 04 09:31:51 Alexander-NB plasmashell[105784]: (plasmashell:105784): kf.plasma.quick-WARNING **: 09:31:51.068: unknown: Couldn't create KWindowShadow for ToolTipDialog(0x5f96ea3e5e60)
> Mär 04 09:31:51 Alexander-NB plasmashell[105784]: (plasmashell:105784): kf.plasma.quick-WARNING **: 09:31:51.068: unknown: Couldn't create KWindowShadow for ToolTipDialog(0x5f96ea3e5e60)
Backtrace of hang is attached.
I'll retest with plasmashell 5.21 once it hits Debian unstable.
Created attachment 136361 [details]
plasmashell 5.20.5 with QSG_RENDER_LOOP=basic hang backtrace
Since the previous backtrace includes QSGThreadedLoop stuff, I retested with the basic rendering loop just in case but it still hangs there. Just with a different trace apparently.
Created attachment 136483 [details]
plasmashell 5.21.2 hang backtrace
No change with plasmashell 5.21.2 from Debian experimental.
Darn. Thanks for testing. *** Bug 436866 has been marked as a duplicate of this bug. *** I can reproduce this on Wayland. I reported this issue as bug 410741 on August 2019. It happened again on my neon unstable a few days ago. *** Bug 410741 has been marked as a duplicate of this bug. *** *** Bug 438251 has been marked as a duplicate of this bug. *** *** Bug 443733 has been marked as a duplicate of this bug. *** *** Bug 444180 has been marked as a duplicate of this bug. *** *** Bug 441179 has been marked as a duplicate of this bug. *** Git commit 1846e62b6e7e50ce3e90cba803d24199b367be0a by Marco Martin. Committed on 03/11/2021 at 18:19. Pushed by mart into branch 'master'. use implicit size to not cause binding loops don't set layout size hints from the contents size. this will cause binding loops. use the implicit size instead. This solves an issue visible especially on wayland (different roundtrip of timing of resizes in x11 seems to mask this problem) where the clock tooltip sometimes gets stuck in an infinite resize loop freezing the whole plasma shell M +3 -2 applets/digital-clock/package/contents/ui/Tooltip.qml M +4 -4 applets/digital-clock/package/contents/ui/main.qml https://invent.kde.org/plasma/plasma-workspace/commit/1846e62b6e7e50ce3e90cba803d24199b367be0a Git commit 2d3e2b7da8d26a8e52ea7f0980314a6123603fc5 by Marco Martin. Committed on 03/11/2021 at 18:25. Pushed by mart into branch 'Plasma/5.23'. use implicit size to not cause binding loops don't set layout size hints from the contents size. this will cause binding loops. use the implicit size instead. This solves an issue visible especially on wayland (different roundtrip of timing of resizes in x11 seems to mask this problem) where the clock tooltip sometimes gets stuck in an infinite resize loop freezing the whole plasma shell M +3 -2 applets/digital-clock/package/contents/ui/Tooltip.qml M +4 -4 applets/digital-clock/package/contents/ui/main.qml https://invent.kde.org/plasma/plasma-workspace/commit/2d3e2b7da8d26a8e52ea7f0980314a6123603fc5 I'd like to express my utmost gratitude to the contributors, as for me particularly, this bug was the last major blocker on switching my Plasma session over to Wayland. And now it's gone, whoo! (Sorry for the spam...) Hooray! |