SUMMARY In my KWin script, I use client.frameGeometry API to change window's width like this: client.frameGeometry.width = desiredWidth; While in X11 session this code works just fine, in Wayland window's width doesn't change. At the same time, modifying .x, .y and .height works as expected. SOFTWARE/OS VERSIONS KDE Plasma: 5.25.4 KDE Frameworks: 5.96.0 QT Version: 5.15.5 Kernel: 5.13.0-52-generic (64-bit)
Can you provide an example script please? Note that geometry updates are async on wayland. If you do window.frameGeometry = myNewGeometry; the frame geometry may not be updated until the client repaints the window. I'm surprised that .height updates are applied immediately though.
Dear Bug Submitter, This bug has been in NEEDSINFO status with no change for at least 15 days. Please provide the requested information as soon as possible and set the bug status as REPORTED. Due to regular bug tracker maintenance, if the bug is still in NEEDSINFO status with no change in 30 days the bug will be closed as RESOLVED > WORKSFORME due to lack of needed information. For more information about our bug triaging procedures please read the wiki located here: https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging If you have already provided the requested information, please mark the bug as REPORTED so that the KDE team knows that the bug is ready to be confirmed. Thank you for helping us make KDE software even better for everyone!
This bug has been in NEEDSINFO status with no change for at least 30 days. The bug is now closed as RESOLVED > WORKSFORME due to lack of needed information. For more information about our bug triaging procedures please read the wiki located here: https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging Thank you for helping us make KDE software even better for everyone!