Created attachment 121690 [details] Horizontal line screenshot From some time (probably since 19.04.0) a horizontal line strike through my tabbar in konsole. It is good visible only in Oxygen theme. In Fusion and MS Windows there is something but above tabs. In Breeze everything looks OK. It can be Oxygen problem, but I don't observe this kind of problem in other KDE apps. OBSERVED RESULT Line above tabs. EXPECTED RESULT No line above tabs. SOFTWARE/OS VERSIONS Linux/KDE Plasma: Slackware current with Alien plasma packages. KDE Plasma Version: 5.16.3 KDE Frameworks Version: 5.60.0 Qt Version: 5.13.0
Just in Konsole, or in other apps too?
I see it only in konsole. But i didn't check every app.
I found something out. This line comes from "new tab" button. Without it, disappears. It is also visible when tabs are at the bottom. This time below icon, and almost match tab bottom boundary line, so is less visible. Similar line appear when close tab button is added besides tab, however this time line hide below tabs (is visible only above button). In every of this cases, this buttons seems to not be separated properly from tabs. And, I'm not convinced that this is oxygen issue...
*** Bug 410495 has been marked as a duplicate of this bug. ***
Created attachment 121905 [details] Minimal working example
The bug is caused by CSS used for removing 1px margin in Konsole: "QTabWidget::tab-bar, QTabWidget::pane { margin: 0; }". The line is drawn even in Breeze, but it is placed below tabs and is hidden by terminal. Moving back to Konsole.
*** Bug 437008 has been marked as a duplicate of this bug. ***
Fixed by https://invent.kde.org/utilities/konsole/-/merge_requests/494
Note the Qt docs for https://doc.qt.io/qt-5/qwidget.html#styleSheet-prop have a warning: Warning: Qt style sheets are currently not supported for custom QStyle subclasses. We plan to address this in some future release.