OS tabs cause strange issues when clicking or navigating via key bindings
Description of the bug
When I open a new OS tab for another project, if I click back to the previous tab or use the key binding to move between them, the tabs themselves become invisible (the space for them is preserved). If I click anywhere in the window again, the whole window disappears. The only way to get it to reappear is to switch to another application and then switch back. However, it is impossible to switch back to the other tab, so Sublime must be quit in order to reset it.
Steps to reproduce
- Open Sublime.
- Open a new OS tab.
- Click the tab for the initial window.
Expected behavior
The initial tab should be shown.
Actual behavior
The whole window disappears.
Sublime Text build number
4130
Operating system & version
macOS 11.6.1
(Linux) Desktop environment and/or window manager
No response
Additional information
No response
OpenGL context information
No response
https://user-images.githubusercontent.com/2748981/160037356-7f51ee21-bac1-4e2d-8bd3-613759abe667.mov
I'm unable to reproduce on macOS 12.2.1.
Maybe it is just affecting macOS 11.6?
https://user-images.githubusercontent.com/7152423/160116969-9a6408f9-eb76-4c63-8e7f-33b04fdbb41f.mp4
@BenjaminSchaaf were you able to confirm the issue or do you need more information from me?
I don't have a mac with 11.6 handy so no I haven't confirmed the issue yet.
Any update on this? It makes OS tabs unusable, so if this is released in a stable version it will break for everyone using macOS v11.
This is still broken in build 4134.
The same problem. Sublime Text 4 (4134) MacOS 12.4
(Could reproduce on macOS 12.5 and) Can reproduce on macOS 12.6:
- Open ST
- Add folder to sidebar
- Window > New Tab (native macOS)
- Add folder to sidebar for second tab
- click first tab
- Tab bar with native tabs goes blank
- sidebar for second tab still shown, although it should've changed
- click second tab (or ... in native tab bar where it should be)
- ST is hidden
- bringing up ST from the dock fixes presentation of app (i.e. second native tab selected, sidebar (... still ...) shows second folder, native tabs shown)
... if you repeat switching to first tab, then second tab, ST stays hidden even when clicking the app icon in the dock unless you right-click it
This is still broken in build 4139, which is a stable release candidate.
Seems like a regression, if I recall correctly this was fine with ST4116. Not sure which build broke it.
It would have been around build 4130 since I used to use tabs every day and would have noticed it immediately.
Does this still happen in build 4140?
I can confirm it is now working correctly in build 4140. Thank you!
This was working at first, but I just noticed that it is no longer creating the OS tab. I have to merge the windows after opening a new window. If there are already two tabs it works fine though.
It seems to be an issue with the Adaptive theme. They apparently have a fix for the next build.
Fixed in build 4141.