Bug 458420

Summary: 'Reset to default icon' option is enabled even when the default icon is already in use
Product: [Plasma] plasmashell Reporter: Patrick Silva <bugseforuns>
Component: Application Launcher (Kickoff) widgetAssignee: Plasma Bugs List <plasma-bugs-null>
Status: RESOLVED FIXED    
Severity: minor CC: mikel5764, nate, noahadvs
Priority: NOR    
Version First Reported In: master   
Target Milestone: 1.0   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed/Implemented In: 5.26
Sentry Crash Report:
Attachments: screenshot

Description Patrick Silva 2022-08-28 11:28:25 UTC
Created attachment 151658 [details]
screenshot

STEPS TO REPRODUCE
1. open kickoff settings while its default icon is in use
2. click on kickoff icon
3. 

OBSERVED RESULT
'Reset to default icon' option is active despite the kickoff default icon is already in use.
Please see the attached screenshot.

EXPECTED RESULT
greyed out 'Reset to default icon' option

SOFTWARE/OS VERSIONS
Operating System: KDE neon Unstable Edition
KDE Plasma Version: 5.25.80
KDE Frameworks Version: 5.98.0
Qt Version: 5.15.5
Graphics Platform: Wayland
Comment 1 Nate Graham 2022-08-30 20:08:01 UTC
Git commit 115226a9ce22d2e543796e06de4cf748b9bd7dfc by Nate Graham.
Committed on 30/08/2022 at 20:07.
Pushed by ngraham into branch 'master'.

applets/kickoff: only enable "Reset to default icon" action when needed
FIXED-IN: 5.26

M  +1    -0    applets/kickoff/package/contents/ui/ConfigGeneral.qml

https://invent.kde.org/plasma/plasma-desktop/commit/115226a9ce22d2e543796e06de4cf748b9bd7dfc