dotnet / dotnet/wpf

System.Windows.Media.Imaging.RenderTargetBitmap.Render does not render from remote desktop

Open
#3,765 6 comments 5 reactions 0 assignees View on GitHub
.NET Framework
Dominant language
C#
Stars
7.7k
Forks
1.3k
Avg merge
1d 11h
Merged PRs (30d)
61

Description

_This issue has been moved from [a ticket on Developer Community](https://developercommunity2.visualstudio.com/t/SystemWindowsMediaImagingRenderTarge/914276)._

---

I am not sure but I think the System.Windows.Media.Imaging.RenderTargetBitmap.Render method does not render content of System.Windows.Media.DrawingVisual object on System.Windows.Media.Imaging.RenderTargetBitmap if application is running thru a remote desktop session and the user disconnects from the remote desktop while application is running.

The problem can be reproduced using the following steps:

1. Project file attached rdptestwpf-1.zip


2. Open project in Visual Studio 2019 in local computer with Windows 10.


3. Compile project.


4. Connect to the local computer via remote session.


5. Start project in Visual Studio.


6. Wait while progress will going and close the remote session.


7. Login to the local session and see image files in project's output path. The "first" group of images will contain white rectangle with green line.

The "second" group of images will contain black rectangle (empty content). The "second" group of images was created when user closed the remote session.

---
### Original Comments

#### Feedback Bot on 2/12/2020, 10:57 AM:

We have directed your feedback to the appropriate engineering team for further evaluation. The team will review the feedback and notify you about the next steps.

#### Feedback Bot on 3/20/2020, 10:28 AM:

I have detected that for the last 35 days, this issue didn't have much product team activity and a very small amount of new votes or comments. Based on this, its severity, and affected area, it’s my experience that this issue is very unlikely to be fixed.

---
### Original Solutions
(no solutions)

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.