Comments (5)
Thanks.
I'll test zenity and let you know.
from rfd.
xdg-portal
is the default in 0.14, gtk backend will be removed, as it's a horible unsafe and broken mess. Perhaps try to install zenity if such a thing exists on bsd. RFD will try to call zenity whenever the portal is not avalible or broken.
from rfd.
We do have zenity
, albeit at v3.41
When is the gtk backend removal planned?
from rfd.
@PolyMeilex Ok, let's close this for now, I've temporarily fixed the issue with simp
applying the following patch:
$NetBSD: patch-Cargo.toml,v 1.1 2024/06/11 08:36:49 pin Exp $
RFD crate changed the default features from Gtk to xdg-desktop-portal.
This breaks functionality on NetBSD. Restore the Gtk feature for now.
--- Cargo.toml.orig 2024-06-11 06:29:01.483993198 +0000
+++ Cargo.toml
@@ -48,7 +48,7 @@ wgpu = { version = "0.19.1", features =
winit = { version = "0.29.10", features = ["rwh_05"] }
[target.'cfg(not(linux))'.dependencies]
-rfd = "0.14.0"
+rfd = { version = "0.14.0", default-features = false, features = ["gtk3"] }
[target.'cfg(linux)'.dependencies]
rfd = { version = "0.14.0", default-features = false, features = ["xdg-portal"] }
I would still appreciate any info as of when you intend to fully drop Gtk support, This gives us time to work on xdg-desktop-portal
package and hopefully be able to support that,
Thanks!
from rfd.
As long as you have zenity on the system, xdg-portal build should fallback to it, if it does not, please oppen an issue.
When is the gtk backend removal planned?
Not sure, it's existence does not cause much burden for now, so there is no concreate date.
from rfd.
Related Issues (20)
- Crash when attempting to open FileDialogue (MacOS)
- Linux message dialogues displaying "All updates are complete" HOT 1
- Wasm inline style clashes with CSP headers HOT 1
- Lastest version 0.14.1 not available at crates.io HOT 2
- FileDialog blocking forever
- AsyncFileDialog blocks on Windows HOT 5
- Reconsider usage of the changelog action
- Not dialog appeared, return none HOT 2
- Dialog does not appear in WSL HOT 1
- Any way to pick a file or a folder? HOT 1
- FileHandle is not `Clone`
- Screenshots
- Opening a dialog hangs when GTK window is open HOT 1
- Prototype a Slimbus based backend
- window: message dialog not in foreground when launched from a window-less process HOT 1
- AsyncFileDialog in web context show some kind of progress bar ?
- File dialog doesn't open inside Docker container for version 0.12
- File already exists widow is not in foreground (Windows)
- Documentation for add_filter is wrong
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from rfd.