AppFlowy icon indicating copy to clipboard operation
AppFlowy copied to clipboard

[Bug] Application can be uninstalled even when an instance is active

Open bitwisebro opened this issue 1 year ago • 4 comments

Bug Description

The application can be uninstalled when an instance of appflowy is currently running. This causes incomplete installation and the user can still open appflowy app (user get's Unable to load asset: "assets/translations/en.json". error on opening the app)

How to Reproduce

  1. Install and launch the Appflowy desktop client
  2. When an instance is open, uninstall it from settings
  3. Notice the Uninstall Complete prompt (attached screenshot)
  4. Now, launch the AppFlowy again from the start menu (one icon stays back even after uninstall, see : https://github.com/AppFlowy-IO/AppFlowy/issues/4813)
  5. Notice the Grey screen with

Expected Behavior

the app should ask the user to close the running instance of AppFlowy and then proceed to uninstallation

Operating System

Windows 10

AppFlowy Version(s)

0.5.0

Screenshots

Uninstallation Complete Prompt: image

Re-Opening after uninstall: image

Additional Context

Due to this incomplete uninstallation, the app sometimes throws a few system error popups too, for which app needs to be re-installed

image

bitwisebro avatar Mar 04 '24 09:03 bitwisebro

@bitwisebro I'm confused as to why users might uninstall the application while it's running.

LucasXu0 avatar Mar 05 '24 08:03 LucasXu0

Good question @LucasXu0 ! Users may attempt to uninstall the application while it's running if they encounter unresponsiveness or freezing. However, this bug could make the user experience even more frustrating.

bitwisebro avatar Mar 06 '24 06:03 bitwisebro

@bitwisebro I think users will close the app instead of uninstalling it when it freezes.

LucasXu0 avatar Mar 07 '24 13:03 LucasXu0

@LucasXu0 , there is a likelihood that a user chooses to uninstall when the app is freezing. We should take care of this case.

annieappflowy avatar Mar 07 '24 20:03 annieappflowy