Skip to content

[Problem/Bug]: In some circonstances the pdf viewer displays greyed buttons and no scroll bar #5519

@jebihug

Description

@jebihug

What happened?

Sometimes the pdf viewer toolbar displays greyed / disabled buttons, no scroll bars and number of pages 0 / 0

Image

Sometimes immediately after the first navigation, sometimes after a while.

Importance

Moderate. My app's user experience is affected, but still usable.

Runtime Channel

Stable release (WebView2 Runtime)

Runtime Version

144.0.3719.115

SDK Version

1.0.3719.77

Framework

Win32

Operating System

Windows 11

OS Version

No response

Repro steps

Reproduced with fixed runtime of WebViewRuntime versions (x86 and x64):
144.0.3719.115
144.0.3719.104
144.0.3719.93
143.0.3650.139
NOT reproduced with versions: 141.*
NOT reproduced with shared runtimes

SDK: 3796.0 and 3719.77

Step to reproduced with WebView2APISample

  1. copie the fixed WebViewRunTime (corresponding to the platform x86 / x64) to the platform Release directory of the WebView2APISample
    ex:
    ...WebView2Samples-main\SampleApps\WebView2APISample\Release\x86
    ...WebView2Samples-main\SampleApps\WebView2APISample\Release\x64

  2. Modify void AppWindow::InitializeWebView() so WebView use the fixed WebViewRuntime by setting the subFolder parameter
    ex: subFolder = L"Microsoft.WebView2.FixedVersionRuntime.144.0.3719.115.x64";

  3. Launch

  4. Past the url: https://www.adobe.com/support/products/enterprise/knowledgecenter/media/c4611_sample_explain.pdf
    The bug is reproductible with some pdf but not all. It can be reproduced with this one.

  5. Click "Go" button

  6. Wait for at least 10 minutes (11 minutes is good)

  7. Press F5

  8. The pdf is reloaded and displayed but :

  • there is no scrollbar
  • toolbar buttons of the pdf viewer are greyed / disabled
  • number of page is 0 / 0
  1. If the issue is not reproduced the first time, close the application and try again.
    Sometimes it happens immediately, after the first navigation, sometimes after waiting at least 10 minutes.

Repros in Edge Browser

No, issue does not reproduce in the corresponding Edge version

Regression

Regression in newer Runtime

Last working version (if regression)

141

Metadata

Metadata

Assignees

Labels

bugSomething isn't workingregressionSomething used to work but doesn't anymore

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions