Bug 386236 - About [program] windows have tabs with visual glitches in the underlining effect when selected
Summary: About [program] windows have tabs with visual glitches in the underlining eff...
Status: RESOLVED FIXED
Alias: None
Product: Breeze
Classification: Plasma
Component: QStyle (show other bugs)
Version: 5.12.0
Platform: Debian testing Linux
: NOR minor
Target Milestone: ---
Assignee: Unassigned bugs mailing-list
URL:
Keywords:
: 390050 (view as bug list)
Depends on:
Blocks:
 
Reported: 2017-10-27 08:27 UTC by Andrew
Modified: 2022-02-23 18:30 UTC (History)
5 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
A demonstration of the visual elements discussed (121.56 KB, image/png)
2017-10-27 08:27 UTC, Andrew
Details
Demonstration of issue using the Breeze Light color scheme (82.72 KB, image/png)
2017-10-27 21:19 UTC, Andrew
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Andrew 2017-10-27 08:27:05 UTC
Created attachment 108583 [details]
A demonstration of the visual elements discussed

When changing tabs in KSysGuard or in the "About [application]" window, thin blue lines appear under the tab's text, but do not fill out the rest of the tab's length. The rest of the tab's length is instead filled out by a thin white line. I first noticed this problem with KSysGuard, though it can also be reproduced using "About [application]" or "About KDE" under the Help menu in KDE applications. I think I remember this happening in Dolphin as well, but as of now, I am unable to reproduce this error in Dolphin.  The easiest way to reproduce this issue is to:

1.) Open a KDE application (I used KSysGuard but this is reproducible in many other KDE applications on my system)
2.) Navigate to the "About KDE" option under the Help menu in the menu bar
3.) Lines appear under the tab's text when there shouldn't be

I am not sure whether or not this effect is intentional, but I am going to assume that it isn't.
Comment 1 Nate Graham 2017-10-27 14:09:58 UTC
There are a couple of issues here. One is the blue underline, which is very inconsistent across software, not just KsysGuard. Can you open a new bug in Breeze to track that?

The other is the white lines on either side of the blue lines. That seems to be a rendering or color scheme bug. Let's use this to track that. Can you attach a screenshot of the issue when using the standard Breeze light color scheme without any modifications?
Comment 2 Andrew 2017-10-27 21:19:53 UTC
Created attachment 108593 [details]
Demonstration of issue using the Breeze Light color scheme
Comment 3 Nate Graham 2017-10-27 21:24:40 UTC
The lines on either side of the blue line are still there with Breeze light, it's just very hard to tell. But they're still there.
Comment 4 Andrew 2017-10-27 21:46:11 UTC
I see.  Is the underlining effect a holdover from a previous version?  In Konqueror, Dolphin, and such, I cannot get the underline to appear.
Comment 5 Kai Uwe Broulik 2017-10-27 22:02:51 UTC
The underline indicates focus and thus is under the text not spanning the entire tab width. The white part is a genuine bug, however, one that also occurred in other places that I fixed but here I apparently did not notice it (it's typically only visible if text is significantly narrower than the tab)
Comment 6 Hugo Pereira Da Costa 2017-10-29 09:59:31 UTC
(In reply to Nate Graham from comment #1)
> There are a couple of issues here. One is the blue underline, which is very
> inconsistent across software, not just KsysGuard. Can you open a new bug in
> Breeze to track that?

So the blue underline is *not* inconsistent across software (and these kind of undocumented claims are somewhat disrespectful to the people who wrote the code). 
They indicate that the tabbar has focus and for instance that you can navigate tab using the arrow keys. 
This should *not* be the object of a separate bug. 

For the white line: Kai, can you ellaborate on the bug ? Is in in the widget style ? In the qtquickcontrols ? In the application ? Is there anything I can do to help ? 

Best,

Hugo
Comment 7 Nate Graham 2017-10-29 15:17:32 UTC
Sorry Hugo, I wasn't trying to insult anyone. I think the confusion stemmed from the fact that the focus line doesn't always appear, because tabs only sometimes get focus. That's up to the application or window of course, but it does lead to a state where some tabs have blue focus lines, and others don't. But yes, I can see now that this isn't a bug, just a quirk of how different applications and windows handle focus.
Comment 8 Hugo Pereira Da Costa 2018-02-22 08:37:26 UTC
*** Bug 390050 has been marked as a duplicate of this bug. ***
Comment 9 Janet Blackquill 2022-02-23 18:30:02 UTC
FWIW, we only have the focus line directly under the text now, instead of the additional line that kept getting miscoloured, as this bug reports. Marking as fixed.