Repository navigation
Closed
Labels
Milestone
Description
Refs: #137241
- macOS Andre Weinand (@weinand)
- linux Logan Ramos (@lramos15)
- windows Aaron Munger (@amunger)
Complexity: 4
We plan to promote Electron 16 in the February 2022 milestone for insiders and stable. This adoption also comes with new render process architecture and it would help to get additional exploratory self-hosting. The following tests cover some of the common UI bits that don't have smoke tests, but feel free to self-host on the nightly builds for rest of the iteration. You can download the nightly explorations builds from here for testing.
Testing:
-
macOS:
- Enable Native Tabs (via settings:
window.nativeTabs: true)- Launch application
- Try opening new window from either command line (code-exploration ) or from the menu entry (Cmd + Shift + N)
- Verify new window is launched as a new tab in the active instance of the application
- window is focused when starting from command line
- open the code exploration application from finder or dock
- open external terminal
- run code-exploration
- make sure the new window is put to foreground
- Enable Native Tabs (via settings:
-
windows:
- touch device, verify onscreen keyboard doesn't pop up when clicking inside vscode while external keyboard is attached
- verify maximize and restore operations work as expected when task bar is auto-hidden for custom titlebar
- Verify titlebar is not clipped off when exit fullscreen
- Maximize VS Code window
- Press F11 or Ctrl+K Z twice to enter/exit full screen.
- Verify titlebar is not cropped
- Verify there is no rendering lag with custom titlebar
-
linux:
- Verify application launches successfully with the following install flavors on any of the minimum supported distro version described in https://code.visualstudio.com/docs/supporting/requirements#_platforms
- Snap
- Deb
- RPM
- Verify application launches successfully with the following install flavors on any of the minimum supported distro version described in https://code.visualstudio.com/docs/supporting/requirements#_platforms
-
All OS:
- Ensure reload operation does not break application features. In this version, we have a change in architecture were workbench process will be reused across reloads instead of launching a new process.
- In an active window instance of the application perform a reload either via
Developer: Reload Windowcommand or switch workspace in a window - Ensure the following works
- Search from UI
- Extension UI
- Syntax highlighting
- Searching a file via quick pick
- Try to perform reload in many other scenarios as well and see if any of the above UI break.
- In an active window instance of the application perform a reload either via
- Check out the
electron-16.x.ybranch locally and verify you can run out of sources, set a breakpoint and debug usingDeveloper: Toggle Developer Tools
- Ensure reload operation does not break application features. In this version, we have a change in architecture were workbench process will be reused across reloads instead of launching a new process.
Activity
weinand commentedon Jan 26, 2022
Robo (@deepak1556) Since I was running into this again...
In order to make native macOS tabs work in VS Code it is necessary to enable native tabs in macOS > Preferences > General > Prefer tabs: "always":