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

Windows Acrylic effect lag #47

Open
mxcop opened this issue Jun 29, 2022 · 3 comments
Open

Windows Acrylic effect lag #47

mxcop opened this issue Jun 29, 2022 · 3 comments

Comments

@mxcop
Copy link

mxcop commented Jun 29, 2022

I've experienced on both windows 11 and 10 that the acrylic effect causes the window to lag while moving and or resizing.
This seems to be an issue that exists not only for Tauri.

I've done a little research into this, and it seems Electron had the same issue.
And they managed to solve it by reducing the polling rate to the refresh rate of the monitor.

(Here is a link to the issue where this was discussed)
Electron Acrylic Window (Issue 6)

I'm not sure how to apply this fix to a Tauri app,
Nevertheless I thought I'd share this possible solution in case someone else does know. 😄

@deminearchiver
Copy link
Contributor

I haven't noticed any lag on my machine. The acrylic effects runs at monitor's refresh rate just fine.

@amrbashir
Copy link
Member

The effect should be working fine on Windows 11, it only affects Windows 10 iirc

@arialpew
Copy link

arialpew commented May 23, 2024

Maybe I'm missing something, but I can't get this to work in Tauri v2 with window_control on existing Tauri project.

  • Blur is still unuseable on Windows 11 (22631), slow motion when resize and drag and drop. It seem Electron managed to get it right so maybe there's an easy fix to this issue.

  • Acrylic resize/drag&drop can lead to ~175% zoom on Webview, untill you close the application. Idk if it's related to window_control or Yet Another Windows Effect issues.

  • Even with all the transparency settings applied, I see no changes with / without apply_blur, as if nothing happen. Same for acrylic/mic/tabbed, all settings are like no-op. I'll try on a blank empty project to see how it goes. I'm using window_control in parallel (maybe they have conflicting settings with vibrancy).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants