Created attachment 162447 [details] Demostrating the described bug SUMMARY Currently on Wayland if you open a new window in maximised (i.e. if the program had its window maximised when you closed it last, and you reopen it) and then restore the window by repositioning it, attempting to resize it after doing so will cause the window geometry to jump to the top-left of the display. My assessment (given after reviewing footage, I notice the bug coincides with the drag point of the window also jumping to the top-left) is that the cursor position for windows spawned in this manner is not being initialised when it gains focus. STEPS TO REPRODUCE 1. Open a new dolphin instance (default META+E) 2. Click "maximise" to maximise it (if not already) 3. Click "close" 4. Repeat step 1 5. Unmaximise the window by dragging it by the title bar to the middle of the screen 6. Attempt to resize the window by clicking on its top-left corner and dragging down and to the right OBSERVED RESULT The window jumps to the top-left of the screen and is given its minimum dimensions. EXPECTED RESULT Only the top and left edges of the window should move, and should move down and to the right proportional to the cursor's movement. SOFTWARE/OS VERSIONS Windows: No macOS: No Linux/KDE Plasma: Yes (available in About System) KDE Plasma Version: 5.27.8 KDE Frameworks Version: 5.110.0 Qt Version: 5.15.11 ADDITIONAL INFORMATION Operating System: Manjaro Linux Kernel Version: 6.1.55-1-MANJARO (64-bit) Graphics Platform: Wayland
*** This bug has been marked as a duplicate of bug 449105 ***
I am running KDE with kwin 6.1 on Arch and am experiencing this exact problem. I originally thought it was an issue with Godot, but Konsole and Firefox have exhibited the same behavior. Example Video: https://youtu.be/Xr5cmBRonls Honestly have no idea how I could help debug this as it is super strange, but am happy to help however I can.