Repository navigation
1.5.0
Zahid edited this page Oct 6, 2026
·
1 revision
Released: 06.10.2026
Deskit 1.5.0 makes the file dialogs much easier to navigate: a places sidebar, sorting, hidden-file toggle, search, an editable path field and keyboard shortcuts.
Everything below applies to FileChooserDialog, FileSaverDialog and FolderChooserDialog unless noted.
- Clicking a file highlights it; the Select button confirms.
- Select is disabled until a file is highlighted.
- A left panel with Home, Desktop, Documents, Downloads, File System and mounted drives. Entries that don't exist are skipped.
- Mounted drives are detected from
/proc/mountson Linux,/Volumeson macOS and drive roots on Windows. - New parameter
showSidebar: Boolean = true. - New colors:
sidebarBG,sidebarContentColor,sidebarSelectedBG.
FileChooserDialog(
title = "Select a Document",
showSidebar = true, // New in 1.5.0
onFileSelected = { },
onCancel = { }
)- If the file already exists, a confirmation dialog asks whether to replace it instead of blocking the save.
- Listings are folders first, then files, sorted by name ignoring case.
- New sort menu in the toolbar: name (default), size, last modified, ascending/descending. The choice is not persisted.
- The sort icon has a tooltip, and the dropdown uses
MaterialTheme.shapes.medium. - Fixed the list/grid toggle tooltip rendering as a tiny circle.
- Shows a centered, muted "This folder is empty" message.
- Eye toggle in the toolbar shows or hides dotfiles.
- New parameter
showHiddenFiles: Boolean = falsesets the initial state.
FolderChooserDialog(
showHiddenFiles = true, // New in 1.5.0
onFolderSelected = { },
onCancel = { }
)| Shortcut | Action |
|---|---|
| Escape | Cancels the dialog. Closes the path field or search field first if one is open. |
| Backspace | Goes up one directory. Disabled while typing in a text field. |
| Ctrl+L | Replaces the breadcrumb bar with an editable path field. Enter jumps to the path (~ and relative paths work); an invalid path shows an error. |
| Ctrl+F | Opens a search field (file chooser and folder chooser only). |
Search details:
- The file chooser filters files by name; the folder chooser filters folders by name.
- Case-insensitive, current folder only.
- Shows "No matching files" / "No matching folders" when nothing matches.
- Closes and clears when the folder changes.
Arrow-key list navigation was tried and removed.
- New files in
deskit/utils:PlacesSidebar.kt,Sorting.kt,EmptyFolderMessage.kt,HiddenFilesToggle.kt,KeyboardNavigation.kt,Search.kt. - Fixed a bug where Backspace did nothing because the handler lambda was wrapped in an extra pair of braces.
Update your dependency to use the latest version:
implementation("com.github.zahid4kh:deskit:1.5.0")The new parameters have defaults, so existing code keeps compiling. Note that the sidebar is shown by default; pass showSidebar = false to keep the previous layout.
Report issues or suggest improvements on the GitHub Issues page.
Made with ❤️ | Free stuff is the best stuff