Bug 1446249 - Badly handled text input within appliance_console
Summary: Badly handled text input within appliance_console
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: Red Hat CloudForms Management Engine
Classification: Red Hat
Component: Appliance
Version: 5.8.0
Hardware: Unspecified
OS: Unspecified
medium
low
Target Milestone: GA
: cfme-future
Assignee: Gregg Tanzillo
QA Contact: Jaroslav Henner
URL:
Whiteboard: black
: 1391953 (view as bug list)
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2017-04-27 14:02 UTC by luke couzens
Modified: 2018-12-11 16:54 UTC (History)
6 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2018-12-11 16:54:00 UTC
Category: ---
Cloudforms Team: CFME Core
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
screen showing issues (51.50 KB, image/png)
2017-04-27 14:02 UTC, luke couzens
no flags Details

Description luke couzens 2017-04-27 14:02:56 UTC
Created attachment 1274693 [details]
screen showing issues

Description of problem:Firstly if you miss type anything in appliance console you have to delete and retype it due to the arrow keys producing '[[D^' '[[C^'. Secondly if your terminal window size causes your characters to drop onto a new line you can no longer see deletions past that current line.


Version-Release number of selected component (if applicable):5.8.0.12


How reproducible:100%


Steps to Reproduce:
1.provision appliance
2.launch appliance console
3.type a long string into appliance console past a single line length
4.try to navigate it with arrow keys
5.try to delete the whole string

Actual results:arrow keys produce '[[D^' '[[C^' and deletion will work but you can't see deletions occur on the previous lines.


Expected results:Navigation with arrows works correctly and deletions are visible.


Additional info:

See screenshots

Comment 3 CFME Bot 2017-06-30 15:49:20 UTC
New commit detected on ManageIQ/manageiq-gems-pending/master:
https://github.com/ManageIQ/manageiq-gems-pending/commit/deeb3ebfa819bf9a126b6259fe6e7f2282c60a03

commit deeb3ebfa819bf9a126b6259fe6e7f2282c60a03
Author:     Bo Yao <boyao>
AuthorDate: Fri Jun 23 20:01:56 2017 -0400
Commit:     Bo Yao <boyao>
CommitDate: Wed Jun 28 09:08:20 2017 -0400

    fix can't use arrow to navigate input in appliance console
    
    https://bugzilla.redhat.com/show_bug.cgi?id=1446249

 lib/gems/pending/appliance_console/prompts.rb | 1 +
 1 file changed, 1 insertion(+)

Comment 4 Yuri Rudman 2017-08-24 18:20:41 UTC
*** Bug 1391953 has been marked as a duplicate of this bug. ***

Comment 5 luke couzens 2017-10-11 10:19:52 UTC
This is still a problem in appliance_console using my reproducing steps above, I can confirm that certain parts have been fixed in the above PR but I still think it would be best to have this fixed throughout all the options in appliance_console.


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