Jump to content

'Active screen' bug


capripot
 Share

Recommended Posts

Here is the video:

 

This screen is the attached screen connected with DisplayPort to a MacBook Pro 13" early 2015,

defined as second screen in System Preferences > Display > Arrangment

When the mouse stops, I hit the combinaison of keys to show Alfred, but it shows on the main screen even if the active window is the fullscreen one under the mouse on second screen.

It happens with any application in fullscreen, here I tried with iTerm and iTunes

 

Most of the time, I use the keyboard to switch from one app to the other, so the mouse stays on main screen but active windows is on second screen, attained with cmd+tab, thats why I can't use "mouse" option instead.

Edited by capripot
Link to comment
Share on other sites

Unfortunately, this is a bug in OS X's NSScreen API... I've attached a screenshot of the API call which Alfred uses, which doesn't return the correct screen when using full screen apps.

 

Apple doesn't have a good track record of fixing bugs like this between major releases, so I guess it's fingers crossed in this case!

 

Cheers,

Andrew

 

NSScreen%20mainScreen.png

Link to comment
Share on other sites

  • 5 months later...

I was wondering, since Spotlight get it right,

 

maybe there is another way to get the active screen right? What do you think?

 

 

It looks like Spotlight just shows on the screen the mouse pointer is on - Alfred also has this mode: "Show Alfred on mouse screen" in the Appearance > Options.

 

Cheers,

Andrew

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...