Page MenuHomePhabricator

Shortcut Modal fails to open after running a query
Open, Needs TriagePublicBUG REPORT

Description

Steps to replicate the issue (include links if applicable):

  • Go to https://query.wikidata.org/
  • Select the "Cats" query from the examples
  • Press Ctrl + Enter to run the query
  • Press Esc to unfocus the editor
  • Press ?

What happens?:
Nothing.

What should have happened instead?:
The modal showing the keyboard shortcuts should open.

Other information (browser name/version, screenshots, etc.):

  • Firefox 125.01b
  • No related errors in the js console

Event Timeline

I saw the references to a keyboard shortcut dialog in the source code years ago, couldn't figure out how to make it show up (despite looking at the code to try to work out how it's triggered) and concluded it had never worked. This is literally the first time I've seen anyone else mention it.

I saw the references to a keyboard shortcut dialog in the source code years ago, couldn't figure out how to make it show up (despite looking at the code to try to work out how it's triggered) and concluded it had never worked. This is literally the first time I've seen anyone else mention it.

Yeah, I don't recall being aware of this either prior to reading about it in T245643. Though, when trying it out, I notice that it reliably does work when skipping the second and third step above, that is, doing only:

OK thanks so much Michael, I was unable to find it as well
Just adding a screenshot here for reference

image.png (589×662 px, 46 KB)