Closed cparish312 closed 1 month ago
Clearly I'm dense- can you attempt to explain the issue a second time / ramifications of the above?
Haha yeah no worries!
The main result of the bug is when a external monitor is in full screen mode, the contents of that monitor will not be captured even if the active application is the one on the monitor. The below screenshot is the result of fullscreening the firefox window on the external monitor. The Active Application is still firefox, but the display id being recorded is now 1 (which is the main monitor). Leaving fullscreen immediately fixes the isssue.
It seems like this is due to a strange behavior of NSScreen.main?
.
I'm thinking a robust solution would be to just take the display that the users mouse is currently on. I believe that is rewind's approach.
The display id is 1 and the main monitor screen is captured when the external monitor is in fullscreen. The Active Application is still the correct application.