-
-
Notifications
You must be signed in to change notification settings - Fork 302
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
On Linux, add header feature flag to fix version regression #766
Conversation
Cargo.toml
Outdated
@@ -31,6 +31,7 @@ tray = [ "tao/tray" ] | |||
devtools = [ ] | |||
transparent = [ ] | |||
fullscreen = [ ] | |||
header = [ "webkit2gtk/v2_36" ] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
maybe we should call it linux-headers
or linux-custom-protocol-headers
?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
or maybe just make version features similar to webkit2gtk, for example the "audio without user interaction" fix/feature needs 2.36 apis too
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@FabianLars Do you have the link for audio link as reference?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The test branch still exists: dev...autoplay-0.19
i'll add a link to the docs to this comment once i find it again
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Oh nevermind it was 2.30...
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'll pretend I didn't see that. 🙈
@lucasfernog and I want to do some workaround in webkit2gtk and we can just check version during runtime.
After that, I'll switch flatpak and bring to v2 soon.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I tried to remove feature flags in webkit2gtk-rs but there are too many. I fear that will cause trouble in future updates. I would like to ask to consider this PR again.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Let's do it this way for now. if we need more version-related feature flags, we can either change it or recommend users to add the webkit2gtk dependency and define the feature they need.
What kind of change does this PR introduce?
Does this PR introduce a breaking change?
Checklist
fix: remove a typo, closes #___, #___
)Other information
fix tauri-apps/tauri#5625