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.
Could you attach a screenshot that shows the issue happening with your theme? Or better yet, attach the theme so I can test with it?
Created attachment 159216 [details] Line.svg in Kickoff vs Networks using Colloid Theme Sorry about that Nate, you should be able to reproduce it with the Colloid Light or Colloid Dark plasma themes, which are available for download on the store.
This is working as expected for me with current git master (soon to be Plasma 6.3.0) and the Colloid Dark theme; must have been fixed somewhere along the way.