Bug 398357

Summary: Different menues appear one by one with a latency in between
Product: [Plasma] plasmashell Reporter: avlas <jsardid>
Component: Global MenuAssignee: Kai Uwe Broulik <kde>
Status: RESOLVED WAITINGFORINFO    
Severity: normal CC: me, notuxius, plasma-bugs
Priority: NOR    
Version: 5.13.5   
Target Milestone: 1.0   
Platform: Neon   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description avlas 2018-09-07 14:51:37 UTC
Now the different menues appear one by one with a relatively small but visually perceptible latency (first File, then Edit, then Visualize, etc.).

I wish all menues would appear in sync, once a window gains focus, for instance making the loaded menues transiently not visible until they are all ready to be shown.
Comment 1 Alexander Mentyu 2018-10-10 11:56:24 UTC
Can it be linked to compositor speed settings?
Comment 2 avlas 2018-10-10 12:27:13 UTC
(In reply to Alexander Mentyu from comment #1)
> Can it be linked to compositor speed settings?

I wouldn't think so, and I tested it anyways and saw no effect.

The latency I refer to occurs because menues are loaded one after the other. This is fine, but I would recommend to separate the loading (which I assume is slow), from the showing (which I assume can be instantaneous to the human eye). If so, while menues are being imported, the applet should keep them invisible, and once all are loaded, then show them all.
Comment 3 ratijas 2022-09-22 23:31:34 UTC
The global menu applet was heavily rewritten since 2018. I can't reproduce such behavior in any app that I tried. I suppose it was fixed at some point in past.
Comment 4 avlas 2022-09-23 06:44:52 UTC
I still see this effect. Please compare global menu applet and window appmenu applet and then switch back and forth the focus between two different applications. All menu entries appear at once in window appmenu but that's not the case in the global menu
Comment 5 ratijas 2022-09-23 07:43:13 UTC
Please attach you system information from into center.  Mine is:

Operating System: Arch Linux
KDE: git master
Qt Version: 5.15.6
Kernel Version: 5.19.9-arch1-1 (64-bit)
Graphics Platform: X11
Processors: 8 × Intel® Core™ i7-6700HQ CPU @ 2.60GHz
Memory: 31.3 GiB of RAM
Graphics Processor: NVIDIA GeForce GTX 970M/PCIe/SSE2
Manufacturer: ASUSTeK COMPUTER INC.
Product Name: G752VT
System Version: 1.0
Comment 6 avlas 2022-09-23 08:47:56 UTC
Operating System: KDE neon 5.25
KDE Plasma Version: 5.25.5
KDE Frameworks Version: 5.98.0
Qt Version: 5.15.6
Kernel Version: 5.13.0-52-generic (64-bit)
Graphics Platform: X11
Processors: 8 × Intel® Core™ i5-8350U CPU @ 1.70GHz
Memory: 15.5 GiB of RAM
Graphics Processor: Mesa Intel® UHD Graphics 620
Manufacturer: LENOVO
Product Name: 20KHCTO1WW
System Version: ThinkPad X1 Carbon 6th