You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am using the WPF version of the GMap.Net nuget package (v 1.7.5) and am seeing a problem when I run my C# application on a computer that I connect to via Remote Desktop. This same issue I can see if I run the WPF demo application available here on GitHub.
The reproducer is as follows:
Build the WPF example provided in this repository.
Copy the executable and required binaries onto a machine that is connected to via Remote Desktop. (Or build local on that machine. The point is that the user needs to be controlling the GUI through Remote Desktop)
Add some markers to the map. Scroll the map, zoom, etc. (Everything will be fantastic.)
With the demo application still running, close the Remote Desktop connection.
Reconnect the remote desktop connection.
The demo application will still be running but all of the markers will either: (a) not be visible anymore or (b) when the map is scrolled, zoomed, etc. the markers will not move with the map.
As far as I can tell, the only way to fix the issue is to restart the application. This is a major issue for a project that I am working on as the users primarily use remote desktop for accessing machines that run our application.
The text was updated successfully, but these errors were encountered:
Some updates:
My work around attempts for this are as follows (both are really ugly):
(FAILED ATTEMPT) Add a GUI button to "re sync" the map artifacts. When it is pressed I clear all markers and re-add them.
(Success) Add a GUI button to "re sync" the map artifacts. When it is pressed I replace the GMapControl instance in question with a new one and set all of its properties to the same as the previous one.
The fact that the first workaround attempt did not work indicates that something in the GMapControl is getting corrupted as just "kicking" the map with new markers had no impact.
I am using the WPF version of the GMap.Net nuget package (v 1.7.5) and am seeing a problem when I run my C# application on a computer that I connect to via Remote Desktop. This same issue I can see if I run the WPF demo application available here on GitHub.
The reproducer is as follows:
As far as I can tell, the only way to fix the issue is to restart the application. This is a major issue for a project that I am working on as the users primarily use remote desktop for accessing machines that run our application.
The text was updated successfully, but these errors were encountered: