New issue
Advanced search Search tips

Issue 898295 link

Starred by 2 users

Issue metadata

Status: Started
Owner:
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Chrome
Pri: 2
Type: Bug

Blocking:
issue 822514



Sign in to add a comment

Uninstall Linux option does not appear consistently

Project Member Reported by iby@chromium.org, Oct 23

Issue description

Chrome Version: ToT plus my in-flight changes
OS: ChromeOS


What steps will reproduce the problem?
(1) Go to crostini terminal
(2) Install eclipse via 'sudo apt-get install eclipse'
(3) Right-click on eclipse icon in launcher

What is the expected result?
"Uninstall" is one of the right-click menu options

What happens instead?
"Uninstall" generally does not show up until something refreshes the list of Linux app icons. 

For instance, running 'sudo touch /usr/share/applications/eclipse.desktop' causes the uninstall option to appear.

I believe this is because the desktop file is created before 'sudo apt-get install eclipse' is finished, so when SearchFiles looks for an owner for the eclipse.desktop file, it doesn't find the in-progress eclipse package. Thus, there doesn't appear to be an owning package, so we don't make an uninstall menu option.

We may want to have HostNotifier::SendAppListToHost() wait until the package install lock is free before running.

Alternately, we can just have SendAppListToHost() run on a regular schedule, but this increases our resource usage. 





 
Labels: Hotlist-Crostini-Platform Proj-Containers
Blocking: 822514
Status: Started (was: Assigned)

Sign in to add a comment