sentry
sentry copied to clipboard
Cmd+1 tab switching is overriden on /issues/
Environment
self-hosted (https://develop.sentry.dev/self-hosted/)
Version
22.6.0
Steps to Reproduce
On macOS:
- Open a new tab in your browser (I've tried Firefox and Chrome).
- Browse to Sentry in this new tab (I've only tried my self-hosted 22.6.0 installation, but I bet sentry.io has the same problem).
- Login.
- Open the "Issues" page, i.e. /organizations/.../issues/
- Try to switch to the first open tab in your browser by pressing cmd + 1.
Expected Result
The browser switches to the first tab.
Actual Result
Nothing.
Routing to @getsentry/open-source for triage. ⏲️
Routing to @getsentry/app-frontend for triage. ⏲️
Bumping to core UI team as this seems unlikely to be specific to self-hosted.
This should have been fixed by https://github.com/getsentry/sentry/pull/35554. Just tried on sentry.io on safari, chrome, and Firefox and can't reproduce this.
Hrm, yeah it looks like #35554 should be in 22.6.0. 🤔
@larsnystrom Are you suuuuuure you are seeing this with 22.6.0? 🧐
Here's what the footer says:
So, I added breakpoints on a few different preventDefault() calls using the Firefox debugger, and the one that is triggered when I do Cmd + 1 is a callback in searchHotkeysListener.tsx:17, called from useHotkeys in useHotkeys.tsx:43, which is called from sentryWrapped in helpers.js:85.
I can confirm that the changes in #35554 is included in for example useHotkeys.tsx.
Interesting. Good info, thanks @larsnystrom. Thoughts @jennmueng? 🤔
@larsnystrom @chadwhitacre I'm double checking and am still not able to reproduce this. We don't have any hotkeys listening on cmd+1 either, only option+1 so I'm a bit surprised you're running into this. Is there any event/action you performed before this bug occurring or does it just happen on initial open of the issues screen? Also, does in happen on other screens where we have a searchbar with hotkeys such as the Discover screen?
This issue has gone three weeks without activity. In another week, I will close it.
But! If you comment or otherwise update it, I will reset the clock, and if you label it Status: Backlog or Status: In Progress, I will leave it alone ... forever!
"A weed is but an unloved flower." ― Ella Wheeler Wilcox 🥀