Terminus: Laggy window drag with Fluent background on Windows 1903

Created on 25 May 2019  路  14Comments  路  Source: Eugeny/terminus

I just updated my pc to Windows 10 1903, but saw that terminus' window moved incredibly slow. I thought this was a problem with my pc, so I rebooted it. After rebooting, it was still laggy. You can see that shareX completely gives up when moving the window: link.

In this video, you can see my actual cursor appearing once I stopped dragging, while the window keeps moving: link

This might be an issue with windows, but I've also tested it with fluent terminal, and that app moves fine.

Windows Confirmed Bug Enhancement

Most helpful comment

Turns out, this is a problem with Windows 1903. I found this: link.

All 14 comments

I have same problem. Video

Turns out, this is a problem with Windows 1903. I found this: link.

Fixed in build 18917

@Eugeny Since the bug of windows is still exists (at lease in build 19025), it might be better if Terminus can disable Fluent effect temporarily when draging and re-enable it after the drag completed.
Enable and Disable Acrylic background cost a very little time(< 0.1s)

@hv0905 good idea

I'm on Insider Slow and it fixed the issue in the Windows Terminal for me, but it's still laggy in Terminus.

I'm on Insider Slow and it fixed the issue in the Windows Terminal for me, but it's still laggy in Terminus.

It seems all UWP apps works just fine.

@hv0905 done - looking forward to your feedback

Unfortunately, the patch can't fix the bug in windows 10 build 19041. check out video here
This is because in this code you disabled the feature at above build 18917.
However the dragging bug is still exist (at lease in build 19041), so we have to keep the arcylic blur disabled when dragging above build 18917.

for @IgnusG 's report, ms just fixed the latency bug in emoji panel (they just directly removed the arcylic effect in emoji panel, very hacking).

Sorry - I missed the build no in your reply. Is there anything else I could check to detect a "broken" system? (it just works on my recent Insider build)

I couldn't find a way to detect it. But if in your insider build it works fine, maybe 19041 is the last build has the bug. (19041 is the slow ring of windows insider build).

Still lagging ( 2004, 19569.1000 )

Only happens if Background type is in Fluent mode. Blur is ok.

image
Has the problem.

Confirmed that it only happened when the mouse report rate is too high (~500Hz or more).
It seems that a way should be found to reduce graphics usage when dragging or resizing.

Something might be helpful:

https://github.com/Microsoft/vscode/pull/52707
https://github.com/arkenthera/electron-vibrancy

GitHub
Make your electron windows vibrant! Contribute to arkenthera/electron-vibrancy development by creating an account on GitHub.
Was this page helpful?
0 / 5 - 0 ratings

Related issues

Calinou picture Calinou  路  15Comments

csrgxtu picture csrgxtu  路  31Comments

abalter picture abalter  路  18Comments

kbrucej picture kbrucej  路  19Comments

marcinbojko picture marcinbojko  路  12Comments