Bug 409030 - Panel widgets will not open on Wayland after some time
Summary: Panel widgets will not open on Wayland after some time
Status: RESOLVED DUPLICATE of bug 408159
Alias: None
Product: plasmashell
Classification: Plasma
Component: Panel (show other bugs)
Version: 5.16.1
Platform: Arch Linux Linux
: NOR normal
Target Milestone: 1.0
Assignee: Plasma Bugs List
URL:
Keywords: wayland-only
Depends on:
Blocks:
 
Reported: 2019-06-22 09:47 UTC by Alois Wohlschlager
Modified: 2019-06-27 14:49 UTC (History)
3 users (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 Alois Wohlschlager 2019-06-22 09:47:20 UTC
SUMMARY
When running the Wayland session, after some time, the Kicker menu will not open any more.


STEPS TO REPRODUCE
1. Start the Wayland session
2. Do some stuff
3. Try to open Kicker
4. Repeat from 2. if the Kicker menu opened

OBSERVED RESULT
After some time (usually less than 5 minutes, sometimes even when opening Kicker the second time), Kicker's menu will not open (but the blue bar above its icon appears). It will never open again unless plasmashell is restarted.

EXPECTED RESULT
Kicker menu always expands.

SOFTWARE/OS VERSIONS
Windows: n/a
macOS: n/a
Linux/KDE Plasma: Arch Linux w/ kernel 5.1.12-arch1-1-ARCH (fully updated as of 2019-06-22)
(available in About System)
KDE Plasma Version: 5.16.1
KDE Frameworks Version: 5.59.0
Qt Version: 5.12.4

ADDITIONAL INFORMATION
The bug appears to be a regression from 5.15. It is only reproducible in the Wayland session.
Comment 1 perrantrevan 2019-06-22 11:53:55 UTC
I can confirm this bug. It's not only Kickoff, it can also affect items in the system tray which have pop up menus, the calendar, and task manager.
Comment 2 Alois Wohlschlager 2019-06-22 12:05:59 UTC
Yep, now the network manager panel widget stopped working for me. Not all widgets stop working at the same time though, for example the clock still works right now. Reassigning the bug to the Panel component.
Comment 3 Alois Wohlschlager 2019-06-23 10:11:49 UTC
I experimented further and found out the following additional details:
* A reliable way to reproduce is to open any panel widget, click outside of it to close it. Then it will never open again until plasmashell is restarted.
* When closing the widget by clicking the panel icon again, I could never reproduce this bug.
* When double-clicking on a panel icon, plasmashell will restart.
* Menus in some applications (e.g. KCachegrind, Konsole, Spyder, KDevelop, TeXworks) will only open once. Other applications (e.g. KeePassXC, VLC) are not affected.
* Downgrading Plasma to 5.15.5 does *not* help.
* Downgrading KDE Frameworks to 5.58.0 does *not* help.
* Downgrading Qt to 5.12.3 *does* help.
* This appears to be related to the problems experienced in [0], suggesting the bug is in Qt.

[0] https://www.reddit.com/r/kde/comments/c2fl8y/regression_bug_in_qt_5124_and_probably_513_too/
Comment 4 David Edmundson 2019-06-23 10:30:57 UTC
The Menu bug I have somewhat identified: QTBUG-76324

The panel widgets might be unrelated.
Comment 5 David Edmundson 2019-06-23 13:11:42 UTC
Relevant:


remote:   https://codereview.qt-project.org/c/qt/qtwayland/+/265997 Client: Reset frame callback timer when hiding a window
remote:   https://codereview.qt-project.org/c/qt/qtwayland/+/265998 Client: Make handleUpdate aware of exposure changes
remote:   https://codereview.qt-project.org/c/qt/qtwayland/+/265999 Client: Don't send fake SurfaceCreated/Destroyed events
Comment 6 Alois Wohlschlager 2019-06-27 14:49:41 UTC
Sorry for not finding this before.

*** This bug has been marked as a duplicate of bug 408159 ***