elementary / applications-menu

Applications Menu for elementary OS and the Pantheon desktop environment
https://elementary.io
GNU General Public License v3.0
104 stars 36 forks source link

eOS 8 : Greyed out "uninstall" or "show in appcenter" #609

Open teamcons opened 1 month ago

teamcons commented 1 month ago

What Happened?

I am just noticing right now that the menu does not offer to uninstall any app, nor show them in appcenter

The issue is there whether it is a systemwide flatpak app, user flatpak app, or pre-installed app

Steps to Reproduce

Install eOS 8 Install an app through appcenter Open application menu Right click on app it grey :(

Expected Behavior

Options for uninstalling or showing in appcenter

OS Version

8.x (Early Access)

Software Version

Latest release (I have run all updates)

Log Output

Let me know what to run :/

Hardware Info

Intel® Core(TM) i3-7100U CPU @ 2.40GHz Intel® HD Graphics 620

danirabbit commented 1 month ago

This happens when the dbus interface for appcenter is unavailable, which probably means appcenter isn't running in the background.

I wonder if it's possible we can use dbus activation here so we don't have to depend on appcenter running in the background and can just launch it in background mode ourselves?

danirabbit commented 1 month ago

I guess alternatively, do we need to use appcenter for this at all? Now that we don't support PackageKit in appcenter maybe we can just use Flatpak ourselves directly here?

teamcons commented 1 month ago

This happens when the dbus interface for appcenter is unavailable, which probably means appcenter isn't running in the background.

I wonder if it's possible we can use dbus activation here so we don't have to depend on appcenter running in the background and can just launch it in background mode ourselves?

Ah... I did not tinker with anything It happens whether AppCenter window is open or not though. But i remember also uninstalling this way at some point with this install From an user perspective it feels very random, unreliable and frustrating

I guess alternatively, do we need to use appcenter for this at all? Now that we don't support PackageKit in appcenter maybe we can just use Flatpak ourselves directly here?

That would mean there are two different parts of the system fiddling with flatpak. I hope there wouldnt be any issue when two processes are doing their thing with the same exact thing

On my install, there are several sessions, so stuff is installed system wide, so idk if theres a need to check permissions / ask for password ?