19

On Stack Overflow, when I ask or answer a question there is a 'control panel' above the text box.

enter image description here

Each one of the items is activated by either a manual click or a shortcut (Ctrl + B for bold, Ctrl + I for italic...). On FireFox, Safari and Chrome, there is a shortcut for refreshing the page (cmd + R) but on Firefox the cmd key activates the horizontal rule as well as using Ctrl. Another example, cmd + Q is a shortcut for either blockquote or quitting the entire browser.

Could we make it so that the text editor shortcuts aren't activated by using browser-global keyboard shortcuts?

11
  • Doesn't happen for me in Safari. But fair request I guess
    – Pekka
    Commented Aug 11, 2017 at 9:33
  • Doesn't happen on Safari because Mac applications use Cmd-based shortcuts, @Pekka, so our editor's Ctrl-based shortcuts don't conflict. What would you suggest that we use on Windows, James?
    – Cody Gray Mod
    Commented Aug 11, 2017 at 10:08
  • @CodyGray On windows is there a Ctrl + R to refresh shortcut? Commented Aug 11, 2017 at 10:14
  • 7
    Yes. Cmd+R on Mac, Ctrl+R on Windows (and lots of Linux desktop environments). I'm certain this conflict has been discussed before, but I didn't find it, even in a brief search on Meta Stack Exchange.
    – Cody Gray Mod
    Commented Aug 11, 2017 at 10:17
  • related: meta.stackoverflow.com/questions/315159/…
    – rene
    Commented Aug 11, 2017 at 11:29
  • 2
    Amen. Related on MSE: Overwrite ⌃-S and/or ⌘-S to save a question/answer edit Keyboard shortcut for formatting posts on Mac should support ⌘ Although fn would be just as bad as Command, honestly: that's even more of a system-level key.
    – jscs
    Commented Aug 11, 2017 at 12:19
  • 4
    I guess everyone knows, but a workaround would be to use the F5 function key to refresh instead, which will at least work on IE/Edge, Chrome, Firefox and Opera
    – Aaron
    Commented Aug 11, 2017 at 13:18
  • 1
    I didn't even know about this! I just write <hr/> Commented Aug 11, 2017 at 17:17
  • 1
    @NickA in SO Markdown it's a triple dash --- or triple underscore ___ after an empty line.
    – Cœur
    Commented Aug 12, 2017 at 12:49
  • 10
    While I personally use F5, a web page overriding browser-global keyboard shortcut is, generally, a bad UX choice. While it's often a pain in the rear to find appropriate shortcuts that work across all browsers, keyboard shortcuts should either be chosen such that they do not conflict with already existing shortcuts in the host program (i.e. the various browser for a webpage), or should allow the user to define them to be whatever the user desires (at which point conflicts are the user's problem).
    – Makyen Mod
    Commented Aug 13, 2017 at 0:49
  • 2
    @Aaron F5 does not refresh the page in chrome on a mac so it does not work as a workaround for all cases.
    – Joe W
    Commented Aug 17, 2017 at 19:14

0

You must log in to answer this question.

Browse other questions tagged .