Automattic / Automattic/simplenote-electron

Extra line breaks on Windows

Open
#3,081 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

Similar to [this issue](https://github.com/Automattic/simplenote-electron/issues/2646), a user reported that whenever they created a line break with the Enter/Return key on Windows, they will need to tap an additional Back key on the iOS app to remove the line break.

It appears that we reported this issue previously in [this comment](https://github.com/Automattic/simplenote-electron/issues/2646#issuecomment-796771402) that contains a video recording attached in the ticket.

### Expected
The user expects to be able to remove the line break added on Windows with only one tap of the Back key on the iOS app.

### Observed
It requires two taps of Back key to remove a line break added on the Windows app.

### Reproduced

1. On the Windows Electron app, create several line breaks with the Enter/Return key on a note
2. Open up the note on the iOS app, try removing the line break with the Back key
3. Noticed you need to tap the Back key twice to remove the line break

### Where did you see the bug

- OS: Windows
- OS version: Windows 10
- Simplenote app version: 2.21.0
- iOS app version: 4.47 (iOS 15.3.1)

Contributor guide

Open the contributing guide

Research direction

Start by reproducing the Windows Electron app steps in the issue, then inspect how Enter/Return line breaks are stored and synchronized for notes opened in iOS. Confirm the fix by verifying that a line break added on Windows can be removed with one Back tap on iOS.

Written by the indexing model from the issue text.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.