denco / vscode-confluence-markup

Visual Studio Code extension for Confluence® markup
MIT License
27 stars 10 forks source link

Ctrl/Shift/v Not working on Ubuntu 10.04 #12

Closed aplatypus closed 4 years ago

aplatypus commented 5 years ago

Control/Shift/V is the keyboard combo for the X-Windows past buffer. This combination doesn't work with Ubuntu Linux.

denco commented 5 years ago

Hi aplatypus,

thanks for the issue, can please provide a bit more information, like: vscode version, OSS or Microsoft, which UI U use: Unity, Gnome, KDE?

As temporary workaround, U can rebind a keyboard shortcuts under: File>Preferences>Keyboard Shortcuts or Ctrl+K Ctrl+S

Same Key Shortcuts is used for Markdown preview too, is it work or did U have a same Issue with Markdown too?

Thx.

aplatypus commented 5 years ago

Ubuntu 18.10; Cinnamon v 3.8.8

Please refer to the problem description. Ctrl+Shift+V is an X-Windows command. desktops run within and at the behest of the X.Org layer. And I guess for the future Mir and Wayland.

denco commented 5 years ago

Hi, now i've get it U problem is not a preview of confluence PlugIn it's more a paste text into.

So as I've already asked the markdown use a same keyboard-bindings, did U have this issue with markdown too?

This is not a bug of confluence-Plugin. It's more a keyboard-bindings overwrite. As default confluence-PlugIn use Ctrl+Shift+V for the preview, same as markdown-Plugin.

The default keybindings for the paste in VSCode is Ctrl+V. If U wan't to use U preferred form for paste just remove a keybindings of confluence-Plugin.

As U say, the Ctrl+Shift+V comes from X/Wayland/Mir/etc. It can be overwritten by the Window Manager, UI or a running Program, say layer-by-layer, in most cases unbound shortcuts will be pass-throu the layers, but it's not ensure.

I would recommend U to rebind or delete a keyboard shortcut for Preview. This done with:

The preview shortcuts has a same keys as a markdown-Plugin from VSCode itself.

I would not to redefined it for all users.

+++ Feel free and rebind a keys for your instance as U wish +++

Have a nice day and happy coding!!!

Greez, Denis.

denco commented 4 years ago

@aplatypus FYI: Issue will be closed tomorrow.