Bug 483205 - Rapidly moving the pointer over categories causes Plasma to lag and eventually freeze if you keep doing it
Summary: Rapidly moving the pointer over categories causes Plasma to lag and eventuall...
Status: CONFIRMED
Alias: None
Product: plasmashell
Classification: Plasma
Component: Application Launcher (Kickoff) (show other bugs)
Version: git-stable-Plasma/6.1
Platform: Arch Linux Linux
: NOR normal
Target Milestone: 1.0
Assignee: Plasma Bugs List
URL:
Keywords: qt6
: 485136 486228 (view as bug list)
Depends on:
Blocks:
 
Reported: 2024-03-11 07:36 UTC by DmaliOG
Modified: 2024-06-22 14:46 UTC (History)
8 users (show)

See Also:
Latest Commit:
Version Fixed In:


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. ***