Keyboard shortcut to open composer to reply to topic

Is there a keyboard shortcut for opening the composer to reply to the current topic? Also, is there a list of all keyboard shortcuts somewhere? I’m sure there’s plenty of handy shortcuts I don’t know about.

1 Like

The shortcut you are looking for is shift + r

And yes there’s a list, at the bottom of the hamburger menu: “Keyboard Shortcuts”

3 Likes

This hamburger menu? I don’t see anything for “Keyboard Shortcuts” in there.

2 Likes

The excessive number of possible themes is pushing the menu off the screen. Can we get rid of some of these please @sam? It feels a little ridiculous to me to have so many.

2 Likes

I think this is mostly an issue here on Meta and not a Discourse issue. I’ve made a few changes to the theme list on that menu and I was unable to reproduce this issue afterwards. Can you please let me know if it’s still happening to you? If so, can you please let me know what browser / OS you’re using?

3 Likes

Maybe I’m missing something, but I still don’t see “Keyboard Shortcuts” here on Meta or on https://community.wanikani.com where the menu is much smaller. I’m using Chrome on Windows 10.

For example on https://community.wanikani.com:

image

I’m not sure why that’s happening; perhaps your device / browser is being detected as a mobile device? Because mobile devices don’t have keyboards to use, thus that menu item is meaningless to them and suppressed.

What I see on meta:

image

What I see on my self-hosted instance:

image

It’s definitely showing up as the desktop view for the general layout and everything else as far as I can tell.

Can someone share a direct link to that page for the time being?

Have you tried on a different web browser or different device, or in safe mode (plugins disabled) in your browser?

AFAIK you can just press ?

1 Like

I just tried on a different browser and at a different resolution (plugged into monitor) with no change. I tried on a second device, and then it shows up correctly.

image


The main difference here is of course that the image from my first computer includes “Mobile View” while the second includes “Keyboard Shortcuts”. Perhaps the conditions under which you include “Mobile View” will help indicate what’s going wrong here.

When plugged into the monitor, both computers used 1440p and 100% zoom, so there’s no logical reason they would render differently. When not plugged in, the first computer was at 1080p and 125% zoom. I guess it’s possible that something about my resolution settings was cached on Discourse even after refreshing the page, such that using the monitor didn’t change anything.

Regardless, it seems to me that some aspect of the “Mobile View” / “Keyboard Shortcuts” condition is using resolution rather than user agent, or something like that. Or maybe it’s that the zoom isn’t being properly accounted for. (It seems like screen.height and screen.width in JavaScript do account for zoom, but I obviously don’t know what you’re using for screen resolution detection, if you are at all).


It’s probably worth mentioning that I have previously run into issues with the view on my laptop doing mobile-like things on Discourse, presumably due to my resolution or zoom settings.

Slight tangent about laptop being treated as mobile device by Discourse

For example:
On laptop 1:
image

On laptop 2:
image

I don’t know if the facebook/twitter/email icons are desktop only, but I only see them in the one view. Or maybe (again) it’s just due to resolution.

There used to be a big difference in how the desktop and mobile views of the share buttons worked (prior to iOS Discourse going directly to the built in iOS share menu), and it was very noticeable that my laptop was using the mobile behavior by mistake.

Your laptop have touch screen support?

4 Likes

It does, yes. That is definitely another difference between the two laptops, as the second one (which showed the expected menu options) does not have touch screen support.

1 Like

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.