Prevent macOS window.level floating from showing on all screens in a multi monitor setup?

I am using the window.level set to .floating as described here:

https://developer.apple.com/documentation/appkit/nswindow/level

The setting itself works okay. However, in a multi monitor setup, the floating window is appearing on both the screens.

How can I prevent this? My users report that before macOS Sonoma, this used to not happen. Has this behaviour changed? How can I revert back to the old behaviour?

Answered by DTS Engineer in 814733022

Hello. Thanks for writing.

Our engineering teams need to investigate this issue, as resolution may involve changes to Apple's software. I'd greatly appreciate it if you could open a bug report, include a small Xcode project and some directions that can be used to reproduce the problem, a sysdiagnose report, and post the FB number here once you do.

Here are the directions for creating a sysdiagnose report: https://developer.apple.com/bug-reporting/profiles-and-logs/?name=sysdiagnose Please use the sysdiagnose for macOS directions.

Bug Reporting: How and Why? has tips on creating your bug report.

Hello. Thanks for writing.

Our engineering teams need to investigate this issue, as resolution may involve changes to Apple's software. I'd greatly appreciate it if you could open a bug report, include a small Xcode project and some directions that can be used to reproduce the problem, a sysdiagnose report, and post the FB number here once you do.

Here are the directions for creating a sysdiagnose report: https://developer.apple.com/bug-reporting/profiles-and-logs/?name=sysdiagnose Please use the sysdiagnose for macOS directions.

Bug Reporting: How and Why? has tips on creating your bug report.

Prevent macOS window.level floating from showing on all screens in a multi monitor setup?
 
 
Q