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

Beginning of the input can't be reached by home key or left arrow in console mode

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Major
    • 7.2.0.Beta
    • None
    • Installer
    • None
    • Regression
    • Hide

      The issue can be demosntrated on installation path input but is present on all inputs.
      █ means current cursor position.

      • Run installer and select language and accept license
      • Write any existed path
        a) E.g.: '/media/Data/'
      • Move a cursor by a left arrow to begin of a string until cursor move
        a) Cursor stops at third char
        b) E.g.: with string '/m█dia/Data/'
      • Move cursor by a right arrow to end of a string until cursor move
        a) Cursor stops out off the end of a string
        b) E.g.: with a string '/media/Data/..█' stops two chars behind a string (dot mean space)
      • Again move a cursor by a left arrow to begin of a string until cursor move
        a) Cursor stops at fifth char
        b) E.g.: with string '/med█a/Data/'
      • Again move a cursor by a right arrow to end of a string until cursor move
        a) Cursor stops out off the end of a string
        b) E.g.: with a string '/media/Data/....█' stops four chars behind a string (dot mean space)
      • Now move a cursor at the beginning using Home key
        a) Cursor stops at sixth char
        b) E.g.: with string '/medi█/Data/'
      • And now move a cursor at the end using End key
        a) Cursor stops out off the end of a string
        b) E.g.: with a string '/media/Data/.....█' stops five chars behind a string (dot mean space)
      • Again move a cursor at the beginning using Home key
        a) Cursor stops at sixth char
        b) E.g.: with string '/media█Data/'
      • And again move a cursor at the end using End key
        a) Cursor stops out off the end of a string
        b) E.g.: with a string '/media/Data/......█' stops six chars behind a string (dot mean space)
      • Now return at the beginning using Home key and write a random char
        a) After written char is repeated selected path
        b) E.g.: Write 'd' and show '/media/d/media/Data/'
        c) If you confirm path and redisplay selection, default show '[<home_path>d/media/Data]'
      Show
      The issue can be demosntrated on installation path input but is present on all inputs. █ means current cursor position. Run installer and select language and accept license Write any existed path a) E.g.: '/media/Data/' Move a cursor by a left arrow to begin of a string until cursor move a) Cursor stops at third char b) E.g.: with string '/m█dia/Data/' Move cursor by a right arrow to end of a string until cursor move a) Cursor stops out off the end of a string b) E.g.: with a string '/media/Data/..█' stops two chars behind a string (dot mean space) Again move a cursor by a left arrow to begin of a string until cursor move a) Cursor stops at fifth char b) E.g.: with string '/med█a/Data/' Again move a cursor by a right arrow to end of a string until cursor move a) Cursor stops out off the end of a string b) E.g.: with a string '/media/Data/....█' stops four chars behind a string (dot mean space) Now move a cursor at the beginning using Home key a) Cursor stops at sixth char b) E.g.: with string '/medi█/Data/' And now move a cursor at the end using End key a) Cursor stops out off the end of a string b) E.g.: with a string '/media/Data/.....█' stops five chars behind a string (dot mean space) Again move a cursor at the beginning using Home key a) Cursor stops at sixth char b) E.g.: with string '/media█Data/' And again move a cursor at the end using End key a) Cursor stops out off the end of a string b) E.g.: with a string '/media/Data/......█' stops six chars behind a string (dot mean space) Now return at the beginning using Home key and write a random char a) After written char is repeated selected path b) E.g.: Write 'd' and show '/media/d/media/Data/' c) If you confirm path and redisplay selection, default show '[<home_path>d/media/Data]'

    Description

      There is a regression in console mode, if you input anything you can't reach the beginning of that string again - by HOME or LEFT_ARROW keys.

      The left-most position you can reach is the the <beginning>+1. The furthermore, the beginning seems to change with every attempt, moving to the left all the time.

      One can use BACKSPACE to reach the beginning, but only if the beginning wasn't already altered by HOME or LEFT_ARROW keys usage.

      This was identified to be caused by bug in aesh-readline https://issues.jboss.org/projects/AESH/issues/AESH-475

      Attachments

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: