https://bugs.kde.org/show_bug.cgi?id=470096
Bug ID: 470096 Summary: Line.svg drawn inconsistently in Networks compared to Kickoff Classification: Plasma Product: plasmashell Version: 5.27.4 Platform: Neon OS: Linux Status: REPORTED Severity: normal Priority: NOR Component: general Assignee: plasma-b...@kde.org Reporter: doncb...@gmail.com CC: k...@davidedmundson.co.uk Target Milestone: 1.0 SUMMARY While making a plasma style, I noticed that line.svg (the horizontal asset) is drawn in at least 3 different ways. I'm actually confused as to what the code is, because how it responds seems arbitrary. The 3 use locations in question are a) where plasmoids meet their panel, b) the separator in the left pane of Kickoff, c) the separator in system tray's Networks section when a connection is expanded to show speed/details. (For checking this behavior, you will have to restart plasmashell, as it usually doesn't update the line sizes) My line has invisible margin added, so it is thicker than 1px even though it looks to be 1px thick. In the case of c), if the asset is 1px, the line will be 1px thick, but if it is greater, it well be stretched to 16px thick, regardless of its size. b) was the "traditional" way of doing it, where it would (after restarting plasma) set its thickness to that of the svg asset rather than stretching it to some value. STEPS TO REPRODUCE 1. Choose a plasma theme whose horizontal separator is greater than 1px thick (e.g. Colloid Light) 2. Apply/restart plasma 3. Open Networks and select the dropdown on a connection 4. Open Kickoff and observe the separator on the left OBSERVED RESULT Although Kickoff shows a 1px separator, Networks stretches it to 16px and produces an unusually thick separator. EXPECTED RESULT The thickness is either preserved according to the svg, or always set to a specific value (e.g. 16px). SOFTWARE/OS VERSIONS Operating System: KDE neon 5.27 KDE Plasma Version: 5.27.4 KDE Frameworks Version: 5.105.0 Qt Version: 5.15.8 Kernel Version: 5.19.0-38-generic (64-bit) Graphics Platform: X11 ADDITIONAL INFORMATION a) always sets the line to 1px thick because the line is assumed to be 1px. While I believe that Content separators and the line that separates plasmoids from the panel are functionally different and should not use the same asset, it's a bit tedious and would add more complexity to theme making just for a line. The vertical separator lines and notifications have a similar issue. -- You are receiving this mail because: You are watching all bug changes.