Automattic / Automattic/simplenote-electron

VPN causes sync to block visual update on each action

Open
#3,314 0 comments 0 reactions 0 assignees View on GitHub
bug
Dominant language
TypeScript
Stars
5.3k
Forks
588
Avg merge
9h 45m
Merged PRs (30d)
4

Description

### Expected
App should work as usual either with or without VPN as it did a couple of weeks ago.

### Observed
Each sync-able action does not initiate a visual update till sync finishes. Like start typing / deleting / pasting notes, causes the editor to not update after the first letter or react on further actions after pasting content, for few seconds.

You can navigate between notes through the side bar though.

After sync completes all the actions get the desired result one after the other.

Using split tunneling also does not affect the problem. Am using Mulvad VPN and usually Thailand or Singapore as servers.

### Reproduced
#### Case 1: Typing

1. Turn on the VPN
2. Start typing
3. Editor only shows the first letter typed and seemingly freezes till sync ends
4. After sync ends, all typed characters appear.

#### Case 2: Deleting

1. Turn on the VPN
2. Start deleting text
3. Editor only deletes the first letter deleted and seemingly freezes till sync ends
4. After sync ends, all deleted characters disappear.

#### Case 3: Pasting

1. Turn on the VPN
2. Paste text and then start typing / deleting
3. Editor does not react to any input after pasting text till sync ends.

### Where did you see the bug

It started to happen since a couple of weeks ago.

- System: AMD Ryzen 9 5900X, 64GB RAM, Nvidia 3070Ti, 50Mbps FTTH Connection
- OS: Windows 11
- OS version: 24H2
- Simplenote app version: 2.23.2

Contributor guide

Open the contributing guide

Research direction

Reproduce the typing, deletion, and paste cases on Windows 11 with Mullvad VPN, comparing behavior with the VPN disabled. Trace the interaction between the editor’s visual updates and sync while reproducing the delay; done means sync-able actions update immediately and consistently in both VPN and non-VPN conditions.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
desktop, networking
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
38/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.