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

codelens is not always clickable

Open Med-H opened this issue 1 year ago • 2 comments
trafficstars

Type: Bug

codelens is not always clickable, need to switch tab to make it clickable again

Extension version: 1.25.1 VS Code version: Code 1.85.1 (0ee08df0cf4527e40edc9aa28f4b5bd38bbff2b2, 2023-12-13T09:48:16.874Z) OS version: Darwin arm64 23.2.0 Modes:

System Info
Item Value
CPUs Apple M2 Pro (12 x 24)
GPU Status 2d_canvas: enabled
canvas_oop_rasterization: enabled_on
direct_rendering_display_compositor: disabled_off_ok
gpu_compositing: enabled
multiple_raster_threads: enabled_on
opengl: enabled_on
rasterization: enabled
raw_draw: disabled_off_ok
video_decode: enabled
video_encode: enabled
vulkan: disabled_off
webgl: enabled
webgl2: enabled
webgpu: enabled
Load (avg) 14, 11, 7
Memory (System) 32.00GB (4.12GB free)
Process Argv --crash-reporter-id 996d3eb0-b4a4-4063-8a88-5b50e7febc28
Screen Reader no
VM 0%
A/B Experiments
vsliv368cf:30146710
vsreu685:30147344
vspor879:30202332
vspor708:30202333
vspor363:30204092
vswsl492:30256859
vslsvsres303:30308271
vshan820:30294714
vscod805cf:30301675
binariesv615:30325510
bridge0708:30335490
bridge0723:30353136
vsaa593:30376534
py29gd2263:30899288
vscaac:30438847
vsclangdc:30486549
c4g48928:30535728
azure-dev_surveyone:30548225
2i9eh265:30646982
962ge761:30917236
pythongtdpath:30769146
i26e3531:30792625
welcomedialog:30910333
pythonidxpt:30866567
pythonnoceb:30805159
asynctok:30898717
pythontestfixt:30902429
pythonregdiag2cf:30928864
pyreplss1:30897532
pythonmypyd1:30879173
pythoncet0:30885854
h48ei257:30885898
pythontbext0:30879054
dsvsc016:30899300
dsvsc017:30899301
dsvsc018:30899302
aa_t_chat:30882232
cp7184t3:30927821

Med-H avatar Jan 08 '24 10:01 Med-H

Do you have an example project where this happens ? If you go to the command palette and select the command "Java: Open All Log Files", is there anything in the logs (particularly the .log file to indicate some kind of failure/error ?

I could image this happening if there's 1 reference/implementation that cannot be displayed but don't think I've ever seen this. The fact that they work again if you switch tabs make it seem more like a platform issue.

rgrunber avatar Jan 12 '24 18:01 rgrunber

I observed similar unusual behavior a few times when I clicked the "Run|Debug" codelens of Java main method. This might be an upstream bug in VS Code. I will attempt to find a way to reproduce it reliably and report it to the VS Code repo.

testforstephen avatar Jan 15 '24 02:01 testforstephen