Bug 443137

Summary: Application menu spawns on the task bar
Product: [Plasma] kwin Reporter: Aadniz <kristianaa25>
Component: appmenuAssignee: KWin default assignee <kwin-bugs-null>
Status: RESOLVED INTENTIONAL    
Severity: normal    
Priority: NOR    
Version First Reported In: master   
Target Milestone: ---   
Platform: Arch Linux   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:
Attachments: Video representation of the bug
Screenshot of monitor arrangement

Description Aadniz 2021-09-29 20:58:05 UTC
Created attachment 142018 [details]
Video representation of the bug

SUMMARY
Opening an application that uses a menu bar at the top (like libreoffice) makes it spawn in the wrong place.

STEPS TO REPRODUCE
I was not able to re-create the issue within a VM.
I would guess the issue is something to do with multi-monitor setup

OBSERVED RESULT
Starting LibreOffice, dragging the application to the left monitor. As soon as the application is half-way through to the other screen, the menu (that should have spawned in the application at the top) spawned on the task bar, to the left for all applications on the bar.
Once the left monitor is disabled, the menu isn't rendered at all.
Please see attachments for visual representation of the issue.

EXPECTED RESULT
Menu should have appeared on top of the application, and stayed there while other programs have focus.
The menu should not be created when it's on the left monitor, it shouldn't appear on the task bar.

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: Arch Linux 5.14.8-arch1-1, Plasma 5.22.5
(available in About System)
KDE Plasma Version: 5.22.5
KDE Frameworks Version: 5.86.0
Qt Version: 5.15.2

ADDITIONAL INFORMATION

4 screen Multi-monitor setup with 3 monitors at the bottom, and 1 on the top, above the center monitor.

This bug report is in regards for the reddit (meme) post I posted: https://www.reddit.com/r/linuxmasterrace/comments/pxdvay/wayland_experience_in_1_picture/
Comment 1 Aadniz 2021-09-29 20:59:06 UTC
Created attachment 142019 [details]
Screenshot of monitor arrangement
Comment 2 Aadniz 2021-09-30 16:31:19 UTC
Issue was caused by "Global menu" set to the left for the applications. This is not a bug, it's a mistake from my end