Home Download Buy Blog Forum Support

Bug (API, OS X): focus_view() does not bring window to front

Bug (API, OS X): focus_view() does not bring window to front

Postby madevilgenius on Sat Jan 19, 2013 7:13 pm

Steps:

1. In a plugin or the console, do:
Code: Select all
other_window.focus_view(other_window.views()[0])

2. other_window will be apparently focused (the current view will be defocused), but it will not be in front, and for the user it appears that nothing has happened.
3. Alt-tab to another application.
4. Alt-tab back to Sublime Text.
5. oher_window will now be in front, and will have focus.

This bug prevents me from writing a particular plugin.
madevilgenius
 
Posts: 19
Joined: Tue Oct 11, 2011 6:51 pm

Return to Technical Support

Who is online

Users browsing this forum: Yahoo [Bot] and 18 guests