Bug 483205 - With switch-on-hover turned on, rapidly moving the pointer over categories causes Plasma to lag and eventually freeze if you keep doing it
Summary: With switch-on-hover turned on, rapidly moving the pointer over categories ca...
Status: CONFIRMED
Alias: None
Product: plasmashell
Classification: Plasma
Component: Application Launcher (Kickoff) widget (show other bugs)
Version: 6.1.4
Platform: Arch Linux Linux
: NOR minor
Target Milestone: 1.0
Assignee: Plasma Bugs List
URL:
Keywords: qt6
: 485136 486228 493082 493889 494511 494825 (view as bug list)
Depends on:
Blocks:
 
Reported: 2024-03-11 07:36 UTC by DmaliOG
Modified: 2024-12-06 20:58 UTC (History)
13 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 DmaliOG 2024-03-11 07:36:28 UTC
STEPS TO REPRODUCE
 1. Open the menu
 2. Move the mouse quickly through the items 
 3. The panel is frozen and is no longer accessible with all widgets

 OBSERVED RESULT
 The panel is frozen with all widgets

 EXPECTED RESULT
 Nothing should freeze

 SOFTWARE/OS VERSIONS
 Linux/KDE Plasma: EndeavourOS Linux x86_64 
 KDE Plasma Version: 6.0.1
 KDE Frameworks Version: 6.0.0
 Qt Version: 6.6.2

 ADDITIONAL INFORMATION
 Wayland
Comment 2 Niccolò Venerandi 2024-03-11 14:35:11 UTC
The video seem to be private
Comment 3 Nate Graham 2024-03-11 19:07:55 UTC
Cannot reproduce. What kind of GPU do you have? Also, yes, please make the video public.
Comment 4 DmaliOG 2024-03-12 09:49:20 UTC
Yes, I made the video publicly available, and regarding the graphics:

➜  ~ git:(master) ✗ inxi -G
Graphics:
  Device-1: NVIDIA GP102 [GeForce GTX 1080 Ti] driver: nvidia v: 535.161.07
  Display: wayland server: X.Org v: 23.2.4 with: Xwayland v: 23.2.4
    compositor: kwin_wayland driver: X: loaded: nvidia
    gpu: nvidia,nvidia-nvswitch resolution: 2560x1440~165Hz
  API: EGL Message: No EGL data available.
  API: OpenGL v: 4.6.0 vendor: nvidia v: 535.161.07 renderer: NVIDIA
    GeForce GTX 1080 Ti/PCIe/SSE2
  API: Vulkan v: 1.3.279 drivers: nvidia surfaces: xcb,xlib,wayland
➜  ~ git:(master) ✗
Comment 5 Nate Graham 2024-03-13 18:15:01 UTC
Ok, so what's going on here isn't that the panel is freezing, but that you're overloading plasmashell by repeatedly hovering super quickly over Kickoff's category list. This builds up a queue of actions that I guess eventually stalls all of Plasma.

I can reproduce the issue.
Comment 6 DmaliOG 2024-03-14 12:29:19 UTC
(In reply to Nate Graham from comment #5)
> Итак, здесь происходит не то, что панель зависает, а то, что вы перегружаете
> plasmashell, многократно и очень быстро наводя курсор на список категорий
> Kickoff. Это создает очередь действий, которые, я полагаю, в конечном итоге
> останавливают всю Plasma.
> 
> Я могу воспроизвести проблему.

(In reply to Nate Graham from comment #5)
> Ok, so what's going on here isn't that the panel is freezing, but that
> you're overloading plasmashell by repeatedly hovering super quickly over
> Kickoff's category list. This builds up a queue of actions that I guess
> eventually stalls all of Plasma.
> 
> I can reproduce the issue.

Yes, this is exactly the problem.
Comment 7 DmaliOG 2024-03-14 13:03:17 UTC
The strange thing is that widgets can break Plasma.
And even more strange is that the menu is not cached in advance.
Comment 8 DmaliOG 2024-03-27 13:07:17 UTC
Perhaps it is worth simply separating each widget and plasma-shell from each other with different processes so that one does not touch the other, for example.  So that if one process dies or is overloaded, it does not affect other processes.

But most likely KDE specialists already know how to solve this.
Comment 9 MScattolin 2024-04-16 00:41:12 UTC
*** Bug 485136 has been marked as a duplicate of this bug. ***
Comment 10 Nate Graham 2024-05-14 22:56:04 UTC
*** Bug 486228 has been marked as a duplicate of this bug. ***
Comment 11 Nate Graham 2024-08-30 03:32:29 UTC
I'm unable to reproduce this issue in current git master! Something must have fixed it.
Comment 12 Nate Graham 2024-09-16 20:08:10 UTC
*** Bug 493082 has been marked as a duplicate of this bug. ***
Comment 13 Nate Graham 2024-09-16 20:08:27 UTC
And it's back again. :(
Comment 14 Nate Graham 2024-09-30 21:45:10 UTC
*** Bug 493889 has been marked as a duplicate of this bug. ***
Comment 15 Steve Vialle 2024-10-01 11:51:38 UTC
Still present in 6.1.5.
Additional: I can't reproduce this if the mouse cursor is confined to the launcher itself, it only triggers when the cursor touches something else as well (e.g. the underlying plasma desktop or the panel).
Comment 16 Nate Graham 2024-10-11 17:43:16 UTC
*** Bug 494511 has been marked as a duplicate of this bug. ***
Comment 17 Nate Graham 2024-11-14 17:59:27 UTC
*** Bug 494825 has been marked as a duplicate of this bug. ***
Comment 18 Noah Davis 2024-12-05 11:00:03 UTC
Git commit 05a4d828fee1055d6674d0655462acc8b22fba28 by Noah Davis.
Committed on 05/12/2024 at 10:49.
Pushed by ndavis into branch 'master'.

Kickoff: Add a setting to enable selecting categories on hover
Related: bug 452636, bug 426015

M  +4    -0    applets/kickoff/package/contents/config/main.xml
M  +6    -7    applets/kickoff/package/contents/ui/AbstractKickoffItemDelegate.qml
M  +10   -0    applets/kickoff/package/contents/ui/ApplicationsPage.qml
M  +6    -0    applets/kickoff/package/contents/ui/ConfigGeneral.qml
M  +2    -2    applets/kickoff/package/contents/ui/KickoffGridView.qml
M  +2    -2    applets/kickoff/package/contents/ui/KickoffListView.qml
M  +10   -0    applets/kickoff/package/contents/ui/PlacesPage.qml

https://invent.kde.org/plasma/plasma-desktop/-/commit/05a4d828fee1055d6674d0655462acc8b22fba28
Comment 19 Nate Graham 2024-12-06 20:58:37 UTC
With https://invent.kde.org/plasma/plasma-desktop/-/merge_requests/2658, this will no longer happen by default as of Plasma 6.3.0; it will only be possible to encounter if you change the default settings. Lowering severity and changing title accordingly.