microsoft / vscode

Visual Studio Code
https://code.visualstudio.com
MIT License
164.53k stars 29.4k forks source link

Compare Selected order has changed #229569

Open RobPavey opened 1 month ago

RobPavey commented 1 month ago

Type: Bug

In the latest release the behavior of Compare Selected has changed. I use this all the time to compare my reference file with my test file.

It used to be that I could click on the ref file (in Open Editors) than cmd-click on the test file (on Mac, in Open Editors) then right-click and do "Compare Selected" and, in the compare window, the ref file would be on the left and the test file would be on the right. Now this order is reversed wihich seems less logical.

These are the relative paths of the two files I am comparing:

unit_tests/taslib/generalized_data/ref/baptism_1829_amelia_wilson.json

unit_tests/taslib/generalized_data/test/baptism_1829_amelia_wilson.json

If I click on them in the opposite order it gives me what I used to get. So I can work around it. It just seems illogical.

VS Code version: Code 1.93.1 (Universal) (38c31bc77e0dd6ae88a4e9cc93428cc27a56ba40, 2024-09-11T17:20:05.685Z) OS version: Darwin arm64 23.4.0 Modes:

System Info |Item|Value| |---|---| |CPUs|Apple M2 Pro (10 x 2400)| |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
skia_graphite: disabled_off
video_decode: enabled
video_encode: enabled
webgl: enabled
webgl2: enabled
webgpu: enabled
webnn: disabled_off| |Load (avg)|2, 2, 2| |Memory (System)|16.00GB (0.06GB free)| |Process Argv|--crash-reporter-id 4e231932-f0df-481d-bdc7-3c2893af1f02| |Screen Reader|no| |VM|0%|
Extensions (1) Extension|Author (truncated)|Version ---|---|--- prettier-vscode|esb|11.0.0
A/B Experiments ``` vsliv368:30146709 vspor879:30202332 vspor708:30202333 vspor363:30204092 vscod805cf:30301675 binariesv615:30325510 vsaa593cf:30376535 py29gd2263:31024239 vscaat:30438848 c4g48928:30535728 azure-dev_surveyone:30548225 962ge761:30959799 pythongtdpath:30769146 welcomedialogc:30910334 pythonnoceb:30805159 asynctok:30898717 pythonmypyd1:30879173 h48ei257:31000450 pythontbext0:30879054 accentitlementsc:30995553 dsvsc016:30899300 dsvsc017:30899301 dsvsc018:30899302 cppperfnew:31000557 dsvsc020:30976470 pythonait:31006305 dsvsc021:30996838 f3je6385:31013174 a69g1124:31058053 dvdeprecation:31068756 dwnewjupyter:31046869 impr_priority:31102340 nativerepl1:31139838 refactort:31108082 pythonrstrctxt:31112756 flightc:31134773 wkspc-onlycs-t:31132770 wkspc-ranged-t:31125599 autoexpandse:31133494 fje88620:31121564 ```
gjsjohnmurray commented 1 month ago

See #225441