refresh problem using app over terminal server

Report VG.net problems here.

Moderators: Frank Hileman, Anne Szyjan

refresh problem using app over terminal server

Postby bartdeman » Sat Jun 20, 2009 12:44 am

Hello,

I am having problems related to the refreshing of the canvas. It seems that sometimes part of the canvas is not correctly refreshed. I see this behaviour when running on the server and accessing it through remote desktop. But the weird thing is that everything is ok when i run the app locally on my pc.

To illustrate:
this is how the canvas looks as it should be:
Image

and this is after clicking an element (a new element with the adornments is added then). You see the grey area behind the new element.
Image

I troubleshooted already for possible causes like the background of the added element, the opacity,... but did not find anything. Also i tried out different settings for the remote desktop connection (color depth, user experience settings).

Any idea what might cause this?
As a workaround, is there a way to 'force' a complete redraw of the visible area of the canvas?
bartdeman
 
Posts: 5
Joined: Mon Nov 05, 2007 8:10 am

Re: refresh problem using app over terminal server

Postby jfmopt » Fri Feb 19, 2010 2:21 pm

Frank already answered about that problem in this post:

viewtopic.php?f=1&t=514

According to Frank the issue is with the remote desktop's display driver, although I haven't yet seen this problem with another software.
jfmopt
 
Posts: 18
Joined: Thu Oct 11, 2007 10:07 am

Re: refresh problem using app over terminal server

Postby Frank Hileman » Fri Feb 19, 2010 3:06 pm

Hello,

Can you please send us a copy of the app that does this or some simple reproducible test? The area drawn in a different is the area drawn by VG.net to update the screen. Why is it a different color? It is surely a bug in the driver, but we would like to investigate and possibly to find a work-around. Please let us know as well what operating system is the client and server.

You can cause the Canvas to refresh by calling Canvas.Invalidate (it is a Control method). If that does nothing, we would like to investigate to ensure the problem is not in the backing bitmap. However there is no reason the backing bitmap would behave differently in a remote display, since it is not on the screen.

Regards,
User avatar
Frank Hileman
Site Admin
 
Posts: 1291
Joined: Sun Jul 25, 2004 8:16 pm
Location: California

Re: refresh problem using app over terminal server

Postby Frank Hileman » Fri Feb 19, 2010 3:39 pm

Hello,

Also if someone could determine if the VG.net sample "Animation.exe" also has the problem, we might be able to narrow it down. That is, is it always a problem, or only in certain circumstances.

Regards,
User avatar
Frank Hileman
Site Admin
 
Posts: 1291
Joined: Sun Jul 25, 2004 8:16 pm
Location: California

Re: refresh problem using app over terminal server

Postby Frank Hileman » Fri Feb 19, 2010 3:47 pm

Just realized the first post was in June 20 2009. Not sure why I missed that but I doubt the original poster is monitoring the thread. At any rate, anyone who has this problem, we would like more information if you can get it, or a test.

Thanks,
User avatar
Frank Hileman
Site Admin
 
Posts: 1291
Joined: Sun Jul 25, 2004 8:16 pm
Location: California

Re: refresh problem using app over terminal server

Postby jfmopt » Mon Feb 22, 2010 11:16 am

Sorry, I also didn't notice that the post was so old. It wasn't answered so I thought it was new.

His problem looks exactly as in the one in my post, although the image is no longer available.

I can confirm that it happens consistently under at least these conditions:
Windows XP Remote Desktop in 16bit color mode.
When there are very few pictures in the canvas (I have a big white empty picture that is the model workspace and one small picture that represents a task).
Moving the small picture will expand the darker area.
When I add more pictures to the canvas the problem seems to disappear. Although I think that the darker color seems to replace the full white when this happens.

This issue it's no longer in my priority so I don't think I will be able to make an example soon, I'm sorry.
jfmopt
 
Posts: 18
Joined: Thu Oct 11, 2007 10:07 am

Re: refresh problem using app over terminal server

Postby Frank Hileman » Fri Feb 26, 2010 2:17 pm

I tried again, but still could not reproduce it.
Thanks,
User avatar
Frank Hileman
Site Admin
 
Posts: 1291
Joined: Sun Jul 25, 2004 8:16 pm
Location: California


Return to Problems

Who is online

Users browsing this forum: No registered users and 2 guests

cron