MicrosoftEdge / WebView2Feedback

Feedback and discussions about Microsoft Edge WebView2
https://aka.ms/webview2
452 stars 55 forks source link

[Problem/Bug]: Maximized WinForms WebView2 app can't be moved to another monitor when run over Citrix #4927

Closed pushkin- closed 5 hours ago

pushkin- commented 5 hours ago

What happened?

If you launch a WebView2 WinForms app with Citrix and maximize it, and then drag the titlebar from one monitor to another, the app snaps back to the first monitor. Can be reprod with the WinForms sample app published by Microsoft.

monitor_issue

Importance

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

Runtime Channel

Stable release (WebView2 Runtime)

Runtime Version

130.0.3849.80

SDK Version

1.0.2535.41

Framework

Winforms

Operating System

Windows 11

OS Version

22631.4317

Repro steps

  1. start webview2 winforms sample app https://github.com/MicrosoftEdge/WebView2Samples/tree/main/SampleApps/WebView2WindowsFormsBrowser
  2. maximize it on monitor
  3. drag it to another monitor (snap it to the top)
  4. notice it gets sent back to the first monitor

Server is Windows Server 2022. Citrix: XenApp 2402

Repros in Edge Browser

No, issue does not reproduce in the corresponding Edge version

Regression

No, this never worked

Last working version (if regression)

No response

pushkin- commented 5 hours ago

actually, I can repro with a basic WinForms app, without WebView2, so not a webview2 issue