Bug 411003

Summary: Tabs that do not fit in Konsole window expand it instead of being hidden
Product: [Applications] konsole Reporter: answer2019
Component: tabbarAssignee: Konsole Developer <konsole-devel>
Status: RESOLVED FIXED    
Severity: normal CC: juliasummerhill64, mglb
Priority: NOR    
Version: 19.08.0   
Target Milestone: ---   
Platform: openSUSE   
OS: Linux   
Latest Commit: Version Fixed In: 19.08.1

Description answer2019 2019-08-17 00:53:08 UTC
SUMMARY
When open a lot of tabs on tab bar is missing scroll button and so konsole window is start grow up till it oversized and right part of window go out of screen. After that size of konsole window cannot shrink.

STEPS TO REPRODUCE
1. Open so many tabs as it cannot placed in tab bar.
2. Try resize konsole window (shrink)


OBSERVED RESULT
Konsole window go out of screen. Cannot shrink konsole window.

EXPECTED RESULT
Size of konsole window is not changed when open many new tab. Tab bar has scroll button (as it was in 19.04.X).

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: gentoo 64bit
(available in About System)
KDE Plasma Version: 5.16.4
KDE Frameworks Version: 5.61.0
Qt Version: 5.12.4

ADDITIONAL INFORMATION
screencast:https://youtu.be/3egrDoCdszY
Comment 1 juliasummerhill64 2019-08-23 17:51:59 UTC
same regression here after latest update from 19.04.0 to 19.08.0
SOFTWARE/OS VERSIONS
Linux/KDE Plasma: openSUSE Tumbleweed
KDE Plasma Version: plasma5-workspace-5.16.4-1.1.x86_64
KDE Frameworks Version: 5.61.0-1.1.x86_64
Qt Version: libQt5Core5-5.13.0-3.1.x86_64

konsole width can be shrunk only after "overflowing" tabs where closed first
Comment 2 Mariusz Glebocki 2019-08-25 13:46:05 UTC
This happens even when tabbar is set to "always hidden". Fixing this case.

The tabs that do not fit should be hidden. There is https://doc.qt.io/qt-5/qtabbar.html#usesScrollButtons-prop which suitable for quick fix, but it is pretty uncomfortable. I think menu button(s) for hidden tabs would be OK. Minimum size hint for tabs could be decreased too.
Comment 3 answer2019 2019-12-08 17:48:18 UTC
Fixed in 19.08.1 and up.