Skip to content
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

osr : Browser not correctly refreshing on Resize in CEF 129 #3826

Open
Hethsron opened this issue Nov 8, 2024 · 4 comments
Open

osr : Browser not correctly refreshing on Resize in CEF 129 #3826

Hethsron opened this issue Nov 8, 2024 · 4 comments
Labels
bug Bug report osr Related to off-screen rendering windows Windows platform

Comments

@Hethsron
Copy link

Hethsron commented Nov 8, 2024

Describe the bug
The bug was clearly described in the following post and the following issue

Screenshots
For more details, see the video

Expected behavior
When the window size is resized, the view should normally be refreshed.

Versions

  • OS: Windows 10, MacOS
  • CEF Version: 129.0.6668.90
@Hethsron Hethsron added the bug Bug report label Nov 8, 2024
@Hethsron Hethsron changed the title osr : not correctly refreshing on Resize in CEF 129 osr : Browser not correctly refreshing on Resize in CEF 129 Nov 8, 2024
@magreenblatt
Copy link
Collaborator

Duplicate of #3822.

@magreenblatt magreenblatt closed this as not planned Won't fix, can't repro, duplicate, stale Nov 8, 2024
@magreenblatt
Copy link
Collaborator

You say:

with the CEF sample cefclient --off-screen-rendering-enabled --multi-threaded-message-loop
it does not reproduce the issue because CefRefPtr::WasResized is still called in the CEF_UIT thread so there is no task posted, the work is executed synchronuously.

This suggests that your timing of calling WasResized and returning updated values from GetViewRect may be incorrect. You need to make sure that GetViewRect is returning the correct value when WasResized actually executes.

@Hethsron
Copy link
Author

@magreenblatt Thanks for your quick answer. But after a huge debug session in our side, there is something strange which happens in cef, you can reproduice easily with your cefclient. (see https://magpcss.org/ceforum/viewtopic.php?f=6&t=20038&p=56405&hilit=CEF129#p56405)

@magreenblatt
Copy link
Collaborator

Reopening this issue as it seems unrelated to navigation.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Bug report osr Related to off-screen rendering windows Windows platform
Projects
None yet
Development

No branches or pull requests

2 participants