microsoft / vscode

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

"View: Maximize editor group" doesnt work with dragged file between editors #117686

Closed tonoslav closed 3 years ago

tonoslav commented 3 years ago

Issue Type: Bug

Steps:

  1. Open empty editor
  2. Split editor right (icon right top)
  3. 2x CTRL + n (new file/tab)
  4. Middle click "Untitled-1" in right part (to close it)
  5. Now you have 1 file (Untitled-1) on left, 2 (Untitled-2, Untitled-3) or right
  6. Click "Untitled-2"
  7. Enable ">View: Maximize editor group"
  8. Drag and drop "Untitled-2" from right editor to left PROBLEM: "Untitled-2" is moved to left, and active there (lighter color in text) but left part of editor is minimized and right is maxed even it should be

max-error

VS Code version: Code - Insiders 1.54.0-insider (c47da720f351455681978a48edc4d9a0d095ea0e, 2021-02-24T11:34:41.307Z) OS version: Windows_NT ia32 10.0.19041

System Info |Item|Value| |---|---| |CPUs|Intel(R) Core(TM) i7-4510U CPU @ 2.00GHz (4 x 2594)| |GPU Status|2d_canvas: enabled
gpu_compositing: enabled
multiple_raster_threads: enabled_on
oop_rasterization: enabled
opengl: enabled_on
protected_video_decode: unavailable_off
rasterization: enabled
skia_renderer: enabled_on
video_decode: enabled
vulkan: disabled_off
webgl: enabled
webgl2: enabled| |Load (avg)|undefined| |Memory (System)|11.88GB (1.65GB free)| |Process Argv|--crash-reporter-id d73c12a2-5f90-4f01-9db0-68daab1cae8d| |Screen Reader|no| |VM|0%|
Extensions (30) Extension|Author (truncated)|Version ---|---|--- better-phpunit|cal|1.5.3 npm-intellisense|chr|1.3.1 path-intellisense|chr|2.3.0 vscode-css-modules|cli|0.2.3 vscode-eslint|dba|2.1.14 xml|Dot|2.5.1 gitlens|eam|11.2.1 prettier-vscode|esb|5.9.2 php-debug|fel|1.14.9 php-intellisense|fel|2.3.14 vscode-test-explorer|hbe|2.19.5 phpcs|ika|1.0.5 sftp|lix|1.12.9 change-string-case|max|1.1.2 php-namespace-resolver|Meh|1.1.8 ecdc|mit|1.4.0 quicksnippet|mou|0.0.1 easy-less|mrc|1.7.2 vscode-less|mrm|0.6.3 php-docblocker|nei|2.1.0 gulptasks|nic|1.3.1 vetur|oct|0.32.0 laravel-blade|one|1.25.0 vscode-jest|Ort|3.2.0 laravel-helpers|raf|0.2.2 vscode-yaml|red|0.15.0 code-settings-sync|Sha|3.4.3 stylelint|shi|0.51.0 vscode-blade-formatter|shu|0.7.1 php-phan|Tys|3.0.0
bpasero commented 3 years ago

Good catch, the issue is this:

Should revisit this, by either:

bpasero commented 3 years ago

Similar issue: