Bug 480585 - Wrong window position when un-maximizing it.
Summary: Wrong window position when un-maximizing it.
Status: RESOLVED DUPLICATE of bug 449105
Alias: None
Product: kwin
Classification: Plasma
Component: core (show other bugs)
Version: 5.92.0
Platform: Fedora RPMs Linux
: NOR normal
Target Milestone: ---
Assignee: KWin default assignee
URL:
Keywords: qt6
Depends on:
Blocks:
 
Reported: 2024-01-31 07:59 UTC by Lucy Q. User
Modified: 2024-01-31 09:23 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Lucy Q. User 2024-01-31 07:59:51 UTC
SUMMARY
Unmaximizing a window that has never been unmaximized before by dragging the window bar results in the cursor grabbing the top left corner.

STEPS TO REPRODUCE
1. Start a window in a maximized state, it must have never been unmaximized before.
2. Grab the window bar roughly in the middle of it, and drag it down to perform the unmaximize gesture.

OBSERVED RESULT
The window unmaximizes, but changes it's location in such a way that the cursor is now grabbing the top left corner.

EXPECTED RESULT
The window unmaximizes, and keeps it's location in such a way that the cursor is grabbing a position corresponding to the one in maximized window.

ADDITIONAL OBSERVATION:
Maximizing this window again and performing the unmaximize gesture again results in the cursor grabbing the intended position, this bug can only be reproduced once per window.

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: Fedora Linux 40 (download image is Fedora-KDE-Live-aarch64-Rawhide-20240117.n.0.iso)
KDE Plasma Version: 5.92.0
KDE Frameworks Version: 5.248.0
Qt Version: 6.6.1

ADDITIONAL INFORMATION
Host architecture: aarch64
Virtual machine: qemu-7.2
Comment 1 Patrick Silva 2024-01-31 09:23:27 UTC

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