Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug]: Mouse drag lag. Any other ways to avoid this? #52

Open
1 task done
mkanet opened this issue Dec 29, 2022 · 11 comments
Open
1 task done

[Bug]: Mouse drag lag. Any other ways to avoid this? #52

mkanet opened this issue Dec 29, 2022 · 11 comments
Labels
bug Something isn't working triage Cause of the issue needs to be triaged

Comments

@mkanet
Copy link

mkanet commented Dec 29, 2022

Is there an existing issue for this?

  • I have searched the existing issues

Current Behavior

My apologies. I am aware of the mouse drag lag issue. The old Vibrancy Extension had found a GREAT fix for bug; which I'm currently using. However, after if I upgrade from VSCode 1.56.2 to a newer version, it doesn't work anymore.

Is there any hope for this extension without mouse drag lag? This is the main reason why I stopped using Vibrancy. Hopefully, you can find a new way to do this.

Expected Behavior

No mouse drag lag

Steps To Reproduce

  1. Move VSCode window by dragging it with a mouse cursor.

Environment

- OS:
- VSCode:
- Extension:

Anything else?

No response

@mkanet mkanet added bug Something isn't working triage Cause of the issue needs to be triaged labels Dec 29, 2022
@illixion
Copy link
Owner

I haven’t been able to reproduce this issue on any of my devices, so I’ll need a bit more info to troubleshoot this.

What OS and version are you using? If it’s Windows 10/11, go to Settings → System → About to check.

Additionally, what is your display configuration? I’m curious about the amount of displays and refresh rates specifically.

@mkanet
Copy link
Author

mkanet commented Dec 29, 2022

@illixion thank you so much for responding so quickly! This issue happens on both of my PC's (all major Windows 10 versions I've tried):

1903
1909
2004
20H2
21H1
22H2

My PC configurations:

PC1: 3 monitors:
Monitor1: 2560x1440 @60Hz
Monitor2: 1280x720 @60Hz
Monitor3: 1280x720 @60Hz

PC2: 2 monitors:
Monitor1: 1920x1080 @60Hz
Monitor2: 1920x1080 @60Hz

I also made a customized Vibrancy Extension: MKANET Theme V2 which has no weird issues at all.. as long as I use VSCode Verson 1.56.2 or earlier.

Please let me know if there's anything else I can provide.

@illegitimate-egg
Copy link

2023-09-04.20-35-18.mov

Windows 10 22H2 build 19045.3324
1920x1080 @144hz

@mkanet
Copy link
Author

mkanet commented Sep 4, 2023

2023-09-04.20-35-18.mov
Windows 10 22H2 build 19045.3324 1920x1080 @144hz

Looks like you're also having the same issue.

@illegitimate-egg
Copy link

Yeah

@mkanet
Copy link
Author

mkanet commented Sep 4, 2023

I'm still using VSCode 1.56.2 with the older version of Vibrancy Extension since that was the last version of VSCode that didn't have any issues at all. It works flawlessly.

@mkanet
Copy link
Author

mkanet commented Sep 4, 2023

VSCode Version: 1.56.2
Extension: MKANET Theme V2
1920x1080p 60Hz

2023-09-04.14-31-06.mp4

@illixion
Copy link
Owner

illixion commented Sep 5, 2023

@illegitimate-egg I feel like I've seen this pattern of window movement before, specifically in cases where my GPU was struggling. Could you please clarify which kind of GPU you're using, and if it's integrated or dedicated?

I've also found this article that seems like it could help, especially since this seems to only occur in certain configurations: https://old.reddit.com/r/Windows11/comments/pj4fi8/fix_for_windows_dragging_lag_applies_to_windows/

There was a "Windows 10 fix" in Vibrancy that was disabled a while ago as it was causing issues with window snapping, I've compiled a VSIX with it restored, so you could try it and let me know if it resolves the issue for you: vscode-vibrancy-continued-1.1.20.vsix.zip

To install, simply go to the Extensions page and under the triple-dot menu, choose "Install from VSIX..." and select the decompressed file.

@illegitimate-egg
Copy link

It's a dedicated GeForce GTX 1650, it shouldn't choke over moving a blurring window. After checking for IRQ overlap, the GPU overlaps with the PCIe Controller (which makes sense) and also the Motherboard's audio controller which is disabled, either way, I doubt the audio controller would start firing off IRQ 16 when I move a window.

The VSIX loads and installs, but transparency doesn't actually work (?) which is strange. VSCode looks exactly the same despite the plugin reload I did.

@mkanet
Copy link
Author

mkanet commented Sep 5, 2023

@illixion OMG Thank you!!! I just tried vscode-vibrancy-continued-1.1.20.vsix.zip. It actually works without any weird issues! I can confirm it works correctly with VSCode 1.81.1 (user setup). This is the first time I've seen the blur transparency effect on VSCode Versions: >1.56.2 without any weird issues. I have had this issue since the original Vibrancy extension. You finally fixed it! Please update the official extension with this specific version of the extension. It works very well from what I've tested so far.

There is no mouse lag or instability when dragging, moving, resizing!

I can close this issue once we've confirmed this also works for other people.

@illegitimate-egg can you please try completely disabling your current VSCode extention that you have installed. Then completely uninstall VSCode and install it again. Then install the extension: vscode-vibrancy-continued-1.1.20.vsix.zip via the VSCode Extensions page and under the triple-dot menu, choose "Install from VSIX..." and select the file and tell it to install the extension and restart when instructed.

@CryptokidFH
Copy link

I am also still experiencing this issue with my own setup:
Monitor 1: 144hz
Monitor 2: 60hz
GTX 1080Ti
VSCode: 1.85.2
Windows 10; Version 22H2; Build 19045.4046

I tried installing the vsix package of vibrancy above, but after reloading the extension and enabling the acrylic again, I still experience the issue with window movement lag. I'm not sure if its of any note, but I don't have any lag when resizing, only when moving the window around.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working triage Cause of the issue needs to be triaged
Projects
None yet
Development

No branches or pull requests

4 participants