Bug 485986 - Resizing a drag-detached-from-maximised GTK window acts weirdly.
Summary: Resizing a drag-detached-from-maximised GTK window acts weirdly.
Status: RESOLVED DUPLICATE of bug 483309
Alias: None
Product: kwin
Classification: Plasma
Component: core (show other bugs)
Version: 6.0.4
Platform: Arch Linux Linux
: NOR normal
Target Milestone: ---
Assignee: KWin default assignee
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-04-23 00:39 UTC by Sin Jeong-hun
Modified: 2024-04-23 03:05 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
screen recording (542.92 KB, video/webm)
2024-04-23 01:06 UTC, Sin Jeong-hun
Details

Note You need to log in before you can comment on or make changes to this bug.
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 ***