mirror of
https://github.com/AppFlowy-IO/AppFlowy.git
synced 2026-03-24 12:56:59 +00:00
[GH-ISSUE #8365] [Bug] Unlimited document switching in the appflowy client #3768
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#3768
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 @smartyhero on GitHub (Nov 28, 2025).
Original GitHub issue: https://github.com/AppFlowy-IO/AppFlowy/issues/8365
Bug Description
When I open AppFlowy, sometimes it displays "connecting," and when I switch documents, AppFlowy automatically and endlessly switches documents, although the trigger probability is very low.
How to Reproduce
I haven't found a way to trigger it 100% yet.
It seems that when I disconnect the network or stop my server-side load balancer, Appflowy displays "connecting...". If I switch between documents a few times, then reconnect to the network or start my load balancer, and then switch documents again, this issue is very likely to be triggered.
Expected Behavior
No side effects
Operating System
mac
AppFlowy Version(s)
0.10.4
Screenshots
No response
Additional Context
I'm not sure if this is a bug, but I did encounter this problem.
@smartyhero commented on GitHub (Nov 28, 2025):
The problem seems to occur during reconnection.
@LucasXu0 commented on GitHub (Nov 28, 2025):
Does it happen when your application is connected to the server?
@smartyhero commented on GitHub (Nov 28, 2025):
Based on my observation, this occurs when the client and server disconnect and then reconnect.
My general steps to reproduce the issue:
Stop AppFlowy Cloud
Switch between documents a few times on the client side
Start the AppFlowy Cloud server
While the client is still displaying "connecting...", switch between documents a few more times. This will most likely trigger the issue.
@smartyhero commented on GitHub (Nov 28, 2025):
My AppFlowy Cloud version is 0.9.157.
@annieappflowy commented on GitHub (Dec 4, 2025):
@smartyhero , please let us know if the issue still persists in v0.10.5
@smartyhero commented on GitHub (Dec 4, 2025):
I updated to version 0.10.5, but the problem persists. I also updated my appflowy-cloud to version 0.9.166.
@annieappflowy
@LucasXu0 commented on GitHub (Dec 4, 2025):
@smartyhero can you share your screen recording and log files when you encounter this issue?
@smartyhero commented on GitHub (Dec 5, 2025):
appflowy_logs.zip
These are the client logs; please let me know if you need any other logs.
@smartyhero commented on GitHub (Dec 5, 2025):
You can try downloading the screen recording from this link. I am unable to upload the screen recording file to GitHub.
https://s3.k8sre.cn/share/2025-12-05%2011-04-25.mov
@smartyhero commented on GitHub (Dec 5, 2025):
The document creation operation shown in the screen recording may not be related to the triggering of this issue.
In version 0.10.5, after I stopped Envoy, the client did not immediately show a reconnection prompt.
I used Envoy to replace Nginx.
@smartyhero commented on GitHub (Dec 5, 2025):
log.2025-12-05.log
These are the log files in my data directory.
The compressed file above is a compressed archive exported using the "Export Logs" button in AppFlowy; it seems to contain very old logs.
@LucasXu0
@LucasXu0 commented on GitHub (Dec 5, 2025):
@smartyhero I can't access the video you uploaded. Can you check if the URL is accessible?
@smartyhero commented on GitHub (Dec 5, 2025):
The link above is not working; please try this link instead.
https://dl.k8sre.cn/s/2025-12-05.mov
@LucasXu0 commented on GitHub (Dec 5, 2025):
Can you verify if the issue has been fixed in this version?
https://github.com/AppFlowy-IO/AppFlowy-Builder/releases/tag/0.10.5-fix%2Favoid_reopen_pages-251205-1232
@smartyhero commented on GitHub (Dec 5, 2025):
There are no problems using this version.