TheGameCreators / AGK-Studio

3 stars 1 forks source link

lag in using AGK-Studio interface and freezing #664

Open creativemagicman opened 4 years ago

creativemagicman commented 4 years ago

Cursor lag in selecting AGK-Studio tabs, selecting text, copying and pasting and eventually freezes or just about slows right down so I can't double click on any of the tabs. Then I have to close and reload AGK-Studio.

All the above can happen right after booting up my computer and before running any AGK programs. The problems seam to go away when I start a new project or try it on a smaller project. Although I need to do more tests, depending on my dev time available.

I have a fairly large scale project. Although in my mind this is a medium size project with larger ones to come. The Approx size of the AGK folder is 9MB and I have 6GB RAM on my computer so I wouldn't have though this was a problem.

I have done a full scan on my computer and optimised the memory and disk space all with Norton utilities.

Other Application work OK.

Let me know if there is any technical info that I can give you or areas to check out etc. as this is holding up my Indie Dev business.

David Fuzzy Visions

creativemagicman commented 4 years ago

Reverted back to using AppGameKit Classic and everything is OK. no lag whatsoever.

When I switched to classic I didn't shut my computer down or delete anything. Just updated the Classic version, closed down the Studio version and I had no problems. This shows that it wasn't my computer, such as memory, processor, heating or disk space etc. as I didn't change anything and it worked. So it must be the AGK-Studio version in my opinion.

plemsoft commented 4 years ago

@creativemagicman Thanks for reporting this,

To get a feeling where to find your issue , could you try:

  1. In preference , uncheck "Enable Symbolic Lists" , then close studio , and try to open your large project , did that help ?

  2. In preferences , try to uncheck "Event based rendering" , then give it another go , did this help ?

  3. In preferences , If you use code folding , could you try to disable that , do that help ?

creativemagicman commented 4 years ago

Hi, I have carried out the three steps below by unticking the suggested preference options and there is no change.

As I can imagine this is a hard bug for you to replicate. I have included a Video screenshot with mouse clicks and drags indicated so you can see what is happening.

In the beginning of the clip it is evident that there is a lag in just dragging the windows scroll bar with it catching up with the cursor.

As you can see the dragging is not so accurate with the start and end selections not in line with where I first clicked and dragged.

There is even one point where I have released the mouse button after drag highlighting a line of text to suddenly find the lines above the intended line are highlighted.

Is is also very evident when I have to click on the 'Edit' tab and the close preferences cross quite a few times to engage these functions.

The supplied video was created with no AGK program run ( so there is none of my AGK code disrupting things ) and just after booting up.

As I mentioned before, I can open another package ( including AGK classic ) with no lagging issues. Which tells me to rule out anything on my computer.

I did eventually finish and launch my amazing :) sprite sheet editor called AnimShed ( shameless plug intended ) on itch using the classic version so I am thankful that the classic code could compile my Studio code . I wouldn't dismiss the classic version for a while until the studio version is running a bit more smoothly.

Regards, David Holyoake P.S. Sorry for the video quality. I had to reduce the resolution to get the file size under the 10MB attachment size limit. You can still follow the drag test though.

AGKstudioLagTest.zip

plemsoft commented 4 years ago

@creativemagicman Thanks for the video,

Yes i can see that there is some huge delays , there is some post processing going on in Studio , what happen if you open Studio and then dont touch it for say 5 min. then try again , is it now better ? , or do it always have this "delay".

plemsoft commented 4 years ago

@creativemagicman Just read your thread on the forum:

https://forum.thegamecreators.com/thread/226498#msg2657108

So i expect that the Symbolic Lists is part of the problem, could you let me know your PC specs , thanks :)

creativemagicman commented 4 years ago

Processor: Intel(R) Core(TM) i3-3217U CPU @ 1.8GHz Installed RAM: 6.00 GB (5.89 GB usable) Drives: Main system ( C: ) on 185 GB - 20.1 GB free ( I could free this up a bit ! ) and 258 GB drive for DATA etc.

Regards David