Bug 442779 - Wayland: When opening context menu while the Konversation window isn't focused, the context menu will have a window decoration
Summary: Wayland: When opening context menu while the Konversation window isn't focuse...
Status: RESOLVED FIXED
Alias: None
Product: konversation
Classification: Applications
Component: general (show other bugs)
Version: 1.8.21081
Platform: Gentoo Packages Linux
: NOR normal
Target Milestone: ---
Assignee: Konversation Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-09-21 15:14 UTC by Marco Rebhan
Modified: 2021-12-19 17:25 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In: 1.8.21120


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Marco Rebhan 2021-09-21 15:14:21 UTC
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.
Comment 1 Marco Rebhan 2021-09-29 10:25:54 UTC
Opened a MR that fixes this: https://invent.kde.org/network/konversation/-/merge_requests/58
Comment 2 Friedrich W. H. Kossebau 2021-12-19 17:25:03 UTC
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.)