Bug 380480

Summary: Plasma panel background no longer renders
Product: [Plasma] plasmashell Reporter: Mircea Kitsune <sonichedgehog_hyperblast00>
Component: PanelAssignee: Plasma Bugs List <plasma-bugs>
Status: RESOLVED INTENTIONAL    
Severity: major CC: kde, notmart, sonichedgehog_hyperblast00
Priority: NOR    
Version: 5.10.0   
Target Milestone: 1.0   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: Screenshot

Description Mircea Kitsune 2017-06-02 16:39:11 UTC
Created attachment 105852 [details]
Screenshot

Plasma 5.10.0 introduced an issue which breaks existing Plasma themes. The issue was not present in 5.9.5.

The Plasma panel no longer renders, and its svg element appears to be ignored. However its contents do show, and the blur effect is present accordingly.

Attached is a screenshot showing the issue, using my Plasma theme Freeze; The top part shows the panel displaying correctly, while the bottom shows it no longer rendering as the issue was introduced.

The bug can be seen with the themes Freeze and Colorbit. You can get them both from here for testing:

https://www.opendesktop.org/p/998653/
https://www.opendesktop.org/p/998712/
Comment 1 Mircea Kitsune 2017-06-02 17:07:25 UTC
I think I found the issue: Plasma 5.10.0 apparently changes the objects in the panel-background.svg element: Previously you had a set for each direction, such as #west-mini-center... now there's a single group for everything, such as #center.

I understand I need to update my Plasma themes in this case? Is it normal for compatibility to be broken with the old ones however?
Comment 2 Kai Uwe Broulik 2017-06-06 05:42:47 UTC
I think the "mini" graphics were never officially supported in Plasma 5. Marco?
Comment 3 Mircea Kitsune 2017-06-06 09:52:10 UTC
(In reply to Kai Uwe Broulik from comment #2)

I see. This might be a problem as it means breaking compatibility with older Plasma themes which are no longer maintained. I already updated mine once this breakage was introduced, so it's no longer an issue in their case.
Comment 4 Marco Martin 2017-06-06 11:57:15 UTC
(In reply to Kai Uwe Broulik from comment #2)
> I think the "mini" graphics were never officially supported in Plasma 5.
> Marco?

nope, they never where supported in plasma5
Comment 5 Mircea Kitsune 2018-06-14 14:10:44 UTC
I believe this can be closed: I understand this was a deliberate decision as the old svg format for panels is no longer supported. I've already adapted my themes to reflect the change and everything works fine now.