Window resizing causes a lot of lag, like extreme amount of lag.
Please see this video where I dragged the end of the window to resize it. I released the cursor much earlier, but it was still bugging. I tried minimizing it using keyboard shortcuts (Win + Down Arrow. Win + M, Win + D). This also happens while making the windows smaller. This happens when I am not screen recording as well.
https://github.com/user-attachments/assets/ed4ec8f5-ff2a-4ad7-8d08-7f4ba7dcf24d
System: Windows 11 24H2 Ecode version: 0.7.0
Wow, that's ridiculous, it only happens when you drag the window borders? This only happens to ecode? I'm really unsure if I can do something myself, this looks an OS level issue. I'll install Windows 11 and try to reproduce it. In Windows 10 this is not happening.
It only happens when I drag the window borders and corners and it only happens to ecode. The stranger thing is I can't reproduce this issue now. I had this issue like 5 or 6 times before on separate days. So, sometimes this issue was present, sometimes not. I also never saw this in any other app, not even the nightly version of ecode.
I cannot reproduce this on Windows 11 either. I don't think this is an ecode bug to be honest. Because I have no control of any of that. My recommendation is to try to disable any kind of animation on windows resizing, although Windows 10 and 11 do not animate while resizing, they only resize the window rendered frame buffer.
Here's a summary on how to disable it (AI Assisted 😆 ):
-
Open Performance Options:
- Press the
Windows key+Rto open the Run dialog. - Type
sysdm.cpland pressEnter. This opens the System Properties window. - Alternatively, you can search for "Adjust the appearance and performance of Windows" in the Windows search bar and select it.
- Press the
-
Navigate to Visual Effects Settings:
- In the System Properties window, go to the
Advancedtab. - Under the
Performancesection, click theSettings...button. This will open the Performance Options window, likely already on theVisual Effectstab.
- In the System Properties window, go to the
-
Enable the Setting:
- Look through the list of visual effects for the option named: "Show window contents while dragging".
- Check the box next to this option.
-
Apply Changes:
- Click
Applyat the bottom right of the Performance Options window. - Click
OKto close the Performance Options window. - Click
OKagain to close the System Properties window (if you opened it viasysdm.cpl).
- Click
@SpartanJ thanks for looking into it and I think you're right that it's not an ecode issue. Thanks for suggesting fixes as well.
If you don't mind I'll close the issue for now. If further investigation is needed from the ecode side we can reopen later. Thanks
I think it's better to close the issue as it doesn't seem like real issue.