Bug 477022 - Discover does not open from "Uninstall or Manage Add-Ons…" menu item in Kickoff
Summary: Discover does not open from "Uninstall or Manage Add-Ons…" menu item in Kickoff
Status: RESOLVED FIXED
Alias: None
Product: plasmashell
Classification: Plasma
Component: Application Launcher (Kickoff) widget (show other bugs)
Version: 5.27.9
Platform: Fedora RPMs Linux
: NOR normal
Target Milestone: 1.0
Assignee: Plasma Bugs List
URL:
Keywords:
: 493079 (view as bug list)
Depends on:
Blocks:
 
Reported: 2023-11-14 22:24 UTC by Sylvio
Modified: 2024-09-17 22:17 UTC (History)
7 users (show)

See Also:
Latest Commit:
Version Fixed In: 6.2.0
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Sylvio 2023-11-14 22:24:41 UTC
SUMMARY
***
NOTE: If you are reporting a crash, please try to attach a backtrace with debug symbols.
See https://community.kde.org/Guidelines_and_HOWTOs/Debugging/How_to_create_useful_crash_reports
***


STEPS TO REPRODUCE
1. click to uninstall "libreoffice math" in the "office" menu
2.  Click "Uninstall and manage extensions."
3. 

OBSERVED RESULT
nothing happens

EXPECTED RESULT
Open "Discover" and uninstall it.

SOFTWARE/OS VERSIONS
Windows: 
macOS: 
Linux/KDE Plasma: Fedora Spin KDE
(available in About System)
KDE Plasma Version: 5.27.9
KDE Frameworks Version: 5.111.0
Qt Version: 5.15.11

ADDITIONAL INFORMATION
Comment 1 Nate Graham 2023-11-15 21:00:02 UTC
Can reproduce.

Discover can open normally for me, and I can also run `plasma-discover --application appstream://org.libreoffice.LibreOffice.desktop` in a terminal window, which works. Seems like Kicker/Kickoff are doing something wrong here.
Comment 2 Sylvio 2023-11-20 16:00:33 UTC Comment hidden (spam)
Comment 3 Nate Graham 2023-12-08 21:41:01 UTC
Ah, it's Bug 472300.

*** This bug has been marked as a duplicate of bug 472300 ***
Comment 4 Alessandro Astone 2024-01-24 22:25:49 UTC
It can't be https://bugs.kde.org/show_bug.cgi?id=472300, this is Plasma 5 ;)

I can reproduce. But it literally only happens for "LibreOffice Math". How weird.
Comment 5 Alessandro Astone 2024-01-24 22:36:55 UTC
It also happens in Plasma 6 RC1, also only for "LibreOffice Math".

The desktop file seems well formed.
Comment 6 mikedrum21 2024-03-11 22:09:45 UTC
It happens to me too on KDE Neon 6 User Edition/Plasma 6.0.0
Comment 7 mikedrum21 2024-03-11 22:54:52 UTC
(In reply to mikedrum21 from comment #6)
> It happens to me too on KDE Neon 6 User Edition/Plasma 6.0.0

It happens to me with every app though.
Comment 8 Vinícius 2024-08-04 00:48:48 UTC
This bug happens to me too, the bug 432691 says that flatpak can be uninstalled file, but it don't work for me, any logs that i can share?, it don't output anything in journald

Operating System: Fedora Linux 40
KDE Plasma Version: 6.1.3
KDE Frameworks Version: 6.4.0
Qt Version: 6.7.2
Kernel Version: 6.9.12-200.fc40.x86_64 (64-bit)
Graphics Platform: Wayland
Processors: 16 × AMD Ryzen 7 5700U with Radeon Graphics
Memory: 7,1 GiB of RAM
Graphics Processor: AMD Radeon Graphics
Manufacturer: LENOVO
Product Name: 82MF
System Version: IdeaPad 3 15ALC6
Comment 9 Vinícius 2024-08-04 00:49:21 UTC
(In reply to Vinícius from comment #8)
> This bug happens to me too, the bug 432691 says that flatpak can be
> uninstalled file, but it don't work for me, any logs that i can share?, it
> don't output anything in journald
> 
> Operating System: Fedora Linux 40
> KDE Plasma Version: 6.1.3
> KDE Frameworks Version: 6.4.0
> Qt Version: 6.7.2
> Kernel Version: 6.9.12-200.fc40.x86_64 (64-bit)
> Graphics Platform: Wayland
> Processors: 16 × AMD Ryzen 7 5700U with Radeon Graphics
> Memory: 7,1 GiB of RAM
> Graphics Processor: AMD Radeon Graphics
> Manufacturer: LENOVO
> Product Name: 82MF
> System Version: IdeaPad 3 15ALC6

fine*
Comment 10 Nate Graham 2024-08-06 17:35:14 UTC
This is working for me with current git master; seems like something fixed it recently.
Comment 11 Nate Graham 2024-09-16 19:34:52 UTC
*** Bug 493079 has been marked as a duplicate of this bug. ***
Comment 12 Alessandro Astone 2024-09-16 21:47:43 UTC
It is not expected that every app will bring its metainfo package.
Should kickoff hide the action "Uninstall or Mange Add-Ons..." when the app does not have a metainfo file? Rather than silently fail...
Comment 13 Nate Graham 2024-09-17 19:17:50 UTC
It's very weird if some apps don't let you manage then via Discover. Without this, now is a normal person supposed to uninstall it?

If there are apps installed on the system that don't have AppStream metadata, TBH I would consider that to be the distro's error for either not packaging it, or for packaging the app without generating some.
Comment 14 Alessandro Astone 2024-09-17 19:21:19 UTC
Some apps ship multiple desktop files, take kmail for example:
"KMail", "KMail Import Wizard", "KMail Header Theme Editor".

Only "KMail" has a metainfo package; i think it makes sense to not provide one for the other desktop files. Indeed "Uninstall or Manage Add-Ons..." only works on "KMail".
Comment 15 Nate Graham 2024-09-17 19:34:10 UTC
The challenge of multiple apps provided by one package is separate but highly related. The Flatpak for LibreOffice or Calligra is probably a better example of the problem because all the apps are of the same level of importance (unlike, say, KMail Header Theme Editor) but you can't uninstall just one; removing one removes all. However the apps are shown separately in Kickoff etc! Figuring out how to present this better to the user is an unsolved problem.
Comment 16 Vinícius 2024-09-17 19:42:50 UTC
(In reply to Nate Graham from comment #15)
> The challenge of multiple apps provided by one package is separate but
> highly related. The Flatpak for LibreOffice or Calligra is probably a better
> example of the problem because all the apps are of the same level of
> importance (unlike, say, KMail Header Theme Editor) but you can't uninstall
> just one; removing one removes all. However the apps are shown separately in
> Kickoff etc! Figuring out how to present this better to the user is an
> unsolved problem.

why don't redirect it to the "main" app, so if i click uninstall for libreoffice Calc it open the main libreoffice package on discover
Comment 17 Nate Graham 2024-09-17 22:17:28 UTC
That's not really the problem; the problem is that if you do so, it uninstalls more than you thought it would because you arrived there from a specific app in Kickoff.

Regardless, this discussion should probably be in a new bug report about it.