SailfishShare not deleting entries for removed Android apps

OS / software versions: 4.5.0.18

REPRODUCIBILITY: 100%
OS VERSION: 4.5.0.18
HARDWARE: Xperia 10 iii
UI LANGUAGE: English_US
REGRESSION: UNKNOWN

DESCRIPTION: Share menu seems to break with AlienDalvik when removing certain applications. Share menu still shows item if the app is uninstalled. Seems to occur for Instagram as well as Pixiv. Entries still show on Sailfish’s share function despite them not being installed.

PRECONDITIONS: Install Instagram or Pixiv

STEPS TO REPRODUCE: Uninstall Instagram or Pixiv if installed

EXPECTED RESULT: Sailfish Share menu is updated with new changes

ACTUAL RESULT: Sailfish Share does not update to reflect Android apps that are uninstalled.

MODIFICATIONS: Patchmanager, Android App Support

ADDITIONAL INFORMATION: N/A

1 Like

I tried on the same device with pixiv installed from Aurora Store and could reproduce your bug. Thank you for reporting it.

1 Like

Take a look if there are superfluous (i.e. belonging to uninstalled apps) .desktop files in ~/.local/share/applications, and delete them. Also edit mimeinfo.cache in the same folder to remove items pointing to deleted apps/.desktop files.

edit:
technically this is not a SailfishOS bug but a “quirk” common to most Desktop Linux.

1 Like

I will give this a shot. Hope it works. :slight_smile:

Oddly, I am unable to find mimeinfo.cache