Duplicated Launcher icons, ever growing list of icons

REPRODUCIBILITY: 100% (always)
OSVERSION: 4.4.0.72
HARDWARE: Sony Xperia 10 III - xqbt52 - xqbt52 - 1.0.0.176 - aarch64
UI LANGUAGE: English (UK) (user: en_GB, os: en_GB.utf8)
REGRESSION: no

DESCRIPTION:

After each Lipstick start, another pair of icons is added to the app drawer for the same app

PRECONDITIONS:

Not sure it matters, but my app has a sailjail profile, and a firejail profile.

STEPS TO REPRODUCE:

  1. Have an app installed, with its .desktop file in /usr/share/applications
  2. Exec reads something like invoker --type silica-qt5 sailfish-qml harbour-foo
  3. Copy the file to ~/.local/share/applications
  4. Edit it, change the Exec line to have a parameter, e.g. invoker --type silica-qt5 sailfish-qml harbour-foo -bar -baz change the Name (“MyApp”), add a Permission
  5. Restart Lipstick
  6. See your app drawer has now two icons as expected
  7. Restart Lipstick
  8. See that app drawer now has four icons
  9. Repeat, see icons are added every time

EXPECTED RESULTS:

Two icons.

ACTUAL RESULTS:

N*2 icons, where N=number of Lipstick starts.

MODIFICATIONS:

  • Patchmanager: yes
  • OpenRepos: yes
  • Chum: yes
  • Other: none specified

ADDITIONAL INFORMATION:

Device Owner User: nemo
Home Encryption: enabled


the initial version of this bug report was created using Bugger 0.10.5
2 Likes

After some fun collecting all duplicates in a launcher folder (currently 34) it turns out that

  • the desktop file from ~/.local appears only once
  • all the duplicates are from the original in /usr

I have 3 icons for one app, too.
They stay after restart. Don’t know how to fix it.

3 Likes

Wow, look at all those buggers. As I’m working on a mathematical expression evaluation task, I’m curious to get to the bottom of this to see at what number of iterations we reach infinity!

Thanks for the report, however is this still happening with the latest release?

I will have to re-test, will report back.

1 Like

But, while this was happening, I noticed another weird phenomenon:

I started putting the duplicates in folders, and sometimes, a newly appeared duplicate cannot be moved into such a folder. In that case creating another folder helps. Until at some point in the future it also stops working.

Sometimes, if you then move the duplicate into that second folder, the count of things in the original first folder decreases.