Bug 481765

Summary: On X11, Plasma taskbar move depending on the length of the menu in kicker
Product: [Plasma] plasmashell Reporter: cyril.yuusha
Component: Application Menu (Kicker) widgetAssignee: Plasma Bugs List <plasma-bugs-null>
Status: RESOLVED FIXED    
Severity: normal CC: nate
Priority: NOR Keywords: qt6
Version First Reported In: 5.93.0   
Target Milestone: 1.0   
Platform: Mageia RPMs   
OS: Linux   
Latest Commit: Version Fixed/Implemented In: 6.0.3
Sentry Crash Report:
Attachments: Video of the bug

Description cyril.yuusha 2024-02-24 12:49:55 UTC
SUMMARY
When using the kicker as application launcher, the taskbar constantly moves to adapt its position to the menu length.  It uses the full width of the screen when the sub menu is too long and revert to normal size with shorter sub menus.

STEPS TO REPRODUCE
1. Open kicker
2. Navigate to a long sub menu
3.  Return to a shorter sub menu.

OBSERVED RESULT
Task bar constantly move to adapt to the length of the menu.

EXPECTED RESULT
Task bar should not move and the menu should adapt, increasing its length through the top to not disturb the task bar.

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: Mageia 10
KDE Plasma Version: 5.93.0
KDE Frameworks Version: 5.249.0
Qt Version: 6.6.0
Comment 1 Nate Graham 2024-02-26 20:42:49 UTC
I'm guessing there's a very specific panel configuration in step 0 that was not reported, since I can't reproduce this with either a default panel or a small content-filling panel. Can you describe your panel settings? Or even better, attach a screen recording?
Comment 2 cyril.yuusha 2024-02-26 21:17:08 UTC
I use the default configuration for Mageia Cauldron. 
However, I'm not the maintainer, so I don't know which specific configuration is applied. I think it's the same configuration as the one in Mageia 9 with Plasma 5.27.5. 
The bug declared in Mageia bug tracker is here : https://bugs.mageia.org/show_bug.cgi?id=32890
I will add a screen recording.
Comment 3 cyril.yuusha 2024-02-26 21:17:52 UTC
Created attachment 166112 [details]
Video of the bug
Comment 4 Nate Graham 2024-02-27 19:02:41 UTC
Thanks for the screen recording, it's fascinating. It looks like the submenus are being counted as windows for the purpose of determining if any windows are touching a floating panel, which makes it de-float.

That said, I cannot reproduce the issue on Wayland. Are you seeing it on X11 only?
Comment 5 cyril.yuusha 2024-02-27 19:54:47 UTC
I confirm this bug is X11 only.  I tested on Wayland and kicker works fine.
Comment 6 cyril.yuusha 2024-03-07 20:28:22 UTC
Still valid on X11 with :
Linux/KDE Plasma: Mageia 10
KDE Plasma Version: 6.0.0
KDE Frameworks Version: 6.0.0
Qt Version: 6.6.2
Comment 7 Bug Janitor Service 2024-03-22 03:45:55 UTC
Dear Bug Submitter,

This bug has been in NEEDSINFO status with no change for at least
15 days. Please provide the requested information as soon as
possible and set the bug status as REPORTED. Due to regular bug
tracker maintenance, if the bug is still in NEEDSINFO status with
no change in 30 days the bug will be closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

If you have already provided the requested information, please
mark the bug as REPORTED so that the KDE team knows that the bug is
ready to be confirmed.

Thank you for helping us make KDE software even better for everyone!
Comment 8 Nate Graham 2024-03-22 19:30:12 UTC
Pretty sure this was fixed by another fix that went into 6.0.2. Can you re-test?
Comment 9 cyril.yuusha 2024-03-22 20:27:45 UTC
The bug is still present with this version:
Operating System: Mageia 10
KDE Plasma Version: 6.0.2
KDE Frameworks Version: 6.0.0
Qt Version: 6.6.2
Kernel Version: 6.6.22-desktop-1.mga10 (64-bit)
Graphics Platform: X11
Processors: 4 × Intel® Core™ i7-4790 CPU @ 3.60GHz
Memory: 7.8 Gio of RAM
Graphics Processor: SVGA3D; build: RELEASE; LLVM;
Manufacturer: innotek GmbH
Product Name: VirtualBox
System Version: 1.2
Comment 10 cyril.yuusha 2024-03-23 11:16:56 UTC
I have tested it (Plasma 6.0.2, X11, kicker) on an OpenSUSE Tumbleweed and I have got the same problem.
Operating System: openSUSE Tumbleweed 20240321
KDE Plasma Version: 6.0.2
KDE Frameworks Version: 6.0.0
Qt Version: 6.6.2
Kernel Version: 6.8.1-1-default (64-bit)
Graphics Platform: X11
Processors: 4 × Intel® Core™ i7-4790 CPU @ 3.60GHz
Memory: 7.8 Gio of RAM
Graphics Processor: SVGA3D; build: RELEASE; LLVM;
Manufacturer: innotek GmbH
Product Name: VirtualBox
System Version: 1.2
Comment 11 Nate Graham 2024-03-27 16:38:21 UTC
Can you see if Plasma 6.0.3 fixed this? There was a commit that I think has the possibility to.
Comment 12 cyril.yuusha 2024-04-04 19:47:48 UTC
(In reply to Nate Graham from comment #11)
> Can you see if Plasma 6.0.3 fixed this? There was a commit that I think has
> the possibility to.

Yes, I confirm, it is fixed in Plasma 6.0.3
Comment 13 Nate Graham 2024-04-04 21:09:08 UTC
Great!