Summary: | Sub-menus overlap menus when window is not maximized on Wayland | ||
---|---|---|---|
Product: | [Plasma] kwin | Reporter: | guimarcalsilva |
Component: | wayland-generic | Assignee: | KWin default assignee <kwin-bugs-null> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | kde, nate |
Priority: | NOR | ||
Version: | 5.27.7 | ||
Target Milestone: | --- | ||
Platform: | Other | ||
OS: | Linux | ||
See Also: | https://bugs.kde.org/show_bug.cgi?id=473347 | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: |
Description
guimarcalsilva
2023-08-13 18:55:28 UTC
I tested on X11 and that doesn't happen there. I'm guessing this is a Kwin bug then. In fact it's a Qt Wayland bug. It's fixed in Qt 6. Oops, my mistake. Confirmed, and not fixed on Wayland. See one of: https://bugreports.qt.io/browse/QTBUG-87303 https://bugreports.qt.io/browse/QTBUG-92200 https://bugreports.qt.io/browse/QTBUG-95637 https://bugreports.qt.io/browse/QTBUG-99618 I'll have to reopen. None of those bug reports are related to this one. All of them talk about the menus going off screen, however, that's not what's happening here. Here they don't go off screen, instead, they are placed on top of other menus when the window is not maximized. It's a different issue. (In reply to guimarcalsilva from comment #5) > I'll have to reopen. None of those bug reports are related to this one. All > of them talk about the menus going off screen, however, that's not what's > happening here. Here they don't go off screen, instead, they are placed on > top of other menus when the window is not maximized. It's a different issue. They are. QtWayland doesn't set appropriate xdg_positioner flags to properly place popups. Popups are placed differently when a window is maximized because popup logic is built around the global coordinate space, and it just happens that when a window is maximized, that global coordinate space logic is more likely to work as expected because the window fills most of the screen area. |