PDF Viewer in 53 does not work in WPF application
###Bug Report
-
What version of the product are you using? -53
-
What architecture x86 or x64?
- Either
-
On what operating system?
- Win7
-
Are you using
WinForms,WPForOffScreen?- Wpf
-
What steps will reproduce the problem?
-
Download and compile the 'minimal' example: https://github.com/cefsharp/CefSharp.MinimalExample
-
Set the 'Address' property in the MainWindow.xaml to point to a pdf file
(This is the only code change I have made to this example)
<wpf:ChromiumWebBrowser Grid.Row="0"
x:Name="Browser"
Address="http://www.cbu.edu.zm/downloads/pdf-sample.pdf" />
- Re-compile and run
- What is the expected output? What do you see instead?
The PDF document does not materialize until the Wpf app is re-sized or maximized.
Once you do re-size, the PDF document becomes visible, but you cannot use any of the controls within it without ALSO doing an additional resize action eg + / - / use the scroll bar etc.
- Please provide any additional information below.
Seems very similar to a previous issue raised and closed:
https://github.com/cefsharp/CefSharp/issues/1697
- Does this problem also occur in the
CefTestApp from http://opensource.spotify.com/cefbuilds/index.html (http://cefbuilds.com for older version)?
This site is currently blocked by my employer (lumps the spotify bit in with 'Music') but I will try to have a look when I get the chance.
I have the same issue. It also seems to work (but with very poor performance) if the dev tools are visible (browser.ShowDevTools();)
Hi Marc thanks for your input do you know of a version that does not have this problem in wpf?
On Thursday, November 10, 2016, Marc Schleeweiß [email protected] wrote:
I have the same issue. It also seems to work (but with very poor performance) if the dev tools are visible (browser.ShowDevTools();)
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/cefsharp/CefSharp/issues/1858#issuecomment-259674977, or mute the thread https://github.com/notifications/unsubscribe-auth/AD9liAkNfmk7SG7OoJK-7_SObRlOwr1Kks5q8woUgaJpZM4Ktk24 .
Duplicate of #1799