Bug 386990 - When using breeze style, and breeze configured for "center tabbar tabs", Konsole tabs are right aligned
Summary: When using breeze style, and breeze configured for "center tabbar tabs", Kons...
Status: RESOLVED WORKSFORME
Alias: None
Product: konsole
Classification: Applications
Component: tabbar (show other bugs)
Version: 17.08.3
Platform: Kubuntu Linux
: NOR minor
Target Milestone: ---
Assignee: Konsole Developer
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-11-16 15:03 UTC by Oded Arbel
Modified: 2020-10-24 08:09 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
Screenshot showing the problem (143.23 KB, image/png)
2017-11-16 15:03 UTC, Oded Arbel
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Oded Arbel 2017-11-16 15:03:37 UTC
Created attachment 108897 [details]
Screenshot showing the problem

With the Breeze style configuration, when "center tabbar tabs" is checked, Konsole tabs in the tabbar are right aligned and always keep about half the width of the tabbar empty of tabs (see screenshot).

With the Breeze style configuration set to not "center tabbar tabs", the Konsole tabbar fills the entire width with the tabs, where tabs take each equal width, e.g. two tabs take each half the width of the screen.
Comment 1 Kurt Hindenburg 2017-11-21 14:50:32 UTC
What Qt5 version do you have?  Starting w/ Qt5.9+, the width of the tabs are shown differently than before.

The "fix" for this was to add a new item in Konsole master/17.12 version.
With Qt5.9 and master/17.12 "Configure Konsole->TabBar->Expand Individual Tab Widths to Full Window" disabled, the tabs are centered.
Comment 2 Oded Arbel 2017-11-26 07:51:38 UTC
(In reply to Kurt Hindenburg from comment #1)
> What Qt5 version do you have?  Starting w/ Qt5.9+, the width of the tabs are
> shown differently than before.

I am using Qt 5.9.1

> 
> The "fix" for this was to add a new item in Konsole master/17.12 version.
> With Qt5.9 and master/17.12 "Configure Konsole->TabBar->Expand Individual
> Tab Widths to Full Window" disabled, the tabs are centered.

I'm still running 17.08. I'll review the changes when 17.12 is generally available. I'd love to see an update to 17.08 to restore the pre-5.9 behavior.

BTW- I understand it isn't clear from my original report, but my complaint isn't that the tab's aren't centered - it is that previously the tabs always filled the entire width of the window in all settings, but with Qt 5.9 the tabs are right aligned with some settings.
Comment 3 Justin Zobel 2020-10-23 02:12:04 UTC
I have checked centred tabs on my current install and this is not an issue.

Oded, can you please confirm if this is still an issue with Konsole 20.08.1+.
Comment 4 Oded Arbel 2020-10-24 08:09:25 UTC
With the current Neon unstable packages for Konsole (4:20.08.2+p20.04+git20201023.0020-0) and Qt (5.15.0+dfsg-0xneon+20.04+focal+build14), the reported problem no longer shows.