ubports / unity8

The operating environment for everywhere. Lomiri development has moved to https://gitlab.com/ubports/development/core/lomiri
https://lomiri.com/
GNU General Public License v3.0
722 stars 99 forks source link

YUMI-7: Fix race condition in XdgWatcher #457

Closed maciek134 closed 1 year ago

maciek134 commented 1 year ago

Happens when a desktop file is deleted and re-created before XdgWatcher::onFileChanged is called - instead of an appRemoved + appAdded, it emitted appInfoChanged + appAdded, resulting in duplicate apps (Waydroid)

JamiKettunen commented 1 year ago

Definitely needs a focal counterpart against https://gitlab.com/ubports/development/core/lomiri assuming this helps (testing on xenial via sudo ubports-qa install PR_unity8_457) :)