Bug 410133 - Horizontal line strike through Konsole's tabbbar
Summary: Horizontal line strike through Konsole's tabbbar
Status: RESOLVED FIXED
Alias: None
Product: konsole
Classification: Applications
Component: tabbar (show other bugs)
Version: master
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: Konsole Developer
URL:
Keywords:
: 410495 437008 (view as bug list)
Depends on:
Blocks:
 
Reported: 2019-07-23 10:17 UTC by Konrad Rzepecki
Modified: 2022-01-11 01:26 UTC (History)
5 users (show)

See Also:
Latest Commit:
Version Fixed In: v21.12.0


Attachments
Horizontal line screenshot (14.05 KB, image/png)
2019-07-23 10:17 UTC, Konrad Rzepecki
Details
Minimal working example (712 bytes, application/x-xz)
2019-08-02 16:13 UTC, Mariusz Glebocki
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Konrad Rzepecki 2019-07-23 10:17:43 UTC
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
Comment 1 Nate Graham 2019-07-23 17:23:54 UTC
Just in Konsole, or in other apps too?
Comment 2 Konrad Rzepecki 2019-07-24 04:15:55 UTC
I see it only in konsole. But i didn't check every app.
Comment 3 Konrad Rzepecki 2019-07-30 11:25:47 UTC
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...
Comment 4 Mariusz Glebocki 2019-08-02 15:25:59 UTC
*** Bug 410495 has been marked as a duplicate of this bug. ***
Comment 5 Mariusz Glebocki 2019-08-02 16:13:13 UTC
Created attachment 121905 [details]
Minimal working example
Comment 6 Mariusz Glebocki 2019-08-02 16:22:42 UTC
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.
Comment 7 ninjalj 2022-01-11 01:15:15 UTC
*** Bug 437008 has been marked as a duplicate of this bug. ***
Comment 9 ninjalj 2022-01-11 01:23:07 UTC
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.