Bug 478773

Summary: In Plasma 6 when you set panel spacer to not expand and its width to 0, the spacer becomes invisible
Product: [Plasma] plasmashell Reporter: Alex Čižinský <alex.cizinsky>
Component: Panel Spacer widgetAssignee: Plasma Bugs List <plasma-bugs-null>
Status: RESOLVED DUPLICATE    
Severity: normal CC: notmart
Priority: NOR Keywords: qt6
Version First Reported In: master   
Target Milestone: 1.0   
Platform: Compiled Sources   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:
Attachments: Wrong image
Plasma 5 behavior
Plasma 6 behavior

Description Alex Čižinský 2023-12-20 13:59:31 UTC
Created attachment 164318 [details]
Wrong image

SUMMARY
In Plasma 6 when you set panel spacer to not expand and its width to 0, the spacer becomes invisible, 
it is there but it is like 1px thick, resulting in it being very hard to click on.

In Plasma 5 when it is set like this, the applet has some width.

STEPS TO REPRODUCE
1. Add spacer to a panel
2. Set it to not expand
3. Set its width to 0

OBSERVED RESULT
The applet is almost invisible, as its like 1px thick

EXPECTED RESULT
The plasma 5 behavior.
Where even if the applet's width is set to 0 it has some width.

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: openSUSE Tumbleweed
KDE Plasma Version: 5.91.0 (6.0 Beta 2) -> compiled from master using kdesrc-build
KDE Frameworks Version: 5.247.0
Qt Version: 6.6.1
Comment 1 Alex Čižinský 2023-12-20 13:59:58 UTC
Created attachment 164319 [details]
Plasma 5 behavior
Comment 2 Alex Čižinský 2023-12-20 14:01:29 UTC
Created attachment 164321 [details]
Plasma 6 behavior
Comment 3 Marco Martin 2023-12-20 14:53:20 UTC
same cause and same solution to 478772

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