New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Black out window triggers makeKeyWindow warning #4693
Comments
This commit will change the method blackOutOtherMonitors in the class MainWindowController to call orderFront instead of makeKeyAndOrderFront.
AnalysisThe warning is triggered by the following call to makeKeyAndOrderFront: iina/iina/MainWindowController.swift Line 2577 in aa5a415
From the documentation for canBecomeKey:
The window used to black out a monitor does not meet these requirements and therefore can not become a key window. Debugging confirmed FixingThe commit in the pull request changes the method |
This commit will change the method blackOutOtherMonitors in the class MainWindowController to call orderFront instead of makeKeyAndOrderFront.
System and IINA version:
Expected behavior:
When the IINA setting
Black out other monitors while in full screen
enabled no warnings are emitted.Actual behavior:
When runing IINA under Xcode with setting
Black out other monitors while in full screen
enabled and using multiple monitors the following warning is seen the Xcode console after entering full screen mode:Steps to reproduce:
Start IINA runing under Xcode
Click on
Settings…
under theIINA
menuThe settings panel appears
In the
Behavior
section look for theBlack out other monitors while in full screen
settingEnable that setting
Start playing a video
Click on the menu item
Enter Full Screen
under theVideo
menuLook for the warning in the Xcode console
MPV does not have this problem.
How often does this happen?
Most of the time.
The text was updated successfully, but these errors were encountered: