Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bug: Cmd+Shift+O maps to two different menu commands #1250

Open
mjbaldwin opened this issue May 20, 2021 · 5 comments
Open

Bug: Cmd+Shift+O maps to two different menu commands #1250

mjbaldwin opened this issue May 20, 2021 · 5 comments

Comments

@mjbaldwin
Copy link

Just wanted to inform you that the keyboard shortcut Cmd+Shift+O maps to both of the menu commands:

  • View > Left 1:1 Right
  • Format > Ordered List

So while I'm trying to use Cmd+Shift+O and Cmd+Shift+H to toggle showing and hiding the preview pane, it keeps inserting an ordered list instead. :(

I have no preference for which one should keep the shortcut... but when I'm editing a long complex Markdown document, the preview pane is constantly flashing with every keystroke which makes it unusable, so I need to hide it, but then want to quickly show it at times so keeping some keyboard shortcut is essential.

Thanks so much -- wonderful app!

@Neecolaa
Copy link

Cmd+Shift+H toggles both showing and hiding the preview pane. You shouldn't have to use Cmd+Shift+O to show the preview pane.

@mjbaldwin
Copy link
Author

Thanks for the suggestion, but I'm trying Cmd+Shift+H right now and it's not showing the preview pane.

I'd wonder if I had something else interfering with the keyboard shortcut (e.g. I'd reassigned it elsewhere) but I don't think that could be the case because it works to hide the pane.

I'm using version 0.7.3 (says it's up-to-date) on Big Sur which is also up-to-date.

I'm happy to help debug this if needed, attach screenshots to show the menu state, etc.

@Neecolaa
Copy link

Interesting.. I've also got 0.7.3, but I'm using Catalina (10.15.7)
When the preview pane is hidden, what does the View drop-down say Cmd+Shift+H does?
Screen Shot 2021-06-25 at 10 04 45 PM

@mjbaldwin
Copy link
Author

When the preview pane is hidden it just shows continues to show "Hide Preview Pane":

image

I've tried playing around with it some more, and discovered that as long as the entire markdown document is shorter than the viewport (entirely visible) then the menu command does change to "Restore Preview Pane" and works normally.

But as soon as I add more text so that it scrolls vertically, when I hide the preview pane the menu continues to say "Hide Preview Pane" and restore doesn't work.

@grievejia
Copy link

I had the same issue with @mjbaldwin. This issue makes it a bit painful when writing long docs.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants