Some questions about CefClientHandler::SetScreenInfo

Having problems with building or using CEF's C/C++ APIs? This forum is here to help. Please do not post bug reports or feature requests here.

Some questions about CefClientHandler::SetScreenInfo

Postby SnailRocketMan » Thu Dec 08, 2022 3:19 am

1、Should NotifyScreenInfoChanged be called in CefClientHandler::SetScreenInfo?
2、Should the CefClientHandler::SetScreenInfo be called when the App is moved from one screen to another?

The problem I encountered, as shown in the figure below, was generated after upgrading the version of CEF from 96 to 97. When the App is moved from one screen to another, then maximize the app, if I don't call CefClientHandler::SetScreenInfo, this problem can be solved.

Before moving to another screen:
Before moving to another screen.jpg
Before moving to another screen.jpg (396.03 KiB) Viewed 2016 times


After moving to another screen:
After moving to another screen.jpg
After moving to another screen.jpg (219.97 KiB) Viewed 2016 times
Attachments
Before moving to another screen.jpg
Before moving to another screen.jpg (396.03 KiB) Viewed 2016 times
SnailRocketMan
Newbie
 
Posts: 2
Joined: Tue Sep 13, 2022 2:12 am

Return to Support Forum

Who is online

Users browsing this forum: Google [Bot] and 45 guests