DioxusLabs / DioxusLabs/dioxus

File dialog issues on Linux desktop

Open
#3,439 6 comments 2 reactions 0 assignees View on GitHub
bug
Dominant language
Rust
Stars
39.1k
Forks
1.9k
Avg merge
4d 10h
Merged PRs (30d)
4

Description

**Problem**
I encountered two issues with the file dialog in the desktop platform on Linux:

1. When I first open the dialog, I can see folders but not files. Files only appear after I have gone back and forth a few times between different folders. It seems like navigating from a folder to its parent is what finally causes files to appear.
2. After I select a file, the text next to the "Choose File" button still says "no file selected".

**Steps To Reproduce**

Steps to reproduce the behavior:

- Create an app that has an `input { type: "file" }`.
- Enable the "desktop" feature of dioxus.
- `cargo run` on Linux.
- Click the Choose File button.
- After moving back and forth between folders until files appear, select a file and click OK.

**Environment:**
- Dioxus version: 0.6.1
- Rust version: 1.83.0
- OS info: Void Linux with Xfce 4.20
- App platform: desktop

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.