Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

JS dialogs position broken in Webview2 Runtime 118.0.2081.0 canary #3763

Closed
mikeduglas opened this issue Sep 5, 2023 · 6 comments
Closed
Assignees
Labels
bug Something isn't working tracked We are tracking this work internally.

Comments

@mikeduglas
Copy link

mikeduglas commented Sep 5, 2023

Description
The javascript dialogs like alert('Hello!') and print dialog called from context menu "Print" are displayed out of the host Webview2 control.

Version
SDK: 1.0.2065-prerelease
Runtime: 118.0.2081.0 canary
Framework: WinForms
OS: Win11

Regression
Was this working before but has regressed? yes
If yes, what version did this last work on? 116.0.1938.69 (evergreen)

Repro Steps
Open a page, in context menu select Print, you'll see that Print dialog window appears partially visible (I guess only right half of the dialog is visible).
Or open DevTools console and call alert('Hello') - the dialog is partially visible.

Screenshots
WV2_BrokenPrintDialog

Additional context

AB#46469526

@mikeduglas mikeduglas added the bug Something isn't working label Sep 5, 2023
@mikeduglas
Copy link
Author

118.0.2083.0 canary - same issue.

@jacekzpl
Copy link

jacekzpl commented Sep 7, 2023

The same problem - the center of alert dialog appears in the top left corner of wpf window

WPF
SDK 1.0.1988-prerelease
Canary 118.0.2085.0

@tofuandeve
Copy link
Contributor

Hi, I am able to repro this issue, I didn't see this on 118.0.2062 but it repros in 118.0.2081. Opening a bug for this.

Thanks for reporting this issue. We'll keep you updated on the status!

@tofuandeve tofuandeve added the tracked We are tracking this work internally. label Sep 8, 2023
@fabiorocha fabiorocha assigned monica-ch and dianaqu and unassigned monica-ch Sep 11, 2023
@lezzi
Copy link

lezzi commented Sep 18, 2023

It also affects the built-in dialog of opening an external app link (tested on Zoom using the Canary 119.0.2108.0).

image

@dianaqu
Copy link
Contributor

dianaqu commented Sep 26, 2023

We have a fix checked in. We will update again when it reached corresponding channel.

@dianaqu
Copy link
Contributor

dianaqu commented Sep 27, 2023

Most recent Canary, Dev already have the fix. For Beta, starting from 118.0.2088.19 will include the fix

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working tracked We are tracking this work internally.
Projects
None yet
Development

No branches or pull requests

9 participants