sublime-goto-window icon indicating copy to clipboard operation
sublime-goto-window copied to clipboard

Does not work in full screen mode

Open adsteel opened this issue 10 years ago • 10 comments

Thanks for creating this! Does not work in full screen mode, however. The option to select additional windows still comes up, but when those windows are selected the focus does not change.

To replicate:

  1. Open two windows in sublime text (e.g. $ cd /project && subl .)
  2. Enter full screen mode on one or both
  3. Attempt to switch between windows

adsteel avatar Oct 01 '15 20:10 adsteel

I'm aware of this, but I don't think there is anything that can be done about it. It is either a limitation in OS X or in Sublime Text

ccampbell avatar Oct 01 '15 20:10 ccampbell

I've managed to fix this on OS X by using applescript only to switch between windows: https://github.com/vanmik/sublime-goto-window/commit/c8f15c9d26d9805bcf5345fd6c72301ca122efea

vanmik avatar Dec 20 '15 04:12 vanmik

Hi @vanmik, thanks for your effort. Is there anything more needed to make it work? Both in regular and full screen mode, the only thing it does for me is move the cursor to the beginning of the file. (Using SublimeText 3103 on OS X 10.11.3).

jaynetics avatar Feb 12 '16 09:02 jaynetics

@janosch-x current version has a limitation: you cannot switch to window with active "untitled" file, maybe that's your case. Also, make sure Sublime Text has permission to run applescript (System Preferences -> Security & Privacy -> Accessibility -> Sublime Text)

vanmik avatar Feb 12 '16 09:02 vanmik

@vanmik I've added the permission and made sure that I have real files active, but that didn't help. I'm using HyperSwitch for now, but let me know if I can help you debug.

jaynetics avatar Feb 12 '16 13:02 jaynetics

Can confirm don't work in Ubuntu 15.10 with ST3 3109 even with the fix in #7 . Both fullscreen and distractionfree mode.

Grokzen avatar Apr 02 '16 13:04 Grokzen

Quick note (I know this isn't an ultimate solution); if you're running macOS Sierra...

  1. Open directory/project
  2. Fullscreen project/window
  3. Command + O (open another directory)
  4. macOS tabs should show up on the top (not Sublime tabs)

Now switching between those projects with this plugin (Command + Shift + O) should work! Beautiful!

voltechs avatar Dec 12 '16 22:12 voltechs

@vanmik is there any problem with your version?

franciscolourenco avatar Mar 22 '17 00:03 franciscolourenco

Its working for me in fullscreen on Sierra

franciscolourenco avatar Mar 24 '17 22:03 franciscolourenco

There is still an issue though, if you have more than one window full screened. As I noted above, that will work between macOS native tabs within one full screened window, but not between multiple full screened windows.

voltechs avatar Nov 13 '18 16:11 voltechs