djblue / portal

A clojure tool to navigate through your data.

Home Page:https://djblue.github.io/portal/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Copying values from IntelliJ extension doesn't work anymore

wilkerlucio opened this issue · comments

Hello! In the past, I remember being able to cmd+c after selecting a value in Portal (Intellij Extension), and it copied the value selected to the clipboard, but it stopped working some time ago (I don't remember how much, but it has been a while).

To reproduce: Using the IntelliJ extension, try copying a value.
Expected: value goes to clipboard
Actual: clipboard contents don't change

But if I use the copy command from the command pallet, it does work, so it seems to be some problem capturing the keybinding there.

@wilkerlucio I looked into this a bit and have some findings:

  • cmd+c appears to be working in a normal browser
  • The ctrl+c shortcut works when using Intellij using windows
  • The cmd keyboard events is being triggered, but the corresponding c events is never being triggered in the embedded browser 🤔
    • Also cmd+v doesn't appear to be working.

It appears to be that on osx, the embedded browser isn't allowing the copy/cut/paste shortcuts through to the application js. Not sure if this is a bug on the Intellij side, or if some additional configuration is required on the plugin side. Not sure how to fix this.

@wilkerlucio I looked into this a bit and have some findings:

  • cmd+c appears to be working in a normal browser

  • The ctrl+c shortcut works when using Intellij using windows

  • The cmd keyboard events is being triggered, but the corresponding c events is never being triggered in the embedded browser 🤔

    • Also cmd+v doesn't appear to be working.

It appears to be that on osx, the embedded browser isn't allowing the copy/cut/paste shortcuts through to the application js. Not sure if this is a bug on the Intellij side, or if some additional configuration is required on the plugin side. Not sure how to fix this.

The alternate vim keybinding - Y - does work in the Intellij plugin to copy. Nothing works for pasting.