-
-
Notifications
You must be signed in to change notification settings - Fork 6.8k
Fix floating file chooser #39154
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
Fix floating file chooser #39154
Conversation
7bae584 to
fdcadd5
Compare
fdcadd5 to
1688ad3
Compare
|
|
Thanks for the PR @AlvaroParker - we'll get to a review ASAP! |
Was reviewing this last week. It seems to be great. I'm a little unsure about returning the oneshot is the best way to approach. Should we return a future? or make the member acync? |
|
Maybe using |
Then we just make it send :) I've gone ahead and done so over here: main...send-WindowIdentifier-futures Its a tweak upon this PR. If your okay with it I'll close this and squash merge. |
|
Sure! |
On second thought, if I do that your no longer the author but a co-author. That feels wrong to me. Could you pull in the changes from that branch into this PR? Then I can merge it with you as primary author as it should be. |
2a7c633 to
3948250
Compare
|
Done, thanks! |
Closes zed-industries#39117 Some window managers (example: hyprland hyprwm/Hyprland#11229) still won't open a floating file chooser because they don't support the XDG foreign protocol yet: https://wayland.app/protocols/xdg-foreign-unstable-v2 Release Notes: - Fixed file chooser not floating --------- Co-authored-by: David Kleingeld <davidsk@zed.dev>
Closes #39117
Some window managers (example: hyprland hyprwm/Hyprland#11229) still won't open a floating file chooser because they don't support the XDG foreign protocol yet: https://wayland.app/protocols/xdg-foreign-unstable-v2
Release Notes: