Sublime Forum

Sublime Text 4 (dev) opens multiple windows

#1

When I select multiple files in file explorer and open them from the context menu option “Open with Sublime Text”, sublime text opens them in multiple windows instead of opening them all in a single window.

Example:

  • 3 files selected in file explorer (any type of text files)
  • right click > select “Open with Sublime Text”
    Result:
  • Sublime opens 2 new windows
  • 2 files opened in the first window
  • 1 file opened in the second window

I did NOT have this behavior with ST3!
Is this as bug on the new ST4? (b4098)

If I drag the files from file explorer to an already opened window of ST4, all works as expected.

0 Likes

#2

Can reproduce that on Windows 10 and created an issue for it at https://github.com/sublimehq/sublime_text/issues

0 Likes

#3

ST4 build 4103 is supposed to fix this but it doesn’t!

Only if I already have one ST4 window opened, all files open in that window. (are added to an already existing window)

But if I have no ST4 windows running, and open multiple files (ex.: 3, 4 or 5…) via File Explorer right context menu > Open with Sublime Text, multiple ST4 windows are created and some files go to one window, some other windows get only one file… the final result it’s somewhat random actually.

0 Likes

#4

You may want to report any new behaviors you see over on this issue https://github.com/sublimehq/sublime_text/issues/4008

0 Likes

#5

Can’t, I have no Github account, and I’m not interested in creating one.

0 Likes

#6

I have put a note of it in that issue.

0 Likes

#7

Thank you very much. :slight_smile:

1 Like

#8

This seems to be fixed on build 4105.
Thank you.

0 Likes