Bug 494532

Summary: Tiling or maximizing a Jetbrains IDE results in context menus opening at invalid positions
Product: [Plasma] kwin Reporter: Silas Della Contrada <s.kde>
Component: generalAssignee: KWin default assignee <kwin-bugs-null>
Status: RESOLVED DUPLICATE    
Severity: normal CC: s.kde
Priority: NOR    
Version: 6.2.0   
Target Milestone: ---   
Platform: Arch Linux   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: Screenrecord of the bug

Description Silas Della Contrada 2024-10-11 13:42:12 UTC
Created attachment 174688 [details]
Screenrecord of the bug

SUMMARY
When maximizing or tiling a Jetbrains IDE, context windows open at invalid positions (see attached video).


STEPS TO REPRODUCE
1. Start Jetbrains IDE
2. Tile or maximize window
3. Open any context menu

OBSERVED RESULT
Context menu opens on an invalid position

EXPECTED RESULT
Context menu opens next to the cursor or the button that opened it

SOFTWARE/OS VERSIONS
Operating System: Arch Linux 
KDE Plasma Version: 6.2.0
KDE Frameworks Version: 6.6.0
Qt Version: 6.7.3
Kernel Version: 6.11.2-arch1-1 (64-bit)
Graphics Platform: Wayland
Processors: 24 × AMD Ryzen 9 7900X 12-Core Processor
Memory: 93.5 GiB of RAM
Graphics Processor: AMD Radeon RX 7700 XT

ADDITIONAL INFORMATION
When tiling and then maximizing via dragging the window against the top edge of the screen, the context menu open on the position it should have been while being tiled.
Attached is a screen record of this behavior on a fresh account.
It works in Plasma 6.1.5 with the same Jetbrains IDE version.
Comment 1 Vlad Zahorodnii 2024-10-11 13:44:36 UTC

*** This bug has been marked as a duplicate of bug 494352 ***