Bug 446894 - Dragging maximised window does not un-maximise
Summary: Dragging maximised window does not un-maximise
Status: RESOLVED INTENTIONAL
Alias: None
Product: kwin
Classification: Plasma
Component: wayland-generic (other bugs)
Version First Reported In: 5.23.4
Platform: Arch Linux Linux
: NOR normal
Target Milestone: ---
Assignee: KWin default assignee
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-12-12 20:13 UTC by Szymon Łągiewka
Modified: 2021-12-14 19:39 UTC (History)
1 user (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Szymon Łągiewka 2021-12-12 20:13:23 UTC
SUMMARY
When `Windows dragged to top edge` is off, grabbing the title bar and moving the window around will not un-maximise it (as in - restore state from before it was maximised).


STEPS TO REPRODUCE
1. Go to Screen Edges -> Maximise: Windows dragged to top edge - off
2. Maximise a window
3. Drag the window via its title bar (i.e. few inches below)

OBSERVED RESULT
Window stays maximised (w/o borders, shadows etc).

Since the window is in maxmised state still, dragging it to another display will resize it to the size of that display. So will dragging it back to the original display.

EXPECTED RESULT
Window should un-maximise (as it does when `Windows dragged to top edge` is on).

Moving maximised window from one display to another may as well be expected to keep the window maximised. That would be similar to how one can rearrange fullscreen apps in multi-monitor setup in macOS. However, placing the window on the same screen and still having it maximised is counter-intuitive.


SOFTWARE/OS VERSIONS
Linux/KDE Plasma: Arch Linux
KDE Plasma Version: 5.23.4
KDE Frameworks Version: 5.88
Qt Version: 5.15.2

ADDITIONAL INFORMATION
I'm reporting this as wayland-generic. Might as well be the case in X11 - haven't checked.
Comment 1 Nate Graham 2021-12-14 19:02:47 UTC
Looks like that feature controls un-maximizing too. I'd recommend that you just turn it back on if you want the functionality.
Comment 2 Szymon Łągiewka 2021-12-14 19:39:40 UTC
Yes. I will most likely turn it back on. It's just that I've turned it off because I was trying to get this feature out of the way when using a 90 degree rotated screen with 3-window stack (snapping in quarters is weird in this rotation BTW) and decided to report back my impressions.

Never mind the resolution, I still think that it's weird UX to have that toggle off resulting in windows staying maximised even though they're being dragged far away from any screen edge. Or at least the title bar is away, other window edges will obviosly still be touching screen edges since the window is the size of the screen (minus panels).