Bug 440747 - Restore maximized full height window result in its previous height
Summary: Restore maximized full height window result in its previous height
Status: REPORTED
Alias: None
Product: kwin
Classification: Plasma
Component: general (show other bugs)
Version: 5.22.4
Platform: Other Linux
: NOR normal (vote)
Target Milestone: ---
Assignee: KWin default assignee
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-08-08 16:29 UTC by Anthony Fieroni
Modified: 2021-08-12 18:08 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
Open Kate -> resize to full height -> restart app -> maximize -> restore -> half height (1.58 MB, video/x-matroska)
2021-08-08 16:35 UTC, Anthony Fieroni
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Anthony Fieroni 2021-08-08 16:29:13 UTC
SUMMARY
I'm not sure it's window system or KWin related issue
X11, single display, 96DPI

STEPS TO REPRODUCE
1. Open for e.g. Kate
2. Make height to be full and restart application
3. Maximize window
4. Restore it
5. Window is half of previous height

OBSERVED RESULT
Window after restore from maximize is half of previous height

EXPECTED RESULT
Window after restore from maximize to equal to previous height

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: 5.22.4
(available in About System)
KDE Plasma Version: 5.22.4
KDE Frameworks Version: 5.84
Qt Version: 5.15.5 (KDE patches)

ADDITIONAL INFORMATION
Actually this bug is pretty aged. It happens only after first run, if you make it full height again, maximize/restore works correct.
Comment 1 Anthony Fieroni 2021-08-08 16:35:42 UTC
Created attachment 140588 [details]
Open Kate -> resize to full height -> restart app -> maximize -> restore -> half height
Comment 2 Anthony Fieroni 2021-08-08 17:55:16 UTC
After a bit thinking it's not a half height just a previous height (before resize to full height)
Comment 3 Nate Graham 2021-08-09 16:37:07 UTC
I have heard other reports of this, but have never been able to reproduce the issue myself.

Does it affect all KXMLGui-using windows? How about a window from an app that does not use KXMLGui like Discover or Elisa or System Monitor? What about a 3rd-party SSD-using app?
Comment 4 Anthony Fieroni 2021-08-09 16:49:45 UTC
Yup it affects all KXMLGui apps, probably bug is there. See attached video.
Comment 5 Anthony Fieroni 2021-08-09 16:56:17 UTC
Firefox is affected, Steam not.
Comment 6 Anthony Fieroni 2021-08-09 17:03:21 UTC
Discover NOT.
Comment 7 Nate Graham 2021-08-12 16:54:19 UTC
Is Firefox running in CSD mode, or SSD mode?
Comment 8 Anthony Fieroni 2021-08-12 17:31:54 UTC
SSD.
Comment 9 Nate Graham 2021-08-12 18:08:01 UTC
If firefox is affected, that would seem to suggest that KXMLGUI is not to blame, as it certainly does use that framework. Moving to KWin.