Bug 447315

Summary: Breeze Qt theme has excess padding on vertical Qt tabs
Product: [Plasma] Breeze Reporter: Adam Honse <calcprogrammer1>
Component: QStyleAssignee: Plasma Bugs List <plasma-bugs>
Status: RESOLVED FIXED    
Severity: normal CC: nate, noahadvs
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed In: 5.24.3

Description Adam Honse 2021-12-21 06:04:55 UTC
SUMMARY
***
NOTE: If you are reporting a crash, please try to attach a backtrace with debug symbols.
See https://community.kde.org/Guidelines_and_HOWTOs/Debugging/How_to_create_useful_crash_reports
***


STEPS TO REPRODUCE
1.  Use an application with vertical tabs
2.  Look at the tabs
3.  Compare against what they look like on other Qt themes

OBSERVED RESULT

https://gitlab.com/CalcProgrammer1/OpenRGB/uploads/418916aedc48ad1964dd6dad786ba267/image.png

EXPECTED RESULT

https://gitlab.com/CalcProgrammer1/OpenRGB/uploads/b96854a0034fdbdb8e9646b9a5bdff1d/image.png

SOFTWARE/OS VERSIONS
Linux/KDE Plasma:  Manjaro
(available in About System)
KDE Plasma Version: 5.23.4
KDE Frameworks Version: 5.89.0
Qt Version: 5.15.2

ADDITIONAL INFORMATION

On Windows, MacOS, and GNOME the tab label is centered vertically.  On certain KDE themes (Breeze, Oxygen) there is a large gap above the label.

Related OpenRGB Issue: https://gitlab.com/CalcProgrammer1/OpenRGB/-/issues/2032
Comment 1 Bug Janitor Service 2022-02-25 17:45:06 UTC
A possibly relevant merge request was started @ https://invent.kde.org/plasma/breeze/-/merge_requests/191
Comment 2 Nate Graham 2022-02-28 16:25:53 UTC
Git commit 0576ca06a5bb69da8e1c38f7ba1f98fcf8cc907e by Nate Graham, on behalf of Janet Blackquill.
Committed on 28/02/2022 at 16:25.
Pushed by ngraham into branch 'master'.

KStyle: center QTabBar custom tab buttons vertically in vertical tabs
FIXED-IN: 5.24.3

M  +2    -2    kstyle/breezestyle.cpp

https://invent.kde.org/plasma/breeze/commit/0576ca06a5bb69da8e1c38f7ba1f98fcf8cc907e
Comment 3 Nate Graham 2022-02-28 16:26:47 UTC
Git commit 8a6426dfc9640367dc25454b8f26edd3bdac67c5 by Nate Graham, on behalf of Janet Blackquill.
Committed on 28/02/2022 at 16:26.
Pushed by ngraham into branch 'Plasma/5.24'.

KStyle: center QTabBar custom tab buttons vertically in vertical tabs
FIXED-IN: 5.24.3


(cherry picked from commit 0576ca06a5bb69da8e1c38f7ba1f98fcf8cc907e)

M  +2    -2    kstyle/breezestyle.cpp

https://invent.kde.org/plasma/breeze/commit/8a6426dfc9640367dc25454b8f26edd3bdac67c5