Bug 437008

Summary: border line through all windows tabs when using Oxygen style
Product: [Applications] konsole Reporter: Ricardo A. Glez. Gazapo <rgazapo>
Component: generalAssignee: Konsole Developer <konsole-devel>
Status: RESOLVED DUPLICATE    
Severity: minor CC: a.samirh78, ninjalj
Priority: NOR    
Version: 19.12.3   
Target Milestone: ---   
Platform: Kubuntu   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: screen shoot of the problem

Description Ricardo A. Glez. Gazapo 2021-05-13 02:33:50 UTC
Created attachment 138378 [details]
screen shoot of the problem

SUMMARY
On the Tab bar, When "add new tab button" it's present, and the tab bar position it's above the terminal, a straight border line cross all over the width of the tab bar, and it's visible over the tabs 

STEPS TO REPRODUCE
1. On the Konsole, go to menu settings, click on Configure konsole 
2. On settings, go to Tab settings 
3. On the Appearance tab, activate Position: Above terminal area, and check 'Show new tab button' 

OBSERVED RESULT
a straight border line cross all over the width of the tab bar, and it's visible over the tabs 


EXPECTED RESULT
Only the "New tab button"

SOFTWARE/OS VERSIONS
Windows: 
macOS: 
Linux/KDE Plasma: Kubuntu 20.04
(available in About System)
KDE Plasma Version: 5.18.5
KDE Frameworks Version: 5.68.0
Qt Version: 5.12.8

ADDITIONAL INFORMATION
Comment 1 Ahmad Samir 2021-05-13 05:18:28 UTC
Seems related to the style, I see the issue with Oxygen but not with Breeze, with the latter there is a blue (focus?) line on top of the active tab.
Comment 2 Ricardo A. Glez. Gazapo 2021-05-13 20:07:53 UTC
(In reply to Ahmad Samir from comment #1)
> Seems related to the style, I see the issue with Oxygen but not with Breeze,
> with the latter there is a blue (focus?) line on top of the active tab.

I think you have right, I way back to Breeze and the line disappear.

I have never reported a bug here, this can be closed after that conclusions?

Thanks in advanced
Comment 3 Ahmad Samir 2021-05-13 20:33:05 UTC
It's a bug, it should fixed.
Comment 4 ninjalj 2021-05-27 18:57:34 UTC
Apparently oxygen doesn't like the stylesheet applied to tabs:

QTabWidget::tab-bar, QTabWidget::pane { margin: 0; }

Interestingly, kstyle/oxygenstyle.cpp:Style::drawFrameTabBarBasePrimitive() has specific code to draw tab bars with corner buttons, skipping that code results in the line that separates tabs from the content pane not extending over the corner buttons. I'll investigate further.
Comment 5 ninjalj 2022-01-11 01:12:15 UTC

*** This bug has been marked as a duplicate of bug 410495 ***
Comment 6 ninjalj 2022-01-11 01:15:15 UTC

*** This bug has been marked as a duplicate of bug 410133 ***