borg-backup-ui
borg-backup-ui copied to clipboard
Bug: Source path autocomplete prevents adding share-root paths
The backup job wizard source path input has two related issues reported from Unraid:
- When a user types a source path such as
/mnt/user/appdataand autocomplete suggestions are visible, pressing Enter selects the first suggestion instead of accepting the manually typed path. Mouse selection works, but keyboard entry is misleading because the label says Enter accepts the selection/input. - Adding the FUSE share root itself, for example
/mnt/user/appdata, can fail or behave differently from adding a child directory such as/mnt/user/appdata/adguard. A pool path such as/mnt/performance/appdataworks as a workaround.
Goal:
- Pressing Enter in the source path input should add the manually typed path when it is a valid path, not silently replace it with the first autocomplete suggestion.
- Autocomplete should still allow mouse selection and keyboard navigation for suggested child directories.
- Share-root source paths below
/mnt/usershould be accepted consistently when the directory exists. - Add regression coverage for the source-path input behavior and the FUSE share-root case.
User impact: Users can add appdata/share-root paths reliably without having to select a child folder or use the pool path workaround.