Bug 458017

Summary: New tab button doesn't keep up with tab size when using a widget style other than Breeze
Product: [Applications] konsole Reporter: jbn
Component: tabbarAssignee: Konsole Developer <konsole-devel>
Status: REPORTED ---    
Severity: minor CC: nate, tcanabrava
Priority: NOR    
Version: 20.12.3   
Target Milestone: ---   
Platform: Debian stable   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: Shows the tiny new tab button which is out of proportion to the tab.

Description jbn 2022-08-18 03:57:49 UTC
Created attachment 151395 [details]
Shows the tiny new tab button which is out of proportion to the tab.

SUMMARY
Making the tabs higher (by selecting a different font size for text that appears in the tabs) shows that the new tab button isn't keeping up.

STEPS TO REPRODUCE
1. In Settings -> Configure Konsole... go to the "Tab Bar/Splitters" section and check "Show 'New Tab' button". Click OK to set the new setting and dismiss the configuration panel.
2. Add some tabs (either with the button or the keyboard shortcut). You'll need at least 2 tabs to see the effect.
3. Use your desktop environment to set a larger default text size for text inside applications. This will make the text in the tab titles larger and cause the tab height to rise.
4. Notice that the new tab button doesn't increase in size as you make the tabs larger.

OBSERVED RESULT
See attached image.

EXPECTED RESULT
The new tab button should be resized (proportionally, both height and width) to keep up with the tab bar size.

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: 
Operating System: Debian GNU/Linux 11
KDE Plasma Version: 5.20.5
KDE Frameworks Version: 5.78.0
Qt Version: 5.15.2
Kernel Version: 5.10.0-17-amd64
OS Type: 64-bit
Processors: 8 × AMD FX(tm)-8150 Eight-Core Processor
Memory: 31.3 GiB of RAM
Graphics Processor: NV106

ADDITIONAL INFORMATION
Comment 1 Nate Graham 2022-08-22 23:38:02 UTC
Does it work if you use the Breeze widget style?
Comment 2 jbn 2022-08-23 02:21:10 UTC
Yes, thanks!

In other desktop environments (such as Mate) I still see the same behavior, but in KDE (Plasma) I see that the icon has the same height as the tab.
Comment 3 Nate Graham 2022-08-23 05:42:55 UTC
You're welcome!

This could still be an issue in Konsole itself though; perhaps the way it draws that button happens to only with with Breeze, but it should work with every style.