Page visibility API

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.

Page visibility API

Postby charlieq » Tue Aug 29, 2017 9:59 pm

just wondering whether cef complies to page visibility API described @: https://developer.mozilla.org/en-US/docs/Web/API/Page_Visibility_API.
charlieq
Techie
 
Posts: 40
Joined: Mon Mar 20, 2017 9:50 pm

Re: Page visibility API

Postby magreenblatt » Wed Aug 30, 2017 7:03 am

The URL that you linked has an example. Did you try it?
magreenblatt
Site Admin
 
Posts: 12407
Joined: Fri May 29, 2009 6:57 pm

Re: Page visibility API

Postby charlieq » Wed Aug 30, 2017 8:27 pm

I will. Thank you for response.
charlieq
Techie
 
Posts: 40
Joined: Mon Mar 20, 2017 9:50 pm

Re: Page visibility API

Postby objectOlolo » Wed Jan 20, 2021 8:04 am

There is is another example https://www.html5rocks.com/en/tutorials ... ity/intro/
and in cef 87 sample client works only window minimized case, but works fine in chromium, there was bug in chromium but it's solved in version 86.
Cases that doesn't works in cef, but works in chromium:
Another window maximized - expected visibleState hidden / actuall no reaction
Another window full cover browser window (works perfectly with explorer window) - expected visibleState hidden / actuall no reaction
Last edited by objectOlolo on Thu Jan 21, 2021 6:56 am, edited 1 time in total.
objectOlolo
Newbie
 
Posts: 7
Joined: Wed Apr 29, 2020 11:27 am

Re: Page visibility API

Postby magreenblatt » Wed Jan 20, 2021 1:51 pm

We don’t currently support occlusion detection in CEF. This would be very difficult to get working with a native (non-Views) top-level window.
magreenblatt
Site Admin
 
Posts: 12407
Joined: Fri May 29, 2009 6:57 pm

Re: Page visibility API

Postby objectOlolo » Thu Jan 21, 2021 7:05 am

Could you please clarify or share some documentation or thoughts.
I though that CEF is kind of wrapper with API around chromium, so how cef can has issues with already working functinality undercover?
objectOlolo
Newbie
 
Posts: 7
Joined: Wed Apr 29, 2020 11:27 am


Return to Support Forum

Who is online

Users browsing this forum: No registered users and 43 guests