SUMMARY When opening a context menu while the Konversation window isn't focused, the context menu opens with window decorations, often not under the mouse cursor and different size than intended. This happens only for the context menu for the channel's topic, the chat log and the user list. It doesn't happen for the menu for the channel list, the menu bar and the main toolbar. STEPS TO REPRODUCE 1. Open Konversation, join an IRC channel 2. Focus another window 3. Right click the chat log to open context menu OBSERVED RESULT The context menu opens with window decorations, often not under the mouse cursor and different size than intended EXPECTED RESULT The context menu does not have window decorations and opens under the cursor SOFTWARE/OS VERSIONS Operating System: Gentoo Linux KDE Plasma Version: 5.22.5 KDE Frameworks Version: 5.86.0 Qt Version: 5.15.2 Kernel Version: 5.14.6-gentoo-dist (64-bit) Graphics Platform: Wayland Processors: 12 × AMD Ryzen 5 5600X 6-Core Processor Memory: 23.4 GiB of RAM Graphics Processor: Radeon RX Vega ADDITIONAL INFORMATION I'm using sway as the WM right now, but also observe this when using kwin_wayland.
Opened a MR that fixes this: https://invent.kde.org/network/konversation/-/merge_requests/58
MR got merged, and by a quick test things seems to be fixed, so closing. Thanks for the fix. (closing manually, as bugs.kde.org integration needs the commit message to have a line "BUG: xyz" to auto-close the related bug.)