Bug 1013972 - Tab Extends for auto-completing home directory path is not working correctly
Summary: Tab Extends for auto-completing home directory path is not working correctly
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: JBoss Enterprise Application Platform 6
Classification: JBoss
Component: Installer
Version: 6.2.0
Hardware: Unspecified
OS: Windows
unspecified
urgent
Target Milestone: CR1
: EAP 6.2.0
Assignee: Miles Tjandrawidjaja
QA Contact: Petr Kremensky
Russell Dickenson
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-10-01 07:39 UTC by Petr Kremensky
Modified: 2013-12-15 16:13 UTC (History)
3 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2013-12-15 16:13:57 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Bugzilla 883419 0 unspecified CLOSED Console Installer Should Respect Tab Extends for Filling in Paths 2021-02-22 00:41:40 UTC
Red Hat Bugzilla 1032892 0 unspecified CLOSED Unable to use tab filling for path starting with a drive letter on windows. 2021-02-22 00:41:40 UTC

Internal Links: 883419 1032892

Description Petr Kremensky 2013-10-01 07:39:54 UTC
Description of problem:
I am unable to use tab for filling paths on windows.

Version-Release number of selected component (if applicable):
EAP 6.2.0.ER3

Steps to Reproduce:
1. Start console installation
2. Accept EULA and try to enter some path using tab

Actual results:
"C:\" + tab: don't show any folders

Expected results:
"C:\" + tab: will show content of C:\

Additional info:
"~\" + tab and "" + tab is working as expected

Comment 1 Miles Tjandrawidjaja 2013-11-05 15:22:14 UTC
Jline has been modified so that "~" and "~/" expands to the users home directory.
Autocomplete starting with "C:\" still does not work.
If you like some autocompletion starting from the home directory use "~\".
This will show the contents of your home directory and let you tab-complete.

Comment 2 Petr Kremensky 2013-11-06 08:48:02 UTC
I'll look into this once CR1 will be available. We can create BZ just for  C:\ tab filling issue later targeting 6.3+ release.

Comment 3 Petr Kremensky 2013-11-15 12:05:00 UTC
Verified on EAP 6.2.0.CR1 installer.

I'll create BZ just for path starting with driver letter in post-GA time.

Comment 5 Petr Kremensky 2013-11-20 07:40:45 UTC
You're right, paths with a drive letter are still not auto-completed, thing which was fixed here is that tilde '~' is now substituted with full path once user press the 'tab' key ( ~ -> 'tab' -> /home/pkremens ). 

On windows it is C:\Users\${username}.

No problem Lucas, feel free to ask once there is anything unclear.

Comment 7 Petr Kremensky 2013-11-21 07:31:17 UTC
I agree with you that the name of issue is not reflecting the fix. I've changed the summary for the issue as you proposed. 

I'll create a new issue targeting 6.3 just for path starting with driver name, so we can document it as known issue.

Fixed part is not related only to windows. 
On linux, tilde was expanded into home/ before (see bug 883419 comment 7), but you couldn't use tab to expand anymore from this location. With the fix, the tilde is expanded to /home/$user so you can still use tab for path filling.


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