Skip to content

Fix document opening order for hidden documents at startup - #1871

Merged
Dirk Bäumer (dbaeumer) merged 1 commit into
mainfrom
dbaeumer/remaining-urial-moccasin
Sep 28, 2026
Merged

Dirk Bäumer (dbaeumer) merged 1 commit into
mainfrom
dbaeumer/remaining-urial-moccasin

Conversation

@dbaeumer

Copy link
Copy Markdown
Member

When the delayOpenNotifications option is set to false, hidden documents are now opened at startup without delay. This change ensures that the didOpen notification for hidden documents is sent immediately, preventing race conditions where requests for visible documents could be sent before their corresponding didOpen notifications are processed. This addresses the issue where requests for visible documents were being rejected due to the document not being recognized as open.

Fixes #1868

@dbaeumer
Dirk Bäumer (dbaeumer) merged commit d5e04f4 into main Sep 28, 2026
6 checks passed
@dbaeumer
Dirk Bäumer (dbaeumer) deleted the dbaeumer/remaining-urial-moccasin branch September 28, 2026 19:04
@dbaeumer Dirk Bäumer (dbaeumer) added this to the 3.18.5 milestone Oct 21, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Request for a visible document can reach the server before its didOpen when hidden documents are open at start

2 participants