-
Notifications
You must be signed in to change notification settings - Fork 7.6k
Mac: Brackets window opens on monitor with focus #10755
Comments
@redmunds I will try to repro this and dig more into it. |
This may be a fact of life on Yosemite as I see it happen in other apps, too. |
@redmunds Good catch! 😄 I am able to repro this too. I tried with some Apple apps(iTunes, safari) and non Apple apps(Chrome, Kontakt). The above behaviour is specific to Brackets. I will debug and figure out why the window is getting moved to the active screen. |
@redmunds Is this a regression in 1.2, or has it been around for a while? That has a bearing on priority... |
I also see this in Brackets 1.0, so not a new regression. |
@redmunds I could debug the problem and the problem lies in the following code in
and
On substituting the first part with
and disabling the |
From @dsotirescu in #10669: "I reproduced your issue. In my case Brackets doesn't always open on the focused monitor, 50% of the time. I have 2 external monitors, thunderbolt + 4K monitor by Dell. Running on latest Mac Book Pro." |
I am seeing this with Brackets 1.2 on Yosemite. I have a MacBook Pro with a secondary monitor.
It doesn't matter which monitor Brackets window was positioned in when I shutdown, Brackets is opened in whichever monitor has focus. Works either way between laptop monitor and external monitor.
The text was updated successfully, but these errors were encountered: