Vscode-java-test: Cannot switching between editor columns through keyboard shortcut

Created on 20 May 2020  路  10Comments  路  Source: microsoft/vscode-java-test

Issue Type: Bug

  1. Open a Java project
  2. Run the following command: "Java: Run all tests"
  3. Focus on the tab "Java Test Report"
  4. (optional) drag and drop the "Java Test Report" tab into the normal file explorer tab along with tabs of code.
  5. Navigate back and forth between tabs a few times (i.e. Cmd + 1, Cmd + 2)
  6. Observe that after selecting the "Java Test Report" tab, VSCode becomes unresponse to subsequent keyboard shorcuts (i.e. selecting a different tab or closing the editor entirely).

Extension version: 0.9.1
VS Code version: Code 1.45.1 (5763d909d5f12fe19f215cbfdd29a91c0fa9208a, 2020-05-14T08:33:47.663Z)
OS version: Darwin x64 19.4.0


System Info

|Item|Value|
|---|---|
|CPUs|Intel(R) Core(TM) i5-1030NG7 CPU @ 1.10GHz (8 x 1100)|
|GPU Status|2d_canvas: enabled
flash_3d: enabled
flash_stage3d: enabled
flash_stage3d_baseline: enabled
gpu_compositing: enabled
metal: disabled_off
multiple_raster_threads: enabled_on
oop_rasterization: disabled_off
protected_video_decode: unavailable_off
rasterization: enabled
skia_renderer: disabled_off_ok
video_decode: enabled
viz_display_compositor: enabled_on
viz_hit_test_surface_layer: disabled_off_ok
webgl: enabled
webgl2: enabled|
|Load (avg)|2, 3, 3|
|Memory (System)|8.00GB (0.28GB free)|
|Process Argv|.|
|Screen Reader|no|
|VM|0%|


bug upstream

All 10 comments

@rootulp thanks for reaching out.

@jdneo please take a look.

@rootulp Could you explain more about: Observe that after selecting the "Java Test Report" tab, VSCode becomes unresponse to subsequent keyboard shorcuts (i.e. selecting a different tab or closing the editor entirely).?

Yes. The VSCode java test runner appears to prevent subsequent keyboard shorcuts from working. I can reproduce the issue on my machine but not consistently. It takes some combination of focusing the "Java Test Report" tab and of running the "Java: Run all tests" command.

@rootulp I'm suspecting that whether this issue is caused by Test Report view or the general VS Code webview. Because from my understanding, the test report does not do anything that may have impact on the shortcuts. (maybe I'm wrong).

Would you mind to do some more tests to see if other webviews have the same behavior? For example, the VS Code's release note. (You can open it by the command: Code: Show Release Notes).

Thank you!

I haven't observed the same behavior with any other tabs in VSCode include the Release Notes tab.

@jdneo @akaroml can I provide any additional information to help the team make progress here?

Thank you @rootulp. What we need is stable repro steps. Then we can diagnostic the root-cause of the bug.

I'm not sure if I executed the steps you mentioned before correctly, but so far I could not repro it. Maybe a gif would be helpful?

@rootulp I can repro it now. Sorry I misunderstood at first. It's switching the column group. I was thinking that we were talking about switching between editors. And I also find that seems this issue only occurs on Mac

Filed an issue in VS Code repo, let's wait to see the update: https://github.com/microsoft/vscode/issues/100267

Was this page helpful?
0 / 5 - 0 ratings

Related issues

jimliuxyz picture jimliuxyz  路  7Comments

gabloe picture gabloe  路  7Comments

Gueka picture Gueka  路  3Comments

ashoknailwal picture ashoknailwal  路  8Comments

fbricon picture fbricon  路  5Comments