Automattic / Automattic/simplenote-electron

Hot Key Conflict for Markdown Preview

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

Description

## Expected
When using a hot key to preview markdown no other actions but previewing a note should take place.

### Observed
When using a Windows device the `ctrl+shift+p` shortcut conflicts with existing hot keys in other browser, like Firefox, where that instead opens a new private browser window. On MacOS devices this is not an issue.

Make|Model|OS Version|App Version
-|-|-|-
Firefox Browser|78.0.1

Reported in #3112928-zen

Contributor guide

Open the contributing guide

Research direction

Start by tracing the Markdown preview shortcut and its Windows keyboard handling, then reproduce the conflict in Firefox on Windows. Done means the shortcut previews the note without triggering another browser action, while preserving the reported MacOS behavior.

Written by the indexing model from the issue text.

Assessment

Tech stack
electron, typescript
Domain
desktop
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 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.