Bug 408159 - application launcher/menu stops showing when clicking the menu icon, sometimes plasmashell crashes
Summary: application launcher/menu stops showing when clicking the menu icon, sometime...
Status: RESOLVED UPSTREAM
Alias: None
Product: plasmashell
Classification: Plasma
Component: Application Launcher (Kickoff) widget (other bugs)
Version First Reported In: 5.16.1
Platform: Arch Linux Linux
: NOR crash
Target Milestone: 1.0
Assignee: David Edmundson
URL:
Keywords: triaged
: 408211 409030 409463 (view as bug list)
Depends on:
Blocks:
 
Reported: 2019-05-31 20:22 UTC by Ben Klopfenstein
Modified: 2019-07-09 13:03 UTC (History)
7 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Ben Klopfenstein 2019-05-31 20:22:06 UTC
SUMMARY
sometimes, randomly, the application launcher stops appearing when clicking the menu button (or pressing the WIN shortcut key).

STEPS TO REPRODUCE
1. upgrade to 5.15.90 on arch linux
2. press the menu button quickly/repeatedly.

OBSERVED RESULT
the application launcher shows / hides repeatedly, but eventually it stops and no longer will become visible when the button is pressed.

switching to a different alternative (application menu) restores functionality, but that launcher can then be broken in the same manner.

sometimes plasmashell crashes and starts back up when pressing the button quickly enough.

EXPECTED RESULT
the menu / launcher should be very robust and always show / hide when the button is pressed. plasmashell should never crash.


SOFTWARE/OS VERSIONS 
Linux/KDE Plasma: Arch Linux
(available in About System)
KDE Plasma Version: 5.15.90
KDE Frameworks Version: 5.58.0
Qt Version: 5.13.0

ADDITIONAL INFORMATION
Comment 1 Ben Klopfenstein 2019-05-31 20:29:12 UTC
Actually, I seem to be able to make plasmashell crash by very quickly repeatedly clicking on system tray icons as well, but _not_ taskbar buttons, so I'm not really sure what the right component is.
Comment 2 Ben Klopfenstein 2019-05-31 23:17:05 UTC
additional information:

if I click the launcher icon OR a plasma implemented system tray icon too many times, the popup (menu, launcher, network details, etc) stops showing up. this particular behavior seems to be harder to trigger with the system tray, because if I click too quickly, plasmashell actually crashes. I can also get plasmashell to crash by clicking the application launcher too quickly
Comment 3 Patrick Silva 2019-06-02 12:11:25 UTC
I have the same problem with Plasma 5.16 beta on Arch Linux after update to Qt 5.13 beta4.
I can reproduce dismissing the apps launcher by clicking outside it.
Comment 4 Ben Klopfenstein 2019-06-02 17:00:19 UTC
Dismissing the app launcher (or wif-fi selection, or any of the system tray popups) by clicking outside it is a better way to reproduce this issue. I should open a new bug for the plasma crash when clicking too fast then.
Comment 5 Lucia Mrenica 2019-06-02 17:16:28 UTC
*** Bug 408211 has been marked as a duplicate of this bug. ***
Comment 6 Lucia Mrenica 2019-06-02 17:18:46 UTC
I am able to confirm problems OP, comment 1 and comment 4
Comment 7 Nate Graham 2019-06-02 19:12:54 UTC
Is everyone who's able to reproduce using Qt 5.13? I cannot reproduce with 5.12.
Comment 8 Lucia Mrenica 2019-06-03 06:33:23 UTC
(In reply to Nate Graham from comment #7)
> Is everyone who's able to reproduce using Qt 5.13? I cannot reproduce with
> 5.12.

Yes.
Comment 9 Nate Graham 2019-06-03 13:24:36 UTC
Seems like a Qt 5.13 regression. Please report upstream: https://bugreports.qt.io/

Thanks!
Comment 10 Patrick Silva 2019-06-17 19:06:06 UTC
Has anyone in this bug report reported the bug to Qt devs? If so, can you share its link here please? The same problem is happening on Arch after update to Qt 5.12.4.

Operating System: Arch Linux 
KDE Plasma Version: 5.16.0
KDE Frameworks Version: 5.59.0
Qt Version: 5.12.4
Comment 11 tromzy 2019-06-19 10:42:53 UTC
I am also affected by this. Also, I don't know if this is related, but the sliding animations in Plasma are extremely sluggish since Plasma 5.16 update : open the K Menu, go from "Favourites" to "Applications : the sliding animation is really slow and stuttery.

ArchLinux, Plasma 5.16.1, Qt 5.12.14.
Comment 12 tromzy 2019-06-19 10:44:51 UTC
I meant Qt 5.12.4.
Comment 13 Lucia Mrenica 2019-06-27 10:54:26 UTC
I have found this bug report https://bugreports.qt.io/browse/QTBUG-76657,
is it this bug?
Comment 14 Alois Wohlschlager 2019-06-27 14:49:41 UTC
*** Bug 409030 has been marked as a duplicate of this bug. ***
Comment 15 David Edmundson 2019-06-27 15:11:55 UTC
Relevant links:

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 16 David Edmundson 2019-06-27 15:12:07 UTC
Mostly the last one for this specific bug.
Comment 17 Patrick Silva 2019-07-03 16:18:33 UTC
Can anyone tell me if the following reproducible problems are duplicates please?

open system seettings > Fonts, click any button to change a current font,
click "Cancel" button. Click any button to change a current font again: nothing happens.

click on the button to configure plasma panel aside the digital clock, click "Add widgets" button, close the Widgets Explorer. Now you can not open the widgets again following the same steps or via "Add widgets.." from the context menu of desktop.
Comment 18 Patrick Silva 2019-07-03 16:19:15 UTC
Operating System: Arch Linux 
KDE Plasma Version: 5.16.2
KDE Frameworks Version: 5.59.0
Qt Version: 5.13.0
Comment 19 Patrick Silva 2019-07-09 13:03:33 UTC
(In reply to Patrick Silva from comment #17)
> 
> open system seettings > Fonts, click any button to change a current font,
> click "Cancel" button. Click any button to change a current font again:
> nothing happens.
> 
> click on the button to configure plasma panel aside the digital clock, click
> "Add widgets" button, close the Widgets Explorer. Now you can not open the
> widgets again following the same steps or via "Add widgets.." from the
> context menu of desktop.

qt5-wayland 5.13.0-3 package solved these bugs on Arch Linux. \o/
Comment 20 Patrick Silva 2019-07-09 13:03:47 UTC
*** Bug 409463 has been marked as a duplicate of this bug. ***