Sublime Forum

ST4: macOS: Assign to All Desktops not behaving correctly

#1

After assigning Sublime Text to “All Desktops”, when you launch the application again it won’t properly show up on all the desktops.

It will appear on a single desktop (see top of screenshot), and be “invisible”/unavailable on other desktops (see bottom of screenshot). If you then assign it to “This Desktop” or “None” and then back again to “All Desktops” it will then behave correctly. But the next launch of the application will revert to the incorrect behavior.

Are there any settings that I need to change at the application or system level to fix this issue?

Thanks…

Application details:
Sublime Text : Stable Channel, Build 4126

System details:
macOS Monterey 12.2

Misson Control settings:
“Automatically rearrange Spaces based on most recent use”: Disabled
“When switching to an application, switch to a Space with open windows for the application”: Enabled
“Group windows by application”: Enabled
“Displays have separate Spaces”: Enabled

Screenshot:

0 Likes

#2

As a first step, I would try turning off this setting, which defaults to being turned on; possibly it gets in the way here:

	// remember_workspace makes Sublime Text remember what workspace each window
	// was in last. When set to false the OS left to determine which workspace
	// a window is opened in. This doesn't work with Wayland.
	"remember_workspace": true,
0 Likes

#3

Thanks, that seemed to address the issue.

Where is that setting documented? When I bring up the settings, I don’t see it in the default “Preferences.sublime-settings”.

Want to be sure there aren’t other settings of which I may be unaware.

Thanks again for your help.

0 Likes

#4

It should be in the default settings that you see in the left hand pane when you use Preferences > Settings. If you don’t see it listed there, you most likely have an override (accidental or otherwise) on the default preferences.

You can check by using Preferences > Browse Packages to open the Packages folder; if you see a folder named Default, anything that’s inside of it is overriding the actual content that’s shipped with Sublime.

That sort of thing is fraught with problems in general (for example, if you do it to a sublime-keymap file in there and you were previously using ST3, enter won’t work in some places as a result).

1 Like

#5

Thanks, yet again.

You were correct; there was a Default folder with a single Preferences.sublime-settings file in there. Looks like it was a carryover from noodling I had done with my ST3 setup.

I appreciate the quick and concise help.

Cheers!

1 Like