sublimehq / sublime_text

Issue tracker for Sublime Text
https://www.sublimetext.com
800 stars 35 forks source link

Not remembering tabs on startup (4123) #5083

Open mhenrixon opened 2 years ago

mhenrixon commented 2 years ago

Description of the bug

For quite some time now, I have had "create_window_at_startup": false, set in my configuration and every time I opened Sublime Text it remembered my open tabs.

Since this morning when I installed 4121 ST opens my tabs as separate windows instead.

Steps to reproduce

  1. Start ST and create a number of new tabs (open a couple of recent projects)
  2. Close ST
  3. Open ST again (tabs are not remembered and instead new windows are opened instead of every tab)

Expected behavior

I expect ST to remember my tab layout and open each project as a tab in the same window

Actual behavior

ST opens each previous tab as a separate window

Sublime Text build number

4123

Operating system & version

Mac OS 12.0.1

(Linux) Desktop environment and/or window manager

No response

Additional information

I tried "create_window_at_startup": true, but it behaves the same way regardless. It works to Merge Windows after startup but it is a little annoying to have to always to that. Feels like a regression due to:

  • macOS: Fixed window sometimes being restored on startup when "create_window_at_startup" is disabled

I have the following settings if that helps at all:

{
  "native_tabs": "system",
  "hot_exit": "never",
  "remember_full_screen": true,
  "remember_workspace": true,
  "remember_layout": true,
}

OpenGL context information

No response

BenjaminSchaaf commented 2 years ago

When you say tab are you referring to file tabs or native macOS window tabs?

mhenrixon commented 2 years ago

When you say tab are you referring to file tabs or native macOS window tabs?

I am using the system tabs as you can see in configuration at the bottom of the description. Does that answer your question?

BenjaminSchaaf commented 2 years ago

Note that "hot_exit": "never" isn't a valid setting and the default will be used instead. Unfortunately there's no easy fix for this issue, but if you always want all your windows to be tabbed you can use "native_tabs": "preferred".