Bug 442388 - Unexpected window resize after minimization/restore
Summary: Unexpected window resize after minimization/restore
Status: RESOLVED DUPLICATE of bug 441610
Alias: None
Product: konsole
Classification: Applications
Component: general (show other bugs)
Version: 21.08.1
Platform: Arch Linux Linux
: NOR normal
Target Milestone: ---
Assignee: Konsole Developer
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-09-13 17:03 UTC by Michael Konieczny
Modified: 2021-09-13 17:10 UTC (History)
1 user (show)

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


Attachments
Minimize/resore behavior with change of window size (3.37 MB, video/x-matroska)
2021-09-13 17:03 UTC, Michael Konieczny
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Michael Konieczny 2021-09-13 17:03:01 UTC
Created attachment 141518 [details]
Minimize/resore behavior with change of window size

SUMMARY

Terminal is unexpectedly resized after minimizaion and restoration.
When there's no toolbar, it's resized to match size as se in profile.
When we have toolbars enabled, it's resized to contain selected toolbars.

STEPS TO REPRODUCE
1. Open terminal, disable all toolbars (in my case, it's size is 100x50).
2. Shrink the window, so it's smaller then initial size.
3. Minimize
4. Restore from taskbar
5. Size is again 100x50, but should remain the same as before minimization.
6. Enable Main Toolbar.
7. Toolbar is showm but it's partially ellipsized (not enough space, window too narrow)
8. Minimize
9. Restore
10. Now the window is larger, width fits main toolbar size
11. Enable Session Toolbar
12. Toolbar is ellipsized, no enough space
13. Minimize
14. Restore
15. Now the window is even larger, width fits main toolbar size + session toolbar size.

OBSERVED RESULT

See attached recording.

EXPECTED RESULT

No window size change during minimize/restore

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: Arch Linux
(available in About System)
KDE Plasma Version: 5.22.5-1
KDE Frameworks Version: 5.85.0
Qt Version: 5.15.2

ADDITIONAL INFORMATION
Comment 1 Ahmad Samir 2021-09-13 17:10:16 UTC
Already fixed in 21.08 stable branch, but the commit didn't catch the tagging of 21.08.1.

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