Summary: | Dialog Parent does not dim parent window on Wayland | ||
---|---|---|---|
Product: | [Plasma] kwin | Reporter: | Nate Graham <nate> |
Component: | effects-various | Assignee: | KWin default assignee <kwin-bugs-null> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | ashark, bugseforuns, kde, postix, sam |
Priority: | NOR | Keywords: | wayland |
Version: | git master | ||
Target Milestone: | --- | ||
Platform: | Other | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | Plasma 6.1 with Qt 6.8 | |
Sentry Crash Report: |
Description
Nate Graham
2022-10-21 18:10:39 UTC
Fixed in Plasma 6 now. Are you sure it is fixed? Can you specify how have you tested that? I get the following results (tested with Plasma 5): Wayland session: [kde wayland] gwenview - X [kde xwayland] gwenview - V [qt wayland] qtcreator - X [qt xwayland] qtcreator - X [gtk wayland] inkscape - X [gtk xwayland] inkscape - X [java xwayland] pycharm - X X11 session: [kde] gwenview - V [qt] qtcreator - V [gtk] inkscape - V [java] pycharm - X But I also tested the Plasma 6 session (with KaOS 2023.07.23). Wayland session: [kde wayland] gwenview - X [kde xwayland] gwenview - V This case is exactly the same as in Plasma 5. Oops, I used wrong var for inkscape. I needed GDK_BACKEND=x11. So the correct is: [gtk xwayland] inkscape - V P.S. I hate that bugzilla does not allow to edit the comments. Another edit. Now I see `QT_QPA_PLATFORM=xcb qtcreator` also actually works. So the correct is: [qt xwayland] qtcreator - V P.S. Probably I had made a wrong result note, because of another bug. I set the qt creator to launch with xcb. But when session restoration, this is ignored, and launched on native wayland. But I was assuming it was xcb not working. Another hint. For testing with java, you may go with **freeplane** (mind map app). It is much more lightweight compared to PyCharm. I have tested with qt packages 6.6.0beta3-1 from kde-unstable. Still it does not work. The problem, as I can see, is that it is impossible to set a type of a window as a dialog window? When you detect their properties, they appear as normal window type. I also tried to make a window rule to force use the dialog type on them. But the property is not applied. And next time you visit your rule, you see, it has been changed to force "normal" window. This needs a new Wayland dialog protocol, cf. https://invent.kde.org/plasma/kwin/-/merge_requests/4244 Protocol was merged upstream (https://gitlab.freedesktop.org/wayland/wayland-protocols/-/merge_requests/228), now we need the KWin and Qt work: - https://codereview.qt-project.org/c/qt/qtwayland/+/490397 - https://invent.kde.org/plasma/kwin/-/merge_requests/4244 Qt has been merged, so has KWin. So on Plasma 6.1 with Qt 6.8 it should work. |