CEF OSR Linux javascript image becomes gray after interactio

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.

CEF OSR Linux javascript image becomes gray after interactio

Postby Scurry » Wed Sep 06, 2023 9:39 am

Hello,
I'm having issue with CEF OSR Linux which is running under Wayland and embedded inside Flutter app.
So issue looks the same as viewtopic.php?f=6&t=18848, but javascript part is shown fine till first interaction, then it becomes gray.
Screenshot from 2023-09-06 17-16-35.png
Screenshot from 2023-09-06 17-16-35.png (213.31 KiB) Viewed 1328 times

After any interaction with that map
Screenshot from 2023-09-06 17-24-03.png
Screenshot from 2023-09-06 17-24-03.png (9.63 KiB) Viewed 1328 times

Same applies to captcha
Screenshot from 2023-09-06 17-31-49.png
Screenshot from 2023-09-06 17-31-49.png (9.9 KiB) Viewed 1328 times


First I thought it's popup issue or wayland, but seems like it's only some issue with javascript or something else?.

On cefclient with osr it works, same applies to cef simple with ozone-platform=wayland.

I also mentioned that for example if I go to hCaptcha web - there it works fine.
There's no errors in console with Debug level as well no errors in devTools console.

Cef binaries version cef_binary_115.3.13+g749b4d4+chromium-115.0.5790.171_
Scurry
Techie
 
Posts: 26
Joined: Tue Nov 15, 2022 10:17 am

Re: CEF OSR Linux javascript image becomes gray after intera

Postby Scurry » Thu Sep 07, 2023 5:18 am

So as was mentioned here viewtopic.php?f=6&t=18848 it was really nullptr deref, adding nullptr check before using MainFrame resolved issue.
Scurry
Techie
 
Posts: 26
Joined: Tue Nov 15, 2022 10:17 am


Return to Support Forum

Who is online

Users browsing this forum: No registered users and 214 guests