Bug 1618359

Summary: Focus of text field changes 1 or 2 seconds after host edit page is loaded
Product: Red Hat CloudForms Management Engine Reporter: Radim Hrazdil <rhrazdil>
Component: UI - OPSAssignee: Milan Zázrivec <mzazrivec>
Status: ON_QA --- QA Contact: Jad Haj Yahya <jhajyahy>
Severity: medium Docs Contact:
Priority: medium    
Version: 5.9.3CC: hkataria, lavenel, simaishi, smallamp
Target Milestone: GA   
Target Release: 5.10.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: 5.10.0.14 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: Bug
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
video sample none

Description Radim Hrazdil 2018-08-16 13:36:42 UTC
Created attachment 1476426 [details]
video sample

Description of problem:

When navigating to Host edit page, after about 1 or 2 seconds the first text field 'Name' is focused.

This is especially annoying when you get to the page with the intention to validate credentials and you end up writing username to the 'Name' field instead. 


Version-Release number of selected component (if applicable):
CFME 5.9.4.3.20180808144238_a20955a 
firefox 61.0.1

How reproducible:
100%

Steps to Reproduce:
1. go to Host edit page
2. start typing withing 1 or 2 seconds to some text field except the first one
3.

Actual results:
The first text field is focused while typing

Expected results:
Focus should not change after page loads up 

Additional info:

Comment 4 CFME Bot 2018-08-24 07:23:07 UTC
New commit detected on ManageIQ/manageiq-ui-classic/master:

https://github.com/ManageIQ/manageiq-ui-classic/commit/371dc28f385059938ef664220753ab6a86034295
commit 371dc28f385059938ef664220753ab6a86034295
Author:     Richard Vsiansky <r.vsia>
AuthorDate: Thu Aug 23 05:55:46 2018 -0400
Commit:     Richard Vsiansky <r.vsia>
CommitDate: Thu Aug 23 05:55:46 2018 -0400

    Add ng-if to host edit page

    Fixes https://bugzilla.redhat.com/show_bug.cgi?id=1618359

 app/views/host/_form.html.haml | 156 +-
 1 file changed, 78 insertions(+), 78 deletions(-)