Created attachment 103328 [details] Screenshot The summary says it all. If I resize a Qt5 application (tried: Dolphin, SystemSettings), the "Window Geometry" effect is not updated (see screenshot attached). However, it gets updated when resizing Qt4 applications (tried: Skype; man, it's hard to find a Qt4 application nowadays :S) and GTK applications (tried: Inkscape, GIMP, LibreOffice).
While investigating that, I also noted three another issues related to resizing. 1) Cursor is wrong if I'm resizing the window by dragging the lower-right corner (it's two arrows pointing to top-right and lower-left, while should be pointing to top-left and lower-right). 2) If I try to resize Skype right after launching it, it only resizes by several pixels (~10px) and then stops. After dancing around (moving the window, alt+tabbing, several attempts of resizing), at some point it starts working. Of all applications I've tested (both GTK and Qt), Skype seems to be only one affected. 3) KWin Debug Console doesn't want to resize when using "Alt+Right mouse button drag". I can fill it as separate bugs (if these issues are not yet known)
can you try: qtapp --platform xcb I assume it's a problem only for Wayland window. Qt 4 and gtk are probably X windows. For the other issues: yes, please report new bugs, otherwise it's difficult to track. 1 is reported. The others are unknown to me
Running "dolphin --platform xcb" shows the geometry correctly. --- Funny thing. "dolphin" being started from Yakuake uses "xcb" platform by default; while if I start it from Konsole or KRunner, it uses Wayland.
Am 2017-01-10 19:43, schrieb Igor Poboiko: > COMMENT # 3 [1] ON BUG 374869 [2] FROM IGOR POBOIKO > > Running "dolphin --platform xcb" shows the geometry correctly. good, that validates my theory. > > --- > Funny thing. "dolphin" being started from Yakuake uses "xcb" platform > by > default; while if I start it from Konsole or KRunner, it uses Wayland. Most likely your yakuake is an older version which still forces xcb and thus it gets inherited to all started apps. Konsole, though, doesn't force a platform, thus it doesn't change.
commit a67f4dfa65ee2c7e6327dd1474fdc3b526e943b2 Author: Martin Gräßlin <mgraesslin@kde.org> Date: Sun Jan 29 14:01:15 2017 +0100 [autotests] Add test case for resizing window manually During resize the signal clientStepUserMovedResized signal is not emitted for Wayland windows which causes the window geometry effect to not function. This change adds a test case highlighting the problem.
Git commit 5083adb1b85a7194bd84d170225596ca507b8858 by Martin Gräßlin. Committed on 30/01/2017 at 16:02. Pushed by graesslin into branch 'Plasma/5.9'. Call performMoveResize when we got a new geoemtry during resize Summary: So far on a geometry sync we did not call performMoveResize like we do on X11 when getting the sync. This resulted in the clientStepUserMovedResized not getting called during resize and the geometry update effect to not function. FIXED-IN: 5.9.1 Test Plan: Geometry hint updates Reviewers: #kwin, #plasma_on_wayland Subscribers: plasma-devel, kwin Tags: #plasma_on_wayland, #kwin Differential Revision: https://phabricator.kde.org/D4333 M +0 -2 autotests/integration/move_resize_window_test.cpp M +4 -0 shell_client.cpp https://commits.kde.org/kwin/5083adb1b85a7194bd84d170225596ca507b8858