osr: win: Image not redrawing/resizing after navigation
Opened this issue · 4 comments
Describe the bug
When using OSR on Windows 11 the image isn't redrawn after navigating
Have to manually resize the window for the image to redraw.
To Reproduce
Steps to reproduce the behavior:
- Launch
cefclient.exe --off-screen-rendering-enabled --enable-gpu
- Click
I'm Feeling luck
on google home page - Resize the window larger
- Navigate back
- Observe the previously loaded web page isn't resized to match the window
Expected behavior
Image should resize to match that of the window when navigating
Screenshots
Versions (please complete the following information):
- OS: Windows 11
- CEF Version: 130.1.9+gfc42567+chromium-130.0.6723.70
Additional context
Yes using cef_binary_130.1.9+gfc42567+chromium-130.0.6723.70_windows64_client
cefclient.exe --off-screen-rendering-enabled --enable-gpu
Does the problem reproduce with Google Chrome at the same version?
Appears to be OSR specific
Add any other context about the problem here.
Having lots of different rendering issues in CefSharp
since upgrading to 127
when using OSR. This is the first one that I can reliably reproduce with cefclient
This only reproduces when running with --enable-gpu
? How about with --shared-texture-enabled
?
This only reproduces when running with
--enable-gpu
? How about with--shared-texture-enabled
?
I'll try test on the weekend and report back
This only reproduces when running with
--enable-gpu
?
No, reproduces without it.
cefclient.exe --off-screen-rendering-enabled
How about with
--shared-texture-enabled
?
I think fundamentally it reproduces, just a slightly different visual result. It looks like the texture is stretched to fit the size, fonts become blurry, mouse is no longer mapped to correct coordinates.
cefclient.exe --off-screen-rendering-enabled --shared-texture-enabled
Did some resizing and I can get something like this (this is fullscreen on FHD display):
Thanks for the update.