https://bugs.kde.org/show_bug.cgi?id=528629
Bug ID: 528629
Summary: "Uninstall or Manage Add-Ons…" is shown for apps
without AppStream metadata and silently does nothing
when clicked
Classification: Plasma
Product: plasmashell
Version First 6.8.2
Reported In:
Platform: Fedora RPMs
OS: Linux
Status: REPORTED
Severity: minor
Priority: NOR
Component: Application Launcher (Kickoff) widget
Assignee: [email protected]
Reporter: [email protected]
CC: [email protected], [email protected]
Target Milestone: 1.0
Follow-up to bug 477022, as suggested in its comments 12–17.
STEPS TO REPRODUCE
1. Fedora 45 KDE, LibreOffice installed from Fedora RPMs (default).
2. Application Launcher → Education → right-click "LibreOffice Math".
3. Choose "Uninstall or Manage Add-Ons…".
OBSERVED RESULT
Nothing happens: no Discover window, no error message.
The same action works for LibreOffice Writer/Calc and Firefox.
CAUSE
libreoffice-math.desktop has no AppStream component (LibreOffice ships metainfo
only for its main apps). The action is added for every app as long as an
appstream:// handler exists (appstreamActions() in
applets/kicker/actionlist.cpp), but handleAppstreamActions() only looks up the
component when clicked, and if omponentsByLaunchable() returns nothing it just
returns false without showing anything.
EXPECTED RESULT
Either hide the action when no AppStream component exists for the app, or fall
back to something useful (e.g. open Discover with a search for the app name, or
show a message). A menu item that silently does nothing is confusing,
especially for new users.
SOFTWARE/OS VERSIONS
Fedora Linux 45 (KDE Plasma), Plasma 6.8.2, Frameworks 6.31, Qt 6.11.2, Wayland
--
You are receiving this mail because:
You are watching all bug changes.