Skip to content

File dialog issues on Linux desktop #3439

Open
@dgulotta

Description

@dgulotta

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions