Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

VFP IDE Slow Behavior 1

Status
Not open for further replies.

stanlyn

Programmer
Sep 3, 2003
945
US
Hi,

Anyone know why moving VFP's command, property and other tools windows around the desktop are so slow on Win10? It is slow to respond when releasing the mouse after the move. Anyone having this experience? Any fixes? I have been putting up with it for a long time now and it is annoying.

Thanks,
Stanley
 
I suspect that's related to the issues I've seen with drag-and-drop in VFP on Windows 10. I think it's related to having the layout set to greater than 100%. That's the first dropdown in the Display items in Control Panel.

Tmaar
 
You mean moving around this "ghost frame" I highlighted yellow? It's what you get moving around the command window and others.

slowwindow_b2pu3m.png


Under Vista this as due to Aero and the option to disable it was called "Disable desktop layout" and could be set per EXE in EXE properties in the compatibility tab.

Under Win10 that has changed to central graphic performance settings, where you can put a list of executables to be handled as "classic app".

Bye, Olaf.




Olaf Doschke Software Engineering
 
Tamar, It is dealing with drag and drop. I looked and my is set to 100%.

Thanks, Stanley
 
Hi Olaf,

>> central graphic performance settings
For me that did not help, but helped lead to a fix. I set the compatibility switch to VistaSp2 with all else unchecked and works good and better that all the other configs.

Thanks, Stanley

 
Yes, that indeed also changes something.

If I do this what I called ghost frame gets much thinner.
You still don't have the old setting you had in Vista.

Bye, Olaf.

Olaf Doschke Software Engineering
 
Hi Olaf,

At first I tried XPsp3 and Vista as that would have been in the time period of VFP9. XPsp3 triggers a uac even with the "run as admin" un-checked. I then went thru them all and VistaSp2 works the best.

Are you getting a ghost image in VistaSp2? What do you find best?

Thanks, Stanley
 
No, no ghost image. Just read back what I described, I called the frame in my screenshot above, the yellow highlighted frame, a ghost frame.

It represents the full command window as just a wireframe of it. Unlike normal windows you move, which just stay as they are, this frame represents where the window will appear when you end the drag and drop the window. I thought that's also what you describe. It was a well known problem when VFP9 was new and as said, usually turning off Aero rendering, which could be done per EDE, solved it back then.

That ghost frame is always there, no matter what settings you use, it just moves jerky without any setting that takes care of handling this better. In VistaSp2 mode as you told you used, it's thinner and I guess it moves smoother also because of that.

Everything is ok. I also have no problem without Vista compatibility, my graphic seems to be better. I also have no problem when normal windows are drawn fully while dragging them. Sombody, I guess Jürgen Wondzinski, explained what was going wrong and why such a simple even reduced frame was drawn so jerky. It had to do with GDI+ and bad graphics optimizations that did more harm than good. It's also very specific to the VFP IDE only.

Bye, Olaf.

Olaf Doschke Software Engineering
 
Olaf, you described the condition perfectly. Solving it has been on my todo list for years now, and now its solved...

Thanks, Stanley
 
Stanley,

Good to see that Olaf has solved your problem.

Could I remind you that you can flag a reply as a "Great post". You just click the relevant link at the bottom right of the post. This is useful for several reasons, not least because it indicates to other forum members with a similar problem that a solution is available.

I'm sure you already knew this, but it's always worth keeping in mind.

Mike

__________________________________
Mike Lewis (Edinburgh, Scotland)

Visual FoxPro articles, tips and downloads
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top