https://bugs.kde.org/show_bug.cgi?id=435717

            Bug ID: 435717
           Summary: Can't manually resize X11 Qt5 window with
                    WA_PaintOnScreen attribute set
           Product: kwin
           Version: 5.21.4
          Platform: Archlinux Packages
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: platform-x11-standalone
          Assignee: kwin-bugs-n...@kde.org
          Reporter: nullg...@gmail.com
  Target Milestone: ---

SUMMARY
When using the WA_PaintOnScreen attribute on a QMainWindow with Qt5, it is
impossible to interactively resize the window under X11+Kwin. This does not
happen with other window managers I tested (mutter, i3's, xfce's).

STEPS TO REPRODUCE
1. Create a QMainWindow with the WA_PaintOnScreen attribute set
2. Try to manually resize the window under X11+Kwin

A test repo is available here:
https://github.com/nullgemm/QmlX11Composition.git

Here is the line setting the attribute:
https://github.com/nullgemm/QmlX11Composition/blob/master/RenderWindow.cpp#L64

OBSERVED RESULT
The window does not resize.

EXPECTED RESULT
The window resizes.

SOFTWARE/OS VERSIONS
Linux Kernel Version: 5.11.12
Plasma Version: 5.21.4
Plasma Framework Version: 5.80.0
Qt Version: 5.15.2

ADDITIONAL INFORMATION
The versions information above is that of my main setup but this issue could be
reproduced on 2 other ones.
Snapping the window on the side of the screen does resize it as expected.

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to