Bug 442388

Summary: Unexpected window resize after minimization/restore
Product: [Applications] konsole Reporter: Michael Konieczny <kde>
Component: generalAssignee: Konsole Developer <konsole-devel>
Status: RESOLVED DUPLICATE    
Severity: normal CC: a.samirh78
Priority: NOR    
Version: 21.08.1   
Target Milestone: ---   
Platform: Arch Linux   
OS: Linux   
Latest Commit: Version Fixed In:
Attachments: Minimize/resore behavior with change of window size

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 ***