Problem with PDF and layer

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.

Problem with PDF and layer

Postby piotrwl » Mon Jan 20, 2020 7:57 am

Hello!
I have a problem in a project that uses CEF.
The page it loads has support for certain functions on the layer launched from JavaScript.
When the PDF document is open underneath, the elements of the layer above the document are inactive, while the PDF underneath is activated.
This functionality works properly in IE, Chrome and Firefox.
What could be wrong?
Attachments
pdf.png
pdf.png (25.86 KiB) Viewed 8463 times
piotrwl
Techie
 
Posts: 10
Joined: Mon Jan 20, 2020 7:47 am

Re: Problem with PDF and layer

Postby magreenblatt » Mon Jan 20, 2020 12:48 pm

What OS and CEF version? Does the problem reproduce in Google Chrome or cefclient at the same version?
magreenblatt
Site Admin
 
Posts: 12409
Joined: Fri May 29, 2009 6:57 pm

Re: Problem with PDF and layer

Postby piotrwl » Mon Jan 20, 2020 3:48 pm

os: Windows, CEF: 75.1.14 (and previous too).
In Chrome not problem.
piotrwl
Techie
 
Posts: 10
Joined: Mon Jan 20, 2020 7:47 am

Re: Problem with PDF and layer

Postby magreenblatt » Mon Jan 20, 2020 3:59 pm

Please try a supported CEF version: https://bitbucket.org/chromiumembedded/ ... -supported
magreenblatt
Site Admin
 
Posts: 12409
Joined: Fri May 29, 2009 6:57 pm

Re: Problem with PDF and layer

Postby piotrwl » Tue Jan 21, 2020 7:31 am

Unfortunately, it's the same on version 79
piotrwl
Techie
 
Posts: 10
Joined: Mon Jan 20, 2020 7:47 am

Re: Problem with PDF and layer

Postby magreenblatt » Tue Jan 21, 2020 12:16 pm

Does the problem reproduce in cefclient at v79? Are you using windowed or off-screen rendering? Can you share a URL or sample HTML/JS file that reproduces the problem?
magreenblatt
Site Admin
 
Posts: 12409
Joined: Fri May 29, 2009 6:57 pm

Re: Problem with PDF and layer

Postby piotrwl » Wed Jan 22, 2020 7:28 am

Yes. The problem occurs in cefclient version 79.
I render in the window.
Sorry, but this is an intranet application and I have no way to provide sample HTML / JS code :(
piotrwl
Techie
 
Posts: 10
Joined: Mon Jan 20, 2020 7:47 am

Re: Problem with PDF and layer

Postby magreenblatt » Wed Jan 22, 2020 11:00 am

If you can make a simple reproduction case it would be worthwhile, otherwise we're unlikely to fix this issue.
magreenblatt
Site Admin
 
Posts: 12409
Joined: Fri May 29, 2009 6:57 pm

Re: Problem with PDF and layer

Postby piotrwl » Fri Jan 31, 2020 2:27 am

Attached is my example (simplified of course).
There is a format and the bottom has a PDF file loaded.
The user clicks on the function that shows the layer with the format loaded. Part of the form above the PDF is inactive in CEF - it works in Chrome.
Unfortunately, this is an old application and I cannot change its code.
Attachments
sample.zip
(4.99 KiB) Downloaded 585 times
piotrwl
Techie
 
Posts: 10
Joined: Mon Jan 20, 2020 7:47 am

Re: Problem with PDF and layer

Postby magreenblatt » Fri Jan 31, 2020 11:32 am

What, specifically, is the problem in the example that you provided? What steps reproduce that problem?
magreenblatt
Site Admin
 
Posts: 12409
Joined: Fri May 29, 2009 6:57 pm

Next

Return to Support Forum

Who is online

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