[GH-ISSUE #4815] [Bug] Application can be uninstalled even when an instance is active #2153

Open
opened 2026-03-23 21:20:08 +00:00 by mirror · 4 comments
Owner

Originally created by @bitwisebro on GitHub (Mar 4, 2024).
Original GitHub issue: https://github.com/AppFlowy-IO/AppFlowy/issues/4815

Originally assigned to: @LucasXu0 on GitHub.

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

Originally created by @bitwisebro on GitHub (Mar 4, 2024). Original GitHub issue: https://github.com/AppFlowy-IO/AppFlowy/issues/4815 Originally assigned to: @LucasXu0 on GitHub. ### 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](https://github.com/AppFlowy-IO/AppFlowy/assets/34713448/f399c5f4-4359-49d5-a74f-a50aac2715b2) Re-Opening after uninstall: ![image](https://github.com/AppFlowy-IO/AppFlowy/assets/34713448/35975d72-94dc-43c4-94e0-68cb7a237f89) ### 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](https://github.com/AppFlowy-IO/AppFlowy/assets/34713448/985f5007-e098-49e8-9a10-5cace147f532)
Author
Owner

@LucasXu0 commented on GitHub (Mar 5, 2024):

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

<!-- gh-comment-id:1978247425 --> @LucasXu0 commented on GitHub (Mar 5, 2024): @bitwisebro I'm confused as to why users might uninstall the application while it's running.
Author
Owner

@bitwisebro commented on GitHub (Mar 6, 2024):

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.

<!-- gh-comment-id:1980141914 --> @bitwisebro commented on GitHub (Mar 6, 2024): 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.
Author
Owner

@LucasXu0 commented on GitHub (Mar 7, 2024):

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

<!-- gh-comment-id:1983484594 --> @LucasXu0 commented on GitHub (Mar 7, 2024): @bitwisebro I think users will close the app instead of uninstalling it when it freezes.
Author
Owner

@annieappflowy commented on GitHub (Mar 7, 2024):

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

<!-- gh-comment-id:1984399011 --> @annieappflowy commented on GitHub (Mar 7, 2024): @LucasXu0 , there is a likelihood that a user chooses to uninstall when the app is freezing. We should take care of this case.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
AppFlowy-IO/AppFlowy#2153
No description provided.