Bug 412888

Summary: Vertically maximized window "jumps down" when resized and dragged
Product: [Plasma] kwin Reporter: Piotr Budny <piotr.budny+bugskde>
Component: coreAssignee: KWin default assignee <kwin-bugs-null>
Status: RESOLVED FIXED    
Severity: normal CC: nate
Priority: NOR Flags: vlad.zahorodnii: Wayland-
vlad.zahorodnii: X11+
vlad.zahorodnii: ReviewRequest+
Version First Reported In: 5.17.3   
Target Milestone: ---   
Platform: Kubuntu   
OS: Linux   
URL: https://phabricator.kde.org/D25366
See Also: https://bugs.kde.org/show_bug.cgi?id=413424
Latest Commit: Version Fixed/Implemented In: 5.17.4
Sentry Crash Report:
Attachments: Video describing bug

Description Piotr Budny 2019-10-12 18:59:32 UTC
STEPS TO REPRODUCE
1. Vertically maximize window (e.g. middle mouse on arrow top right window controls) 
2. Resize window (e.g. with alt+right mouse button)
3. Try to move window (e.g. with title bar or alt+left mouse button)

OBSERVED RESULT
Window jumps down about half its size and then backs (on neon-testing).

On my local setup, window is getting maximized to full, looses window border (you can't grab to change size), it appears again after resizing window with alt+right mouse.

EXPECTED RESULT
No size change, no maximizing.

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: 
neon-testing-20191008-1043.iso

or

Kubuntu Disco with 5.16.90, fw. 5.62.0, Qt 5.12.2, 64-bit
Comment 1 Piotr Budny 2019-10-15 17:18:18 UTC
Created attachment 123214 [details]
Video describing bug

Bug is present in latest Kubuntu 19.10 with Kde Plasma 5.17.0 from backports.
The video shows that window 88x15. It gets maximized vertically (88x33), then resized grabbing top edge/border of the window to 88x8. The window now lacks of shadows around it.
Then, I'm dragging window (on titlebar) with mouse, the windows gets back to 88x15 (it shoudl be still 88x8), and gets back the shadows decorations.
Comment 2 Piotr Budny 2019-11-14 10:08:31 UTC
Still present in 5.17.3
Comment 3 Nate Graham 2019-11-14 16:29:55 UTC
I can confirm this bug.
Comment 4 Piotr Budny 2019-11-15 10:26:45 UTC
Also https://bugs.kde.org/show_bug.cgi?id=413424
Comment 5 Vlad Zahorodnii 2019-11-18 14:07:33 UTC
Git commit b97d9ad681e9e60ed1a296c01c1d4328f090c659 by Vlad Zahorodnii.
Committed on 18/11/2019 at 14:05.
Pushed by vladz into branch 'Plasma/5.17'.

Fix the order of arguments passed to changeMaximize method

Summary:
Related: bug 413424, bug 413554
FIXED-IN: 5.17.4

Reviewers: #kwin, davidedmundson

Reviewed By: #kwin, davidedmundson

Subscribers: davidedmundson, kwin

Tags: #kwin

Differential Revision: https://phabricator.kde.org/D25366

M  +1    -1    geometry.cpp

https://commits.kde.org/kwin/b97d9ad681e9e60ed1a296c01c1d4328f090c659