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

Notification shown when `sftp.upload.activeFile` action is triggered from keyboard shortcut

Open AndisGrossteins opened this issue 2 years ago • 0 comments
trafficstars

Every time when I trigger sftp.upload.activeFile action using keyboard shortcut (Ctrl+Shift+U) the file in not uploaded and a notification pops up:

Cannot read properties of null (reading '$mid')

However, the notification doesn't appear when triggering the action using editor context menu or command palette. I don't have any other keyboard bindings that could conflict with this one and the keyboard shortcut troubleshooter doesn't show any issues. Even changing the shortcut doesn't change the behavior.

To Reproduce Steps to reproduce the behavior:

  1. Configure a keyboard shortcut for sftp.upload.activeFile action
  2. Open a file
  3. Keep focus in editor
  4. Hit the configured keyboard shortcut
  5. Message pops up

Expected behavior No notifications

Screenshots image

Desktop (please complete the following information):

  • OS: Win 11 23H2 Build 22635.2700
  • VSCode Version 1.84.2
  • Extension Version 1.16.3

Extension Logs from Startup - required I have permanently enabled the debug option. There's nothing of importance in the debug logs because action is not triggered.

AndisGrossteins avatar Nov 12 '23 20:11 AndisGrossteins