I'm running CEF 3.3163.1671.g700dc25 and have run into a problem. I'm wondering if anyone has experience with this or has a work-around.
Basically, when I enter full screen mode (on a Mac), I stop receiving drag and drop events. Specifically, it happens when I run this api to enter full screen mode:
self.mContentView = [(AppDelegate *)[[NSApplication sharedApplication] delegate] window].contentView;
NSApplicationPresentationOptions options =
NSApplicationPresentationDisableAppleMenu |
NSApplicationPresentationDisableForceQuit |
NSApplicationPresentationDisableHideApplication |
NSApplicationPresentationDisableProcessSwitching |
NSApplicationPresentationDisableSessionTermination |
NSApplicationPresentationHideDock |
NSApplicationPresentationHideMenuBar;
[self.mContentView enterFullScreenMode:[NSScreen mainScreen] withOptions:@{NSFullScreenModeApplicationPresentationOptions : @(options) }];
After that, I don't see any calls to the OnDragEnter handler. If I simply do
[self.mContentView enterFullScreenMode:[NSScreen mainScreen] withOptions:nil];
drag and drop still works.
I feel like I'm missing something obvious. Any ideas on how I can debug this would be appreciated as well.