MicrosoftEdge / MicrosoftEdge/WebView2Feedback
Switching between single screen and multi screen RDP on high DPI causes black window and unresponsive machine
Nobody has claimed this yet.
- 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.
- Connect to windows machine with OSX RDP (single screen) with "Optimize for Retina Displays" turned on.
- Open a number of instances of a WPF app each one navigated to different url.
- Disconnect from RDP and reconnect to same machine from dual screen setup ("Optimize for Retina Displays" turned on)
- 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.
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- 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