sourcegraph / jetbrains

Apache License 2.0
65 stars 20 forks source link

bug: Unable to Copy partial content from chat window #2188

Open jafin opened 1 month ago

jafin commented 1 month ago

IDE Information

6.0.38-nightly

Bug Description

Any output in the chat window does not allow highlighting and copying functions to work.

Steps:

Workaround

Additional context

No response

dominiccooney commented 1 month ago

There is no right click copy menu, however I Ctrl-C, Ctrl-V are working for me in 7.0.0-nightly.

What IDE version are you using specifically, @jafin ? (Shift-shift, About, Copy and Close, ... could you paste that here?)

jafin commented 1 month ago

Editor was Webstorm Build #WS-242.21829.149, built on August 29, 2024 I just updated to 7.0.0.-nightly and ctrl-c is working for me now. Closing issue.

jafin commented 1 month ago

I spoke too soon.

It's actually intermittent.

Typically copy will be working after launching Rider, but over time it just stops working. In all cases, the Copy button in the toolbar works as expected, but highlighting content and using "Ctrl C" which is my Copy shortcut does not copy anything.

JetBrains Rider 2024.2.3 Build #RD-242.21829.166, built on August 30, 2024 Runtime version: 21.0.3+13-b509.11 amd64 (JCEF 122.1.9) VM: OpenJDK 64-Bit Server VM by JetBrains s.r.o. Toolkit: sun.awt.windows.WToolkit Windows 11.0 .NET Core v8.0.4 x64 (Server GC) GC: G1 Young Generation, G1 Concurrent GC, G1 Old Generation Memory: 2048M Cores: 32 Registry: ide.experimental.ui=true ide.mac.bigsur.window.with.tabs.enabled=false i18n.locale= Non-Bundled Plugins: com.supermaven.intellij (1.38) com.intellij.ml.llm (242.21829.173) com.intellij.grazie.pro (0.3.329) com.sourcegraph.jetbrains (7.0.0-nightly)

jafin commented 3 weeks ago

Still an issue with Cody 7.0.4

JetBrains Rider 2024.2.4 Build #RD-242.21829.210, built on September 7, 2024 Runtime version: 21.0.3+13-b509.11 amd64 (JCEF 122.1.9) VM: OpenJDK 64-Bit Server VM by JetBrains s.r.o. Toolkit: sun.awt.windows.WToolkit Windows 10.0

In example shown, everytime I select text I am issuing a copy (Ctrl-C for me) after. It NEVER copies the selected text, and always pastes the previously copied clipboard text. Unless I actually click the copy button.

NOTE: No other issues with other tools (Copilot for example)

copypaste_issue

jafin commented 3 weeks ago

Possibly related #1583