mirror of
https://github.com/AppFlowy-IO/AppFlowy.git
synced 2026-03-24 12:56:59 +00:00
[GH-ISSUE #6422] [Bug] AppFlowy is not visible on Launch (first-time installation) #2834
Labels
No labels
2024
2025
2026
acct mgmt
AI
automation
bug
calendar
ci
CJK
cloud
code-block
collaboration
copy-paste
database
data migration
data sync
deploy
desktop
develop
develop
documentation
duplicate
editor
editor-plugin
emoji
export
files
flutter-only
follow-up
formula
good first issue for devs
good first issue for experienced devs
grid
hacktoberfest
HACKTOBERFEST-ACCEPTED
help wanted
i18n
icons
images
importer
improvements
infra
install
integrations
IR
kanban board
login
look and joy
mentorship
mobile
mobile
needs design
new feature
new feature
non-coding
notes
notifications
onboarding
organization
P0+
permission
platform-linux
platform-mac
platform-windows
plugins
program
pull-request
Q1 25
Q1 26
Q2 24
Q2 25
Q3 24
Q3 25
Q4 24
Q4 25
react
regression
rust
rust
Rust-only
Rust-only
Rust-starter
Rust-starter
self-hosted
shortcuts
side panel
slash-menu
sync v2
table
tablet
task
tauri
templates
tests
themes
translation
v0.5.6
v0.5.8
v0.5.9
v0.6.0
v0.6.1
v0.6.4
v0.6.7
v0.6.8
v0.7.1
v0.7.4
v0.7.4
v0.7.5
v0.7.6
v0.7.7
v0.7.8
v0.8.0
v0.8.4
v0.8.5
v0.8.9
web
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
AppFlowy-IO/AppFlowy#2834
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @Joshua-E-Weinstein on GitHub (Sep 27, 2024).
Original GitHub issue: https://github.com/AppFlowy-IO/AppFlowy/issues/6422
Bug Description
Appflowy's GUI is not launching after first-time installation on my system. First-time installation was with version 0.6.9.
I have tried a large variety of troubleshooting:
-note: %AppData%/io.appflowy/AppFlowy/data never had any files in it after installation.
How to Reproduce
Expected Behavior
AppFlowy GUI app opens to the login screen.
Operating System
Windows 10
AppFlowy Version(s)
0.5.3, and all versions between 0.5.8-0.7.0
Screenshots
Additional Context
-You can also see a blank window for
AppFlowywhen switching tabs, but you cannot open it nor see it anywhere. It has not loaded yet, but counts as an app.-You can see location in use.
@birnam commented on GitHub (Oct 13, 2024):
Same problem here. I've tried with the installer version of 0.7.1, and portable (.zip) versions of 0.7.1, 0.7.0, 0.6.9, and 0.5.9.
When I run AppFlowy, I can see a "Background processes" listing in Task Manager, but no other indication of an app running. I've tried a fresh restart. No windows, no icons in the task bar, no icons in the tray.
@Xazin commented on GitHub (Oct 13, 2024):
I took out my old Windows 10 laptop (x86_64) which hasn't been used in 5 years and had a nearly fresh install of windows, and I couldn't reproduce.
I tried walking through some possible fixes with Josion (another user with this issue) on Discord, but we didn't manage to find anything that worked.
We will keep exploring what can be causing this.
@birnam commented on GitHub (Oct 14, 2024):
Thank you @Xazin -- I'm on Windows 11 23H2 (22631.4317). Can you tell me, from a task manager perspective, is there supposed to be an AppFlowy in both Apps and Background Processes, or just the one in Background Processes like I'm seeing?
I'm a heavy virtual desktop user. I tried scanning through the other desktops to see if it had launched somewhere else but did not find the app. I wonder if it's related though.
@Xazin commented on GitHub (Oct 14, 2024):
It should definitely be visible in "Apps" and not in "Backgroundprocesses". Sounds like it's related indeed.
@Joshua-E-Weinstein commented on GitHub (Oct 14, 2024):
Here's my driver info if it helps:
-AMD Radeon RX 5700 XT
-Driver Version 24.20.11.01-240925a-407465C-AMD-Software-Adrenalin-Edition
I do not use virtual desktops, but I do have multiple monitors.
@CamiloMM commented on GitHub (Nov 6, 2024):
Same issue on a GTX 1060 PC, Win10. Since people mention Win11 and Radeon, I don't think that's it. Multiple monitors though.
@birnam commented on GitHub (Nov 6, 2024):
Same behavior with 0.7.2
@LucasXu0 commented on GitHub (Nov 7, 2024):
Hi, @Joshua-E-Weinstein @CamiloMM @birnam, here's the alpha version of the latest release, which includes a fix for the windows visible issue. We verified it on two machines (Windows 11). Could you help test if the latest package works on your machine?
https://github.com/AppFlowy-IO/AppFlowy-Builder/releases/download/0.7.3.alpha.1/AppFlowy-0.7.3-windows-x86_64.exe
@birnam commented on GitHub (Nov 7, 2024):
Thank you! Unfortunately I see no improvement. An 'AppFlowy' entry appears in 'Background Processes' in Task Manager, but not in Apps and there is no visible window or icon in the tray.
@LucasXu0 commented on GitHub (Nov 8, 2024):
@birnam Thanks for testing. I've built a new version. Would you like to help test it again? This time, I’ve created an executable file instead of an installer, to avoid overwriting your existing application.
https://github.com/AppFlowy-IO/AppFlowy-Builder/releases/download/0.7.3.1_main/AppFlowy-Windows-v0.7.3.1.zip
@birnam commented on GitHub (Nov 8, 2024):
Thanks Lucas! I tested the new standalone but unfortunately I'm only seeing the same thing as before.
@CamiloMM commented on GitHub (Nov 9, 2024):
Same thing here. Shows up in task manager, but no window.
Feel free to ask us to run some form of diagnostic command, or whatever technical information might help you figure this out.
@LucasXu0 commented on GitHub (Nov 11, 2024):
Hi, I checked the Flutter issues related to invisible windows and tried another workaround mentioned to rebuild the package. So far, I've attempted the following:
Please help test the package below. Thanks in advance!
https://github.com/AppFlowy-IO/AppFlowy-Builder/releases/download/0.7.3.1_main/AppFlowy-Windows-v0.7.3.2.zip
@birnam commented on GitHub (Nov 11, 2024):
Sadly this one still does not work. I wish I had a Rust environment set up to help test. Are there build instructions somewhere?
@LucasXu0 commented on GitHub (Nov 12, 2024):
Here are the build instructions for Windows.
https://docs.appflowy.io/docs/documentation/appflowy/from-source/environment-setup/building-on-windows
@birnam commented on GitHub (Nov 13, 2024):
Thanks @LucasXu0 - after some trial and error I did get the project building. TLDR; I found a workaround by incorporating a new dependency.
Setup:
Installing Flutter meant the latest version of Flutter, though, instead of the one mentioned in the instructions (3.24 vs 3.22). This created a build error because the layoutInlineChildren call definition changed to having 3 params instead of 2. The issue was inside another package though, and updating the extended_text_field package to version 16.0.0 solves it without requiring any modification to AppFlowy code.
That is just a side issue though, but now meant I could build the project and figure out the real issue.
The actual bug:

There is a crash occuring when trying to obtain a
deviceIdfrom Windows. This is being called in device_id.dart and device_info_task.dart:There is an open issue with the same problem on the
DeviceInfoPluginpackage repo, although they are mis-identifying it as only a Windows 10 problem. (I'm running Windows 11) Updating to their latest version does not improve the situation, and I'm not sure what the underlying issue is. Race condition? Something wrong with theawaitwhen invoking a native system call? I don't know.I love finally seeing a "This task failed successfully" message in the wild though :)
Solution:
However, there is another package called PlatformDeviceId that I tried using in the same place and was able to get a deviceId without crashing, completely resolving the problem.
Notes:
device_id.dartand notdevice_info_task.dart, but that was enough. If this was something like a race condition, the conditions that caused it are perhaps corrected by the time the other code is called? A final solution would probably want to test and change this in both places.deviceIdis being used, though. If it's something that needs to be the same between AppFlowy versions (across updates) then replacing this code could cause issues.@candideu commented on GitHub (Jan 5, 2025):
I had the same issue, and solved it this way: https://github.com/AppFlowy-IO/AppFlowy/issues/6979#issuecomment-2571743828
Try deleting
%AppData%/io.appflowy(navigate to it quickly by using Run - WIN key + R)