A user, xiasummer, reports frequently encountering the “Draft is being edited in another window” warning despite only having one tab open, suspecting network issues due to poor connectivity from China. Falco suggests checking if the issue occurs on Meta and updating to the latest version to rule out a known bug. sam confirms the issue and explains it stems from concurrent draft saves during high network latency, providing a fix in a commit. xiasummer proposes an automated solution based on network conditions, such as adjusting save intervals. sam acknowledges the suggestion and confirms the fix improves the saving strategy by preventing concurrent saves, but asks if the issue persists.
We had a condition where drafts could be saving “concurrently” meaning the composer could be in the middle of saving a draft and another draft save would be issued. This only happened when network latency is high, but I think it is quite likely you were a victim to this @xiasummer
No guarantees that it fixes it, this is some very complex code, but on all my local testing it is working much better.
Yes. I mean, for different users’ different network conditions, use different drafting strategies.
Like if you live in big cities where the network is great, you can draft more often and set 2 seconds as the drafting upload time. while if you live in far areas with long network delay, you can automaticly set 10 seconds as drafting upload time.