[konsole] [Bug 444835] New: Custom padding via CSS file changes tab-style unexpectedly

Martin Riethmayer bugzilla_noreply at kde.org
Tue Nov 2 15:25:15 GMT 2021


https://bugs.kde.org/show_bug.cgi?id=444835

            Bug ID: 444835
           Summary: Custom padding via CSS file changes tab-style
                    unexpectedly
           Product: konsole
           Version: master
          Platform: Other
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: tabbar
          Assignee: konsole-devel at kde.org
          Reporter: ripper at freakmail.de
  Target Milestone: ---

SUMMARY
When using a user-defined stylesheet, setting a different padding "destroys"
the rest of the styling

STEPS TO REPRODUCE
1. Create a custom CSS file with the content 

QTabBar::tab { padding: 8px; }

2. Apply the stylesheet in Konsole preferences -> Tab Bar

OBSERVED RESULT
The tabs do respect the new padding but also lose a bunch of other styling
information (e.g. the blue highlight...)

EXPECTED RESULT
The tabs should only change the padding, not the rest of the styling

Note: This does not apply generally to all settings in the custom CSS file. If
you put

QTabBar::tab { min-width: 200px; }

then only the minimum width of the tabs is changed, the rest of the styling
appears to be unchanged, e.g. the blue highlight line is still intact.

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: KDE Neon / Kubuntu
KDE Plasma Version: 5.23.2 / 5.18.5
KDE Frameworks Version:  5.87.0 / 5.68.0
Qt Version: 5.15.3 / 5.12.8

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the konsole-devel mailing list