microsoft / vscode

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

macOS tabs don't work correctly in fullscreen #185762

Open niquenen opened 1 year ago

niquenen commented 1 year ago

Type: Bug

A problem occur when I open a new tab. You can find below a reproduction of the bug with screenshots.

Note: I can't reproduce this bug without the fullscreen mode.

  1. Open Visual Studio Code.
  2. Open a project (projectA for example).

Screenshot 2023-06-21 at 14 40 55

  1. Open the command palette.
  2. Enter the command >New Window Tab.
  3. Open another project (projectB for example)

Screenshot 2023-06-21 at 14 41 18

  1. Go to the first tab (projectA).

Screenshot 2023-06-21 at 14 41 26

  1. Open the command palette.
  2. Enter the command >New Window Tab.

Screenshot 2023-06-21 at 14 41 30

  1. The new created tab is opened in the second project (projectB).

Screenshot 2023-06-21 at 14 41 37

  1. The projectB is opened in the latest tab (Untitled-1).

Screenshot 2023-06-21 at 14 41 43

VS Code version: Code 1.79.2 (695af097c7bd098fbf017ce3ac85e09bbc5dda06, 2023-06-14T08:58:33.551Z) OS version: macOS 13.4 (22F66), Darwin arm64 22.5.0 Modes:

System Info |Item|Value| |---|---| |CPUs|Apple M1 Pro (8 x 24)| |GPU Status|2d_canvas: enabled
canvas_oop_rasterization: disabled_off
direct_rendering_display_compositor: disabled_off_ok
gpu_compositing: enabled
metal: disabled_off
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)|6, 6, 10| |Memory (System)|16.00GB (0.05GB free)| |Process Argv|--crash-reporter-id 8b80d23c-bcac-4c92-ad86-eb470986b290| |Screen Reader|no| |VM|0%|
Extensions (83) Extension|Author (truncated)|Version ---|---|--- ng-template|Ang|16.0.0 quitcontrol-vscode|art|4.0.0 markdown-emoji|bie|0.3.0 markdown-mermaid|bie|1.18.1 markdown-preview-github-styles|bie|2.0.2 gitignore|cod|0.9.0 doxdocgen|csc|1.4.0 angular-schematics|cyr|5.4.2 vscode-eslint|dba|2.4.0 githistory|don|0.6.20 gitlens|eam|14.0.1 EditorConfig|Edi|0.16.4 vscode-great-icons|emm|2.1.93 copilot|Git|1.90.174 vscode-github-actions|git|0.25.8 activitusbar|Gru|0.0.47 CppSnippets|har|0.0.15 vscode-env|Iro|0.1.0 vscode-edit-csv|jan|0.7.6 Angular2|joh|16.0.1 vscode-csharp-snippets|jor|1.1.0 docomment|k--|1.0.0 ignore-files|lde|0.1.0 eml|lei|0.4.0 marp-vscode|mar|2.6.0 rainbow-csv|mec|3.7.0 vscode-apache|mrm|1.2.0 azure-dev|ms-|0.6.0 vscode-azureappservice|ms-|0.24.9 vscode-azurecontainerapps|ms-|0.5.1 vscode-azurefunctions|ms-|1.11.0 vscode-azureresourcegroups|ms-|0.7.5 vscode-azurestaticwebapps|ms-|0.12.1 vscode-azurestorage|ms-|0.15.3 vscode-azurevirtualmachines|ms-|0.6.5 vscode-bicep|ms-|0.18.4 vscode-cosmosdb|ms-|0.19.4 vscode-docker|ms-|1.25.1 csharp|ms-|1.25.9 dotnet-interactive-vscode|ms-|1.0.4313020 vscode-dotnet-runtime|ms-|1.6.0 data-workspace-vscode|ms-|0.5.0 mssql|ms-|1.19.1 sql-bindings-vscode|ms-|0.4.0 sql-database-projects-vscode|ms-|1.1.1 jupyter|ms-|2023.5.1001582324 jupyter-keymap|ms-|1.1.2 jupyter-renderers|ms-|1.0.15 vscode-jupyter-cell-tags|ms-|0.1.8 vscode-jupyter-slideshow|ms-|0.1.5 remote-wsl|ms-|0.79.5 azure-account|ms-|0.11.5 cpptools|ms-|1.15.4 hexeditor|ms-|1.9.11 sublime-keybindings|ms-|4.0.10 vscode-node-azure-pack|ms-|1.2.0 azurerm-vscode-tools|msa|0.15.10 resourcemonitor|mut|1.0.7 php-docblocker|nei|2.7.0 psi-header|psi|1.21.1 quicktype|qui|12.0.46 vscode-thunder-client|ran|2.7.7 vscode-xml|red|0.25.0 vscode-yaml|red|1.13.0 crates|ser|0.5.11 trailing-spaces|sha|0.4.1 vscode-fileutils|sle|3.10.1 conanlight|Son|1.4.0 sass-indented|syl|1.8.26 even-better-toml|tam|0.19.0 shellcheck|tim|0.32.6 pdf|tom|1.2.2 cmake|twx|0.0.17 sort-lines|Tyr|1.10.1 errorlens|use|3.11.1 intellicode-api-usage-examples|Vis|0.2.7 vscodeintellicode|Vis|1.2.30 codetour|vsl|0.0.59 vscode-todo-highlight|way|1.0.5 vscode-nginx|wil|0.7.2 php-pack|xde|1.0.3 markdown-all-in-one|yzh|3.5.1 php-intellisense|zob|1.1.3 (3 theme extensions excluded)
bpasero commented 1 year ago

We rely on Electron API for this, so I suspect an upstream issue (if any).