Bug 458505

Summary: Unnecessary lines in some widgets Plasma
Product: [Frameworks and Libraries] libplasma Reporter: X_Server Linuxoid <demetrykravchenko>
Component: libplasmaAssignee: Plasma Bugs List <plasma-bugs>
Status: RESOLVED DUPLICATE    
Severity: normal CC: materka, me, nate, notmart
Priority: NOR    
Version: 5.97.0   
Target Milestone: ---   
Platform: unspecified   
OS: Linux   
Latest Commit: Version Fixed In:
Attachments: This image visually describes the bug

Description X_Server Linuxoid 2022-08-30 11:04:10 UTC
Created attachment 151703 [details]
This image visually describes the bug

In some KDE Plasma widgets (battery widget and plasma-nm) unnecessary lines were found, in other words - "bars". They were missing in earlier versions. In the case of battery widget, they appear if, for example, playing video or audio in any player/web browser. In the case of plasma-nm, it is enough to expand the "curtain" of any connection by clicking on the arrow next to the "Connect" button


STEPS TO REPRODUCE
1. Open these two widgets (plasma-nm and battery widget)
2. For battery widget: get a notification in it that an application is preventing you from going to sleep. For example, run a video in any web browser or play an audio
3. For plasma-nm: open the widget, click on the arrow next to the "Connect" button for any network access point


SOFTWARE/OS VERSIONS
Linux/KDE Plasma: Arch Linux
KDE Plasma Version: 5.25.4
KDE Frameworks Version: 5.97
Qt Version: 5.15.5

ADDITIONAL INFORMATION
The bug appears on any Linux distribution with KDE Plasma. If it matters, my display is 1366x768 - that's the native resolution
Comment 1 Nate Graham 2022-08-30 21:40:50 UTC
These lines aren't unnecessary (they're part of the design), but they're unnecessarily tall in your screenshot. This is a bug. Do they return to their appropriate hairline thickness if you clear the Plasma SVG cache and restart plasmashell with `rm -r ~/.cache/plasma* ;; plasmashell --replace`?
Comment 2 X_Server Linuxoid 2022-08-31 00:23:07 UTC
(In reply to Nate Graham from comment #1)
> These lines aren't unnecessary (they're part of the design), but they're
> unnecessarily tall in your screenshot. This is a bug. Do they return to
> their appropriate hairline thickness if you clear the Plasma SVG cache and
> restart plasmashell with `rm -r ~/.cache/plasma* ;; plasmashell --replace`?

Some users suggested this solution to me, but unfortunately it didn't work :(
Comment 3 Nate Graham 2022-08-31 02:46:25 UTC
Darn. What Plasma theme are you using?
Comment 4 X_Server Linuxoid 2022-08-31 11:53:05 UTC
(In reply to Nate Graham from comment #3)
> Darn. What Plasma theme are you using?

I'm using the Breeze Dark theme, but I'm using the Brise Dark custom theme for panel styling and colors
Comment 5 X_Server Linuxoid 2022-08-31 12:02:02 UTC
(In reply to X_Server Linuxoid from comment #4)
> (In reply to Nate Graham from comment #3)
> > Darn. What Plasma theme are you using?
> 
> I'm using the Breeze Dark theme, but I'm using the Brise Dark custom theme
> for panel styling and colors

Addition:
Applied the Breeze theme for "Plasma Style", thereby changing the appearance of the panel and widgets - the problem is gone! So, the problem was in the custom theme... However, the bug previously appeared on the stock Breeze theme as well, but it seems that it is no longer there
Comment 6 Nate Graham 2022-08-31 13:05:27 UTC

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