MicrosoftEdge / MicrosoftEdge/WebView2Feedback

Switching between single screen and multi screen RDP on high DPI causes black window and unresponsive machine

Open
#1,212 13 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug priority-low tracked
Dominant language
PowerShell
Stars
526
Forks
67
PR merge metrics
No merged PRs in 30d

Description

Description
When opening some WPF apps (each containing single instance WebView component) on one machine (single screen) and then connecting from another machine (dual screen) over RDP in high DPI, when launching a new instance it results in a black window and the whole machine becomes unresponsive (dragging windows visual artefacts etc.).

Version
SDK: 1.0.774.44
Runtime: Edge 89
Framework: WPF
OS: Win10

Repro Steps
I can repro easily every time using mac OSX remote desktop.

  1. Connect to windows machine with OSX RDP (single screen) with "Optimize for Retina Displays" turned on.
  2. Open a number of instances of a WPF app each one navigated to different url.
  3. Disconnect from RDP and reconnect to same machine from dual screen setup ("Optimize for Retina Displays" turned on)
  4. Launch a new instance of the WPF app the window is black and whole machine becomes unresponsive (dragging windows visual artefacts etc.) until that process is killed.

n.b. Does not happen with "Optimize for Retina Displays" turned off (i.e. standard DPI).

A far from ideal workaround I have at the moment is to disable dpiAware in WPF manifest but results in a blurry view and obviously cannot get high DPI support.

AB#32898337

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Reproduce the WPF app scenario using macOS RDP, switching from a single-screen to dual-screen high-DPI session with Optimize for Retina Displays enabled. Compare the behavior with standard DPI and the dpiAware-disabled workaround; done means a new WebView instance opens without a black window or making the machine unresponsive.

Written by the indexing model from the issue text.

Assessment

Domain
desktop, operating-systems
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.