Giter Club home page Giter Club logo

Comments (5)

0323pin avatar 0323pin commented on August 16, 2024 1

Thanks.
I'll test zenity and let you know.

from rfd.

PolyMeilex avatar PolyMeilex commented on August 16, 2024

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.

0323pin avatar 0323pin commented on August 16, 2024

We do have zenity, albeit at v3.41

When is the gtk backend removal planned?

from rfd.

0323pin avatar 0323pin commented on August 16, 2024

@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.

PolyMeilex avatar PolyMeilex commented on August 16, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.