dop2000's Forum Posts

    , I'm not a big fan of formatting and reinstalling everything. And I can't do this anyway. This is a work laptop and I have some other important software on it that will be a pain to re-install and configure.

    And I don't understand how re-installing windows will help to find the cause of this problem.

    I'm 100% positive it's not just my PC, as I'm not the only one who have these issues.

    Here is the list of users who reported these or similar issues on Windows 10:

    BiffanyPFH

    humanescape

    shushpo

    chadorireborn

    BackendFreak (possibly, OS Build 15063.850)

    digitalsoapbox (Win 10 Enterprise)

    alihaider123

    The Mnk (possibly)

    UberLou

    Colludium (has had this issue for 2 years)

    Edit: updated list.

  • Nah, it all looks good to me. Couldn't write it better myself

    , thanks for the links. I've actually increased the icon cache size to 8Mb about a week ago, this didn't make any difference.

    I tried deleting Thumbnails in Disk Clean-Up, this didn't remove the lag with event dialogs.

    Tried manually deleting files from C:\Users\Stan\AppData\Local\Microsoft\Windows\Explorer folder - some files were deleted, some not. This didn't help either.

    When I start C2 for the first time after deleting Thumbnails, a few new files are created in that folder.

    But no new files are added with consecutive launches. In fact the whole folder stays at about 10Mb and its size does not increase much over time.

  • You can do this:

    fullLeterBox on Drag Start

    ...fullLeterBox is overlapping emptyLetterBox -> emptyLetterBox set hasLetter to False

    One other thing - what if when you drop the letter, it's overlapping two empty boxes?

    I suggest you add another sub-event under #11:

    emptyLetterBox pick nearest to (fullLeterBox.x, fullLeterBox.y)

    Ashley

    I think both my bug reports about Windows 10 performance are related, or have some common cause.

    This delay with event dialogs also depends on windows uptime and/or the number of times C2 was launched.

    That test where I opened/closed C2 many times for an hour - event dialogs became very slow after it too.

    How come the same Windows API that creates icons works fast after reboot and becomes extremely slow an hour later after C2 application was launched a hundred times?

    In that bat-file I don't just start Construct2.exe application, I open a test C2 project with ~90 objects.

    So here is an uneducated speculation - maybe all these icons from every C2 session are cached or indexed or something like that, and this cache/index never gets reset?

    R0J0hound

    Thanks for the tip, I disabled the patches in registry, will see if this helps.

    Update: I disabled Meltdown/Spectre updates as described here and tested again with versions r252 and r239.

    For each version I rebooted Windows and ran that bat-file for an hour, and in both cases C2 slowed down considerably.

    I didn't notice any improvement.

  • Try Construct 3

    Develop games in your browser. Powerful, performant & highly capable.

    Try Now Construct 3 users don't see these ads

    Ashley

    Yes, I can. Which versions do you want me to check?

    Testing each will take hours, so please only give me a couple of key versions where you made some big changes in the editor.

    Update: I disabled Meltdown/Spectre updates as described here and tested again with versions r252 and r239.

    For each version I rebooted Windows and ran that bat-file for an hour, and in both cases C2 slowed down considerably.

    I didn't notice any improvements.

    I also noticed another funny little bug (probably completely unrelated, but who knows) - with each launch, the right panel with the Project Bar expands a bit to the left. So after about 50 launches, it fills the entire window.

    W10 home build 15063, i don't use updates

    I read someone else's comment that he too doesn't have these problems on windows build 15063.

    So looks like the older windows 10 versions are not affected.

  • Zoom in the image, you should see the line of white pixels.

    Or simply create a new Tiled Bachground 4x4px and fill it with black color.

    It's possible that this problem may be related to recent windows updates (from the past couple of months).

    Do you have automatic updates enabled on both your laptops and do you install all recommended updates?

    What is the exact Windows version and build number?

    Also, do you run Windows for many days or reboot regularly?

    MPPlantOfficial

    Can we please keep this post on-topic? Several similar posts were closed and I don't want this to happen again.

    I don't have any issues with other applications performance on this laptop, only with C2.

    Ashley,

    r246 was definitely affected. Probably r244 too, but I don't remember for sure.

    I first noticed this about 30 days ago, when I started using C2 on this laptop with Windows 10.

    I included information about that experiment with bat file as I hope it might be useful. It's obviously a synthetic test and not a real usage case. But it demonstrates that it's not the windows uptime (or not just the uptime) which is causing these lags, but also the number of times C2 was launched.

    Also, you could probably try to leave a similar script running on a Windows 10 PC with all recent updates overnight, and check next morning if C2 is running slow or not.

    I understand, that an app should be starting from a blank slate, and I've never seeing anything like this with other applications. So maybe C2 leaves something behind after closing that's slowing it down over time? (temporary files, some processes in memory, open files or something like that?)

    For example, after that experiment I found that C2 created lots of temporary folders, 400Mb in total, many of which contained copies of project files in \Documents and Settings\{profile}\Local Settings\Temp

    Unfortunately, removing these folders didn't improve the performance. Only rebooting Windows seems to help.

    Hi Ashley,

    I believe this is the same issue as other people reported in those 2 closed posts.

    You wrote there that these issues should be properly logged as bugs, so I'm doing exactly that. I tried to include all details that could be useful.

    I don't have "thousands" of objects in my project. The test capx I attached to this bug report has only 92 objects.

    The project which I'm referring to as "big" is actually not that big. It's 15Mb in size, has 1500 events and 188 objects (not 370 as I mentioned in the video, I counted them wrong). I believe Construct 2 should definitely be able to handle it.

    And this same projects works well without any lags on two much older laptops, including 8 years old Celeron with 4Gb Ram, running Windows 7.

  • Nope, sorry. I really though this was something simple like sending JSON in clear text.

    There are several JS libraries available on jwt.io website, so I guess you need to find somebody who can make a plugin from that.

    Try posting a request in this forum:

  • The easiest solution would be to use SpriteFont and set the same width for all numbers.

    Problem Description

    When running C2 in Windows 10, event dialogs are opening with a significant delay.

    After restarting Windows 10, the lag disappears, but after several hours/days it becomes more and more noticeable and could reach 4-5 seconds.

    The issue seems to be related to icons and the delay depends on the number of objects in the project. In blank or small project there is almost no lag.

    Setting "Icon Mode=Don't show unique icons" removes the lag completely. However, not having unique icons in the editor makes development extremely difficult, especially in a big project with hundreds of objects and long object names.

    Switching Icon Caching on or off doesn't seem to make any difference, the lag in both cases is the same.

    Please see this video, from 0:43

    https://youtu.be/8thpozIBnUU?t=43s

    Attach a Capx

    https://www.dropbox.com/s/541c7mrvrydgt ... .capx?dl=0

    This capx doesn't really matter as the performance is bad in all projects, especially big ones.

    Description of Capx

    Capx with some test objects and events from the video above.

    Steps to Reproduce Bug

    Edit or add new event/action.

    Observed Result

    Delay for up to 4-5s when clicking "Add event" or "Add action", or double-clicking existing event.

    Expected Result

    No delay.

    Affected Browsers

    N/A, editor issue.

    Operating System and Service Pack

    Windows 10 Home, Version 10.0.16299 Build 16299

    Processor Intel(R) Core(TM) i5-7200U CPU 2.50GHz, 2712 Mhz, 2 Core(s), 4 Logical Processor(s)

    RAM 8GB, 256GB SSD

    Video Intel(R) HD Graphics 620

    Construct 2 Version ID

    r252, r251 and earlier versions

  • [quote:2u1r72gh]BOoted my W10 this morning. Slow as hell and froze randomly.

    Did a hard reset and suddenly it was performing well.

    Wait a couple of hours/days and it will become slow as hell again...

    I logged a bug report about this just now: