Uploaded image for project: 'JBoss Enterprise Application Platform'
  1. JBoss Enterprise Application Platform
  2. JBEAP-14924

Pathcompletion on windows sometimes behaves like confirming default value

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • 7.2.0.Beta
    • None
    • Installer
    • None

      There are two cases identified where pathcompletion on windows doesn't work as expected.

      Case 1
      when TAB si pressed after drive letter with colon (without backslash, eg. "C:", "E:"), it doesn't offer any candidates and instead behaves like ENTER on empty input, ie. confirms the default value.

      Select the installation path:  [C:\Users\Administrator\EAP-7.2.0]
      C:<TAB>
      Select the packs you want to install:
      1    [x] [Required]      [Red Hat JBoss Enterprise Application Platform] (29,97 MB)
      2    [x]                 [AppClient] (27,6 KB)
      3    [x]                 [Docs] (12,46 MB)
      4    [x] [Required]      [Modules] (171,8 MB)
      5    [x] [Required]      [Welcome Content] (2,15 MB)
      Total Size Required: 216,4 MB
      Press 0 to confirm your selections
      Please select which packs you want to install
      

      If installation is finished after this, EAP is installed in location "C:\Users\Administrator\EAP-7.2.0"

      Pathcompletion on drive with backslash works fine (eg. "C:\", "E:\")

      Note: on 7.1.0 it is too broken, but in a different way, after C:<TAB> the candidates from current dir are offered.

      Case 2
      the other case is when path contains space in name, eg. Program Files when TAB again triggers confirm-default action.

      Select the installation path:  [C:\dev\EAP-7.2.0]
      C:\P<TAB>
      PerfLogs\  Program Files (x86)\  Program Files\  ProgramData\
      C:\Program<SPACE><TAB>
      Select the packs you want to install:
      1    [x] [Required]      [Red Hat JBoss Enterprise Application Platform] (29,97 MB)
      2    [x]                 [AppClient] (27,6 KB)
      3    [x]                 [Docs] (12,46 MB)
      4    [x] [Required]      [Modules] (171,8 MB)
      5    [x] [Required]      [Welcome Content] (2,15 MB)
      Total Size Required: 216,4 MB
      Press 0 to confirm your selections
      Please select which packs you want to install
      

      This is a regression against 7.1.0 where such completion is done correctly.

            thauser_jira Thomas Hauser (Inactive)
            jbliznak@redhat.com Jan Blizňák
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: