Skip to content

Linux audio Import file button does not open a chooser #2737

Closed

Description

@AksharP5

Description

In the Linux GPUI editor, clicking Import file in Add audio silently does nothing. No file chooser opens, so the user cannot select a local music or audio file through this control.

The audio import path calls platform::open_audio_panel(). On Linux that resolves to a stub which always returns None, so the editor handles the click as a cancellation. The same picker path is used for replacing an audio segment.

Expected: open the native chooser with the accepted audio formats.

Actual: the button handler runs, no chooser appears, and the project remains unchanged.

Reproduction

  1. Run the GPUI editor on Linux and open a Studio recording.
  2. Add an Audio track and open Add audio.
  3. Click Import file.
  4. Observe that no system file chooser opens.

Additional Context

  • Cap version: 0.6.1 source, reproduced on main at b6a06a0a5d2f72f16862a3955ba0ba2a298ae1d7. The relevant audio code is unchanged on the current main, 4ab155c3953bb1fbf992763690f1d4c4c6dfc5ed.
  • Operating system: Arch/Omarchy Linux, kernel 7.2.8-5-omarchy-bore, x86_64.
  • The editor ran through XWayland, with the host's real desktop portal file chooser available.
  • Reproduced using a synthetic silent 10-second Studio project and a fresh private app profile. A temporary trace at the button callback confirmed that the click reached the handler.
  • The editor already has an asynchronous, window-owned Linux file picker used by other import paths.

The experimental correction opens the real chooser with an Audio filter. Cancelling closes it without changing the parsed project configuration or file list. Completing native file selection and timeline insertion was not verified because the installed GUI automation could not type into the Wayland chooser.

Activity

  1. linear commented on Oct 20, 2026

    @linear
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions