[GH-ISSUE #3060] [Bug] Links don't open in a browser #1345

Closed
opened 2026-03-23 20:48:08 +00:00 by mirror · 11 comments
Owner

Originally created by @maticmeznar on GitHub (Jul 25, 2023).
Original GitHub issue: https://github.com/AppFlowy-IO/AppFlowy/issues/3060

Originally assigned to: @LucasXu0, @Xazin on GitHub.

Bug Description

I'm a first time user of AppFlowy and I've noticed that none of the external links open in a browser. Same for clicking help and support links from the icon in the bottom right corner. Both AppFlowy and Firefox are running as a Flatpak. I have no problems with links in Obsidian, which also runs as a Flatpak.

When I run AppFlowy from the terminal I get Jul 25 09:44:40.201 ERROR ThreadId(14) dart_ffi:{"message":"Uncaught platform error"} {"msg":"Uncaught platform error"} error each time I click on a link from the help and support icon, but no error when I click "Open link" on a link in a document.

I've also tried it on another computer with Ubuntu 22.04 and Firefox in a snap with the same result.

How to Reproduce

Click on a link in the help and support menu.

Expected Behavior

I expect the link to open in my default browser, in a new tab.

Operating System

Fedora Workstation 38 (x86_64), Ubuntu 22.04 (x86_64)

AppFlowy Version(s)

0.2.7 (Flatpak)

Screenshots

No response

Additional Context

No response

Originally created by @maticmeznar on GitHub (Jul 25, 2023). Original GitHub issue: https://github.com/AppFlowy-IO/AppFlowy/issues/3060 Originally assigned to: @LucasXu0, @Xazin on GitHub. ### Bug Description I'm a first time user of AppFlowy and I've noticed that none of the external links open in a browser. Same for clicking help and support links from the icon in the bottom right corner. Both AppFlowy and Firefox are running as a Flatpak. I have no problems with links in Obsidian, which also runs as a Flatpak. When I run AppFlowy from the terminal I get `Jul 25 09:44:40.201 ERROR ThreadId(14) dart_ffi:{"message":"Uncaught platform error"} {"msg":"Uncaught platform error"}` error each time I click on a link from the help and support icon, but no error when I click "Open link" on a link in a document. I've also tried it on another computer with Ubuntu 22.04 and Firefox in a snap with the same result. ### How to Reproduce Click on a link in the help and support menu. ### Expected Behavior I expect the link to open in my default browser, in a new tab. ### Operating System Fedora Workstation 38 (x86_64), Ubuntu 22.04 (x86_64) ### AppFlowy Version(s) 0.2.7 (Flatpak) ### Screenshots _No response_ ### Additional Context _No response_
mirror 2026-03-23 20:48:08 +00:00
  • closed this issue
  • added the
    bug
    label
Author
Owner

@annieappflowy commented on GitHub (Aug 6, 2023):

@richardshiue , can you reproduce this issue?

<!-- gh-comment-id:1666688626 --> @annieappflowy commented on GitHub (Aug 6, 2023): @richardshiue , can you reproduce this issue?
Author
Owner

@ttollet commented on GitHub (Aug 9, 2023):

If it helps, I can reproduce this issue.

Firefox: system package, version "116.0+linuxmint1+victoria"
AppFlowy: flatpak, version 0.2.8
Operating system: Linux Mint 21.2 Cinnamon.

<!-- gh-comment-id:1671035830 --> @ttollet commented on GitHub (Aug 9, 2023): If it helps, I can reproduce this issue. **Firefox:** system package, version "116.0+linuxmint1+victoria" **AppFlowy:** flatpak, version 0.2.8 **Operating system:** Linux Mint 21.2 Cinnamon.
Author
Owner

@richardshiue commented on GitHub (Aug 10, 2023):

Reproducible. I've narrowed down the problem to this issue https://github.com/flutter/flutter/issues/88463. I'll be able to test and fix this after I clear some space on my laptop to build the flatpak

<!-- gh-comment-id:1672591709 --> @richardshiue commented on GitHub (Aug 10, 2023): Reproducible. I've narrowed down the problem to this issue https://github.com/flutter/flutter/issues/88463. I'll be able to test and fix this after I clear some space on my laptop to build the flatpak
Author
Owner

@rob32 commented on GitHub (Feb 6, 2024):

I have the same issue here.

Flatpak (v0.4.5).
OS: Fedora 39

edit: Browser/Firefox does not run as a flatpak (rpm)...

<!-- gh-comment-id:1929480245 --> @rob32 commented on GitHub (Feb 6, 2024): I have the same issue here. Flatpak (v0.4.5). OS: Fedora 39 edit: Browser/Firefox does not run as a flatpak (rpm)...
Author
Owner

@apollo13 commented on GitHub (Feb 19, 2024):

I am also running into this. Every click on the link throws:

  2024-02-19 13:19:18 ERROR  Uncaught platform error
    at dart-ffi/src/lib.rs:188

  2024-02-19T12:19:18.905514Z ERROR dart_ffi: Uncaught platform error
    at dart-ffi/src/lib.rs:188

Flatpak (v0.4.9) on Fedora 39.

<!-- gh-comment-id:1952337212 --> @apollo13 commented on GitHub (Feb 19, 2024): I am also running into this. Every click on the link throws: ``` 2024-02-19 13:19:18 ERROR Uncaught platform error at dart-ffi/src/lib.rs:188 2024-02-19T12:19:18.905514Z ERROR dart_ffi: Uncaught platform error at dart-ffi/src/lib.rs:188 ``` Flatpak (v0.4.9) on Fedora 39.
Author
Owner

@apollo13 commented on GitHub (Feb 19, 2024):

A bit of googling suggests that dropping the use of canLaunch might fix this (and where needed catch the PlatformException)

<!-- gh-comment-id:1953034440 --> @apollo13 commented on GitHub (Feb 19, 2024): A bit of googling suggests that dropping the use of `canLaunch` might fix this (and where needed catch the `PlatformException`)
Author
Owner

@Xazin commented on GitHub (Mar 3, 2024):

This should be resolved, feel free to let us know if you are still experiencing issues with launching urls.

<!-- gh-comment-id:1975325725 --> @Xazin commented on GitHub (Mar 3, 2024): This should be resolved, feel free to let us know if you are still experiencing issues with launching urls.
Author
Owner

@apollo13 commented on GitHub (Mar 11, 2024):

I'd love to verify this, but apparently there are no build for 0.5.1?

<!-- gh-comment-id:1987968482 --> @apollo13 commented on GitHub (Mar 11, 2024): I'd love to verify this, but apparently there are no build for 0.5.1?
Author
Owner

@Xazin commented on GitHub (Mar 11, 2024):

I'd love to verify this, but apparently there are no build for 0.5.1?

New versions are released bi-weekly, today is release day and 0.5.1 was just released 1-2 hours ago, cheers

https://github.com/AppFlowy-IO/AppFlowy/releases/tag/0.5.1

<!-- gh-comment-id:1988454143 --> @Xazin commented on GitHub (Mar 11, 2024): > I'd love to verify this, but apparently there are no build for 0.5.1? New versions are released bi-weekly, today is release day and 0.5.1 was just released 1-2 hours ago, cheers https://github.com/AppFlowy-IO/AppFlowy/releases/tag/0.5.1
Author
Owner

@apollo13 commented on GitHub (Mar 11, 2024):

Thank you, did a flatpak build against the new release (https://github.com/flathub/io.appflowy.AppFlowy/pull/87) and it works. Would be great if someone from the team could merge the flatpak PR.

<!-- gh-comment-id:1988827318 --> @apollo13 commented on GitHub (Mar 11, 2024): Thank you, did a flatpak build against the new release (https://github.com/flathub/io.appflowy.AppFlowy/pull/87) and it works. Would be great if someone from the team could merge the flatpak PR.
Author
Owner

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

Thank you, did a flatpak build against the new release (flathub/io.appflowy.AppFlowy#87) and it works. Would be great if someone from the team could merge the flatpak PR.

The Flathub bot will automatically sync the version daily and update the release date as well.

Update: I have updated the releases section in your PR.

<!-- gh-comment-id:1989720852 --> @LucasXu0 commented on GitHub (Mar 12, 2024): > Thank you, did a flatpak build against the new release ([flathub/io.appflowy.AppFlowy#87](https://github.com/flathub/io.appflowy.AppFlowy/pull/87)) and it works. Would be great if someone from the team could merge the flatpak PR. The Flathub bot will automatically sync the version daily and update the release date as well. Update: I have updated the releases section in your PR.
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#1345
No description provided.