Bug 489431 - window doesn't restore proper size after maximize/unmaximize cycle
Summary: window doesn't restore proper size after maximize/unmaximize cycle
Status: RESOLVED FIXED
Alias: None
Product: kwin
Classification: Plasma
Component: general (other bugs)
Version First Reported In: 6.1.1
Platform: Gentoo Packages Linux
: NOR normal
Target Milestone: ---
Assignee: KWin default assignee
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-06-29 12:50 UTC by Alexander Maltsev
Modified: 2024-08-03 03:34 UTC (History)
1 user (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Alexander Maltsev 2024-06-29 12:50:49 UTC
SUMMARY

Applications with window sizes restricted to some intervals (e.g. xterm, rxvt, gvim don't resize on per-pixel basis, but for text lines/columns instead) are getting smaller and smaller after each maximize/unmaximize cycle. Notably it doesn't affect konsole (which could be resized on per-pixel intervals) or gnome-terminal (which couldn't, but still not affected).

STEPS TO REPRODUCE
1. Open xterm/rxvt/gvim
2. maximize window
3. unmaximize window. It gets one line smaller. Repeat steps 2 and 3, it gets smaller after each one, until only one line remains

OBSERVED RESULT
Window gets smaller after each unmaximize

EXPECTED RESULT
Window size remains the same as before first maximize, as it were with plasma 5

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: Gentoo
(available in About System)
KDE Plasma Version: 6.1.1
KDE Frameworks Version: 6.3.0
Qt Version: 6.7.2
Comment 1 Alexander Maltsev 2024-07-29 17:16:04 UTC
Appears to be fixed in kwin 6.1.3, can't reproduce now.