So its been a while but I think I finally found a legit way to reproduce this bug.
I recommend taking 20-30 minutes of your time to try and reproduce this bug.
At first, you require the following:
- C2 Example for measurements and sluggishness tests
- My Program that automatically requests attention every 2 seconds.
(NW.js's "request attention" seems to be broken again, so I made this instead...)
- A dual screen setup with Windows 7/8/10 (preferably 1080p on both screens)
Initial steps to reproduce sluggishness:
1. Open the Capx file with the latest Steam release of C2 (preferably paid)
2. Maximize the C2 window on your main screen and set the project windows to something like THIS.
(It doesn't really matter, just make sure that there is a lot on screen.)
3. Open any unmaximized second window which requires a lot of resources on the 2nd screen.
(YT videos etc. or use the debug preview and create a lot of sprite instances using the 'space' key.)
4. Open my "Request Attention" program and also run it on the second window.
5. By now you should notice that C2 will be sluggish because of the heavy load on the 2nd screen,
keep on adding/removing events or change values and try to act like you would work on the project.
At some point you will also notice that it will take up to 1 second just to open the dialogs or change ACE values.
This is the moment were you can basically close all the programs on the second window and run C2 normally,
it will continue being sluggish even without heavy load in the background.
Final Thoughts (+problem speculations)
I took a day of from working on my project just to create this "working" test and I would really appreciate it
if Ashley or others from the community would take their time to run this test and try to reproduce this bug too.
I am still not 100% sure why C2 is affected by this but my guess is that the engine might get "confused" at some point because of the sluggishness and starts creating some sort of "trash data" which leads to even more sluggishness.
The following might be a little off-topic but I'm really desperate about this weird Windows issue for a while now.
I noticed that whenever a program on my second window requests attention (eg. the Steam chat), my programs on the main window start to suffer from sluggishness until I stop it from requesting. (C2 is the only program that continues to suffer even after stopping the request.)
I've Googled through A LOT of forums to find a fix for this issue, so far without any working results.
Ashley I know that you are a top-level expert when it comes to Windows & Web technology so if you got any ways to help me out on this,
feel free to PM me with anything that could help me to fix this issue once and for all.
Thanks for reading, looking forward to your results!