vscode-markdown icon indicating copy to clipboard operation
vscode-markdown copied to clipboard

"Close Preview" keybinding doesn't work

Open 3xploiton3 opened this issue 1 year ago • 3 comments

What's the problem

Close Preview doesn't work with keybinding

Screenshot

image image

image

3xploiton3 avatar Dec 12 '23 05:12 3xploiton3

You can use this method to help find out the reason.

image

yzhang-gh avatar Dec 17 '23 07:12 yzhang-gh

troubleshooting log

2023-12-17 20:10:13.402 [info] [KeybindingService]: / Soft dispatching keyboard event 2023-12-17 20:10:13.403 [info] [KeybindingService]: | Resolving ctrl+shift+[KeyV] 2023-12-17 20:10:13.404 [info] [KeybindingService]: \ From 4 keybinding entries, matched markdown.showPreview, when: !notebookEditorFocused && editorLangId == 'markdown', source: built-in extension vscode.markdown-language-features. 2023-12-17 20:10:13.404 [info] [KeybindingService]: / Received keydown event - modifiers: [ctrl,shift], code: KeyV, keyCode: 86, key: V 2023-12-17 20:10:13.405 [info] [KeybindingService]: | Converted keydown event - modifiers: [ctrl,shift], code: KeyV, keyCode: 52 ('V') 2023-12-17 20:10:13.406 [info] [KeybindingService]: | Resolving ctrl+shift+[KeyV] 2023-12-17 20:10:13.407 [info] [KeybindingService]: \ From 4 keybinding entries, matched markdown.showPreview, when: !notebookEditorFocused && editorLangId == 'markdown', source: built-in extension vscode.markdown-language-features. 2023-12-17 20:10:13.407 [info] [KeybindingService]: + Invoking command markdown.showPreview. 2023-12-17 20:10:13.574 [info] [KeybindingService]: + Ignoring single modifier ctrl due to it being pressed together with other keys. 2023-12-17 20:10:15.363 [info] [KeybindingService]: / Received keydown event - modifiers: [ctrl,shift], code: KeyV, keyCode: 86, key: V 2023-12-17 20:10:15.363 [info] [KeybindingService]: | Converted keydown event - modifiers: [ctrl,shift], code: KeyV, keyCode: 52 ('V') 2023-12-17 20:10:15.364 [info] [KeybindingService]: | Resolving ctrl+shift+[KeyV] 2023-12-17 20:10:15.364 [info] [KeybindingService]: \ From 4 keybinding entries, no when clauses matched the context. 2023-12-17 20:10:15.490 [info] [KeybindingService]: + Ignoring single modifier shift due to it being pressed together with other keys.

3xploiton3 avatar Dec 17 '23 12:12 3xploiton3

Thanks. I checked it and realized it is a known issue #1263 and has been fixed in the dev build. You can install the dev build from https://github.com/yzhang-gh/vscode-markdown/actions/runs/7114681540/artifacts/1096290300

yzhang-gh avatar Dec 17 '23 15:12 yzhang-gh