cheeaun / cheeaun/phanpy

keyboard shortcut accidentally triggers when using Cmd-L to switch to location bar

Open
#1,169 0 comments 0 reactions 0 assignees View on GitHub
bug need investigation
Dominant language
JavaScript
Stars
1.5k
Forks
186
Avg merge
1d 36m
Merged PRs (30d)
11

Description

### Site

phanpy.social

### Version

2025.04.28.5849b4d

### Instance

techpolicy.social

### Browser

- Firefox 134 on macOS

### Bug description

I frequently accidentally "like" a toot as I'm leaving phanpy, because I use Command-L to switch to the location bar on my browser to type in a different URL, and that is triggering the 'L' command to send a like.

### To reproduce

1. Interact with any toot (like opening a CW)
2. Hit Command-L

### Expected behavior

Key chords that execute browser commands shouldn't also trigger the keyboard shortcuts. (Maybe actions that remove keyboard focus shouldn't trigger?)

### Other

Maybe this is a browser bug? (That is, if it's impossible for the application to distinguish these cases.) If so, let me know and I'll help file the issue there instead.

Contributor guide

No contributing guide indexed for this repository

Research direction

Reproduce the shortcut in Firefox 134 on macOS using the steps in the report, then locate the application's keyboard-shortcut handling entry point; no file or test is named in the issue. Done means Command-L switches to the browser location bar without triggering the application's like shortcut, while ordinary shortcut use still works.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
frontend, web-dev
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.