1

Topic: Windows 11 and Appgraphics

Hi,

I have had a problem with my visualization code which uses Appgraphics since switching some systems to Windows 11. I lived with this on other systems for a while be since switching my main workstation to Win11 it has become really annoying. Aside from placement of text in the window, when selecting a check box to force the program to plot circles for particle sizes, the execution of the plotting loop grinds to a very slow pace. In addition, my mouse action on the desktop becomes erratic when this happens. I then have to basically shutdown the program for the mouse to behave properly. Now, I have not touched this code in over a year and it is the poster child for spaghetti code so i am not looking forward to a debugging session because I not sure what is going but the mouse action away from window being erratic is some sort of clue.

I have updated my SF to the latest this afternoon and the problem still exists. Is there anything new in Appgraphics calls that might be causing this?

Oh, one more thing, the program works fine in Windows 10, no change in behavior!

Thanks in advance.

Rod

2

Re: Windows 11 and Appgraphics

Rod,

I wasn't aware of any issue, and it does seem strange that it only occurs on Windows 11, not Windows 10.  My initial guess is that an infinite loop (in a manner of speeaking) is triggered on the graphics thread due to messages indicating that the checkbox value has changed.  I'll try to see if I can reproduce the behavior.

Jeff Armstrong
Approximatrix, LLC

3 (edited by grogley Today 13:50:10)

Re: Windows 11 and Appgraphics

Thanks Jeff,

Oh, one other piece of information is that if the check box to do this behavior is checked and the scale is not appropriate for plotting sizes, then there is no problem. In this case the program continues to plot single pixels for the particle. However, when checked and zooming the scale smaller, eventually, the scale gets to where circle is supposed to be drawn and then the erratic and slow plotting happens.

Also, now testing my code the new compile with SF build 4438, many of the spacing's for text on the plotting windows has changed.
I am not sure if that is intended. I can send some screen caps to show differences. This only seems to break with the new SF version. In Win11 with the old SF 3.X build, there is no change in the positioning of the text.

I will be gone for the next week, so there is no hurry.

Here is a link to a normal opening screen for the code with previous SF version: https://www.flickr.com/gp/grogley/yvb28t3AbC

The same for the the new build:https://www.flickr.com/gp/grogley/9S9u89H25e

Here is another sample for the density view in the old SF: https://www.flickr.com/gp/grogley/1N5o8t08f9

And the same with the new SF: https://www.flickr.com/gp/grogley/220Q573tun

Thank again.
Rod