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

Copying values from IntelliJ extension doesn't work anymore #206

Open
wilkerlucio opened this issue Dec 13, 2023 · 2 comments
Open

Copying values from IntelliJ extension doesn't work anymore #206

wilkerlucio opened this issue Dec 13, 2023 · 2 comments

Comments

@wilkerlucio
Copy link
Contributor

wilkerlucio commented Dec 13, 2023

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.

@djblue
Copy link
Owner

djblue commented Dec 17, 2023

@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.

@coyotesqrl
Copy link
Contributor

@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.

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