-
-
Notifications
You must be signed in to change notification settings - Fork 3.2k
feat(windows): keep dwm shadow on frameless windows #14293
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
base: dev
Are you sure you want to change the base?
Conversation
Package Changes Through b5cefdcThere are 10 changes which include @tauri-apps/api with minor, tauri-cli with minor, tauri-utils with minor, tauri-runtime-wry with minor, tauri-runtime with minor, tauri with minor, tauri-bundler with minor, @tauri-apps/cli with minor, tauri-codegen with patch, tauri-macros with patch Planned Package VersionsThe following package releases are the planned based on the context of changes in this pull request.
Add another change file through the GitHub UI by following this link. Read about change files or the docs at github.com/jbolda/covector |
|
@FabianLars Does this provide a good solution? : ) |
|
@chen-zeong Brother, can you continue to handle this issue? I urgently need it here. Thank you for your contribution! |
this solution isn't perfect, but it does work. When it launches, you'll see a border, but it's gone in like half a second. I've looked at all the popular Tauri projects, and on Windows 10, they all have those unacceptable triple borders because they're trying to use a custom title bar. Right now, I'm using a modified Tauri version for both of my apps. You can just look at my forked branch and use it locally. |
It's already quite good to achieve such an effect, at least much better than the border that has always existed before. I strongly recommend merging it into the official version, which may require you to push it forward further. Half a second is not a big problem at all. I think users can bypass it by delaying the display window by half a second. Anyway, this turns a big problem that cannot be bypassed into a small problem that can be bypassed. |
Fixes #13134.
Summary
Testing
decorations: falseandshadow: truein examples/helloworld/tauri.conf.json