filedialogprobe

command
v1.3.0-rc.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 15, 2026 License: BSD-3-Clause Imports: 9 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Overview

Command filedialogprobe live-verifies the platform-native file dialogs (pre-rebrand tracker #514), default-on since #226.

It builds a small window with buttons that open a native File-Open, Folder-Open and File-Save panel (the native backends start enabled; the "Native pickers" check toggles them), logging the chosen URI to stdout. On macOS the panels are NSOpenPanel / NSSavePanel; on Linux/BSD the xdg portal; on Windows the Common Item Dialog (IFileOpenDialog / IFileSaveDialog); on iOS/Android the system document pickers.

go run ./hack/filedialogprobe            # button UI
go run ./hack/filedialogprobe open       # auto-open a File-Open panel
go run ./hack/filedialogprobe folder     # auto-open a Folder-Open panel
go run ./hack/filedialogprobe save       # auto-open a File-Save panel
go run ./hack/filedialogprobe multiple   # auto-open a multi-select File-Open panel
go run ./hack/filedialogprobe windowed   # windowed canvas dialog (frame X + resize corner)

The button UI carries a "Native pickers" check bound to dialog.UseNativeFileDialogs: unchecking it must serve every request with the canvas dialog — on iOS/Android too (#267), which is how #259's long-press selection mode is reached on-device.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL