Bug 478772

Summary: Panel spacers are invisible in edit mode in plasma6
Product: [Plasma] plasmashell Reporter: Alex Čižinský <alex.cizinsky>
Component: Panel Spacer widgetAssignee: Plasma Bugs List <plasma-bugs-null>
Status: RESOLVED FIXED    
Severity: normal CC: nate
Priority: NOR Keywords: qt6, regression
Version First Reported In: master   
Target Milestone: 1.0   
Platform: Compiled Sources   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:
Attachments: Plasma 6 behavior
Plasma 5 behavior

Description Alex Čižinský 2023-12-20 13:32:37 UTC
Created attachment 164316 [details]
Plasma 6 behavior

SUMMARY
In Plasma 6 panel spacer is transparent in panel edit mode,
unlike in Plasma 5 where the panel spacer in edit mode has color.

Resulting in it being harder to move widgets in panel with spacers. 

STEPS TO REPRODUCE
1.  Add spacer to panel
2.  Enable edit mode 

OBSERVED RESULT
In panel edit mode, the spacer is invisible, it is there, when you hover over it, but it is transparent.

EXPECTED RESULT
The Plasma 5 behavior.
Where in panel edit mode, the spacer has color.

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:33:02 UTC
Created attachment 164317 [details]
Plasma 5 behavior
Comment 2 Bug Janitor Service 2023-12-20 14:49:13 UTC
A possibly relevant merge request was started @ https://invent.kde.org/plasma/plasma-workspace/-/merge_requests/3712
Comment 3 Marco Martin 2023-12-20 14:53:21 UTC
*** Bug 478773 has been marked as a duplicate of this bug. ***
Comment 4 Marco Martin 2023-12-20 15:40:38 UTC
Git commit 6c205ad2d1d4ad12e2edb5b6479adea7418a027d by Marco Martin.
Committed on 20/12/2023 at 16:40.
Pushed by mart into branch 'master'.

Fix edit mode for panel spacers

now plasmoid.containment is the actual containment, so rename the
containment property to containmentitem in order to not shadow the
property

M  +3    -3    applets/panelspacer/package/contents/ui/main.qml
M  +1    -1    applets/panelspacer/plugin/panelspacer.h

https://invent.kde.org/plasma/plasma-workspace/-/commit/6c205ad2d1d4ad12e2edb5b6479adea7418a027d