Bug 487129

Summary: Desktop context menu opens incorrectly on primary external monitor
Product: [Plasma] plasmashell Reporter: antr1x <antr1x>
Component: ContainmentAssignee: Plasma Bugs List <plasma-bugs-null>
Status: RESOLVED UPSTREAM    
Severity: normal CC: kde, notmart
Priority: NOR    
Version First Reported In: 6.0.4   
Target Milestone: 1.0   
Platform: Arch Linux   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:
Attachments: plasmashell context menu

Description antr1x 2024-05-17 03:33:43 UTC
Created attachment 169550 [details]
plasmashell context menu

SUMMARY  
Context menu opens in a separate window with a title bar labeled "plasmashell" in the center of the screen instead of directly on the desktop.

STEPS TO REPRODUCE  
1. Connect an external monitor to the laptop via Thunderbolt 4 -> DisplayPort.  
2. Set the external monitor as the primary display in the display settings.  
3. Disable the laptop's built-in display (only the external monitor is active).  
4. Click anywhere outside the desktop area (e.g., taskbar, another window like a browser or Dolphin).  
5. Right-click on the desktop to open the context menu.

OBSERVED RESULT  
- The context menu opens in a separate window with a title bar labeled "plasmashell" and appears in the center of the screen.  
- If you first click on the desktop, then the context menu opens correctly on subsequent right-clicks.  
- When both the laptop display and the external monitor are enabled (extended mode), right-clicking on the desktop of the external monitor causes the context menu to appear on the laptop display instead.

EXPECTED RESULT  
- The context menu should open directly on the desktop as usual.

SOFTWARE/OS VERSIONS  
Linux/KDE Plasma: Arch Linux  
KDE Plasma Version: 6.0.4  
KDE Frameworks Version: 6.2.0  
Qt Version: 6.7.0  
Kernel Version: 6.8.9-arch1-2 (64-bit)  
Graphics Platform: Wayland

ADDITIONAL INFORMATION  
Hardware:  
- Processors: 24 × 12th Gen Intel® Core™ i7-12800HX  
- Memory: 31.1 GiB of RAM  
- Graphics Processor: NVIDIA GeForce RTX 3070 Ti Laptop GPU/PCIe/SSE2  
- Manufacturer: LENOVO  
- Product Name: 82TD  
- System Version: Legion 7 16IAX7
Comment 1 David Edmundson 2024-05-28 09:36:11 UTC
We are chasing this upstream in Qt. Please reopen if it's an issue with Qt 6.8