File dialog doesn't open inside Docker container for version 0.12
I'm using Rerun which is using rfd version 0.12 to open file dialogs. Specifically it is using:
rfd = { version = "0.12", default-features = false, features = ["xdg-portal"] }
I've created an issue (https://github.com/rerun-io/rerun/issues/6794) there, and after some digging I found out that the problem is with rfd being unable to open a file dialog inside the Docker container using xdg-portal as a backend. I'm aware that rfd version 0.14.1 has a zenity fallback but bumping the rfdversion from 0.12 to 0.14.1 caused quiite a few duplicated dependencies as became apparent in a pull request (https://github.com/rerun-io/rerun/pull/6795) I've opened up inside the Rerun repository.
The duplicates are probably connected to rfd updating ashpd to version 0.8 in https://github.com/PolyMeilex/rfd/commit/a88718eba75a70ee24753b3fa02e08f56b21670b. My questions now are:
- Was there a reason for updating
ashpd? - Does anyone have an idea how I can get
rfdversion 0.12 with xdg-portal to work inside a Docker container? I've been trying stuff for a couple of days now without success...