Bug 485986

Summary: Resizing a drag-detached-from-maximised GTK window acts weirdly.
Product: [Plasma] kwin Reporter: Sin Jeong-hun <typingcat>
Component: coreAssignee: KWin default assignee <kwin-bugs-null>
Status: RESOLVED DUPLICATE    
Severity: normal CC: bugseforuns
Priority: NOR    
Version: 6.0.4   
Target Milestone: ---   
Platform: Arch Linux   
OS: Linux   
Latest Commit: Version Fixed In:
Attachments: screen recording

Description Sin Jeong-hun 2024-04-23 00:39:42 UTC
SUMMARY
If a GTK window (happens with FireFox or Gnome Web) started maximised mode, and I drag down the title bar to make the window unmaximised, release the mouse,and then try to resize the window at the top-left/top-right corners, it seems that the window's x,y positions get inverted. 

STEPS TO REPRODUCE
1. Start Firefox or  Gnome Web. Maximise its window, then close it.
2. Start the app again. The app starts with the window maximised.
3. Click the title bar (the thick empty area on the top of the window) and drag it down until it becomes an unmaximised window. Release the mouse button.
4. Try to resize the window on the top-left/top-right corners.

OBSERVED RESULT
Window jumps to up/left side.

EXPECTED RESULT
Window stays where it is and the size gets resized.

SOFTWARE/OS VERSIONS
Windows: 
macOS: 
Linux/KDE Plasma:  6.8.7-arch1-1 (64-bit), Wayland
(available in About System)
KDE Plasma Version: 6.0.4
KDE Frameworks Version: 6.1.0
Qt Version: 6.7.0

ADDITIONAL INFORMATION
Comment 1 Sin Jeong-hun 2024-04-23 01:06:22 UTC
Created attachment 168823 [details]
screen recording

I thought it was GTK window thing, but it happens with QT6 apps, too, like KWrite. See the screen recording.
Comment 2 Patrick Silva 2024-04-23 03:05:57 UTC

*** This bug has been marked as a duplicate of bug 483309 ***