Bug 473844

Summary: Hovering over widgets in panel edit mode shows "Panel" instead of widget name
Product: [Plasma] plasmashell Reporter: Natalie Clarius <natalie_clarius>
Component: PanelAssignee: Plasma Bugs List <plasma-bugs-null>
Status: RESOLVED FIXED    
Severity: normal CC: bugseforuns, nate, niccolo.venerandi
Priority: NOR Keywords: qt6
Version First Reported In: master   
Target Milestone: 1.0   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description Natalie Clarius 2023-08-28 10:55:39 UTC
STEPS TO REPRODUCE
1. Enter panel edit mode
2. Hover over task manager widget

OBSERVED RESULT
Heading shows "Panel"

EXPECTED RESULT
Heading shows "Icons-only task manager"

SOFTWARE/OS VERSIONS
git master
Comment 1 Nate Graham 2023-08-29 20:03:06 UTC
Whoops, can reproduce.
Comment 2 Nate Graham 2023-08-29 20:58:38 UTC
Looks like the pop-up has also lost relevant menu items like "Alternatives".
Comment 3 Nate Graham 2023-08-29 21:09:58 UTC
Git commit fdcaf70e451d8338a996a2f98f9ea228e1d26ab4 by Nate Graham.
Committed on 29/08/2023 at 23:09.
Pushed by ngraham into branch 'master'.

containment/panel: fix some incorrectly ported plasmoid properties

In this case, lowercase-p "plasmoid" was actually a local variable, so
porting it to the uppercase version caused the variable to be ignored
and instead we were referencing the data from the capital-P Plasmoid in
the config poverlay--that is to say, from the panel itself.

Fix this and also rename the variable for clarity.

M  +5    -5    containments/panel/contents/ui/ConfigOverlay.qml

https://invent.kde.org/plasma/plasma-desktop/-/commit/fdcaf70e451d8338a996a2f98f9ea228e1d26ab4