Bug 8371 - tl-config completion depth differs when completing folders and parameters
Summary: tl-config completion depth differs when completing folders and parameters
Status: NEW
Alias: None
Product: ThinLinc
Classification: Unclassified
Component: Misc (show other bugs)
Version: trunk
Hardware: PC Unknown
: P2 Normal
Target Milestone: LowPrio
Assignee: Bugzilla mail exporter
Depends on:
Reported: 2024-06-19 15:15 CEST by Tobias
Modified: 2024-07-12 11:18 CEST (History)
1 user (show)

See Also:
Acceptance Criteria:


Description Tobias cendio 2024-06-19 15:15:34 CEST
For instance with this entry,
> [/vsmagent/level1/level2/level3/level4/level5/level6/level7/level8]
> testvalue=999
in vsmagent.hconf, attempting to tab complete directories with the --all-entries option as in
> $ tl-config --all-entries /vsmagent/lev
won't complete the full unique directory path in one completion. Instead, one has to press tab for all the levels.

Conversely, with no options given we tab complete for parameters, and this completer only returns a maximum of two levels down for some reason. Attempting to tab complete this line
> $ tl-config /vsmagent/lev
> $ tl-config /vsmagent/level1/level2/
> /vsmagent/level1/level2/         /vsmagent/level1/level2/level3/
where the first suggestion is simply a repetition, and one has to assist the completer into the next level (every two levels).

Unsure if tl-session-param exhibits similar problems with similar completers.

Seen with server build #3632 on RHEL9.
Comment 1 Tobias cendio 2024-06-19 15:39:55 CEST
Missed when testing tab completion in bug 7867 probably due to lack of sufficiently deep entries while testing.
Comment 2 Samuel Mannehed cendio 2024-06-25 13:39:05 CEST
It might not be a bug that we only get one folder at a time when completing a unique path with multiple levels. This is how 'ls' behaves when completing folders.

Note You need to log in before you can comment on or make changes to this bug.