AppFlowy-IO / AppFlowy

Bring projects, wikis, and teams together with AI. AppFlowy is an AI collaborative workspace where you achieve more without losing control of your data. The best open source alternative to Notion.
https://www.appflowy.io
GNU Affero General Public License v3.0
57.94k stars 3.8k forks source link

[Bug] AppFlowy is not visible on Launch (first-time installation) #6422

Open Joshua-E-Weinstein opened 1 month ago

Joshua-E-Weinstein commented 1 month ago

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:

How to Reproduce

  1. Install AppFlowy for the first time on a Windows 10 PC.
  2. Launch AppFlowy

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

image

Additional Context

-You can also see a blank window for AppFlowy when 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 1 month ago

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 1 month ago

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 4 weeks ago

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 4 weeks ago

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.

It should definitely be visible in "Apps" and not in "Backgroundprocesses". Sounds like it's related indeed.

Joshua-E-Weinstein commented 4 weeks ago

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 6 days ago

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 6 days ago

Same behavior with 0.7.2

LucasXu0 commented 5 days ago

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 5 days ago

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 4 days ago

@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 4 days ago

Thanks Lucas! I tested the new standalone but unfortunately I'm only seeing the same thing as before.

CamiloMM commented 3 days ago

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 2 days ago

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 1 day ago

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 1 day ago

Here are the build instructions for Windows.

https://docs.appflowy.io/docs/documentation/appflowy/from-source/environment-setup/building-on-windows