Bug 473844 - Hovering over widgets in panel edit mode shows "Panel" instead of widget name
Summary: Hovering over widgets in panel edit mode shows "Panel" instead of widget name
Status: RESOLVED FIXED
Alias: None
Product: plasmashell
Classification: Plasma
Component: Panel (other bugs)
Version First Reported In: master
Platform: Other Linux
: NOR normal
Target Milestone: 1.0
Assignee: Plasma Bugs List
URL:
Keywords: qt6
Depends on:
Blocks:
 
Reported: 2023-08-28 10:55 UTC by Natalie Clarius
Modified: 2023-08-29 21:09 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed/Implemented In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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