Bug 1628723

Summary: Rename VM form keeps losing focus as soon as you stop typing
Product: Red Hat CloudForms Management Engine Reporter: Kedar Kulkarni <kkulkarn>
Component: UI - OPSAssignee: Hilda Stastna <hstastna>
Status: CLOSED CURRENTRELEASE QA Contact: Kedar Kulkarni <kkulkarn>
Severity: medium Docs Contact:
Priority: high    
Version: 5.10.0CC: dmetzger, hkataria, lavenel, mpovolny, obarenbo, simaishi
Target Milestone: GAFlags: kkulkarn: automate_bug-
Target Release: 5.10.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: 5.10.0.18 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2019-02-12 16:51:21 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
ScreenVideoRecording none

Description Kedar Kulkarni 2018-09-13 19:36:37 UTC
Created attachment 1483149 [details]
ScreenVideoRecording

Description of problem:
Rename VM form keeps losing focus as soon as you stop typing

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

How reproducible:
100%

Steps to Reproduce:
1.Add VMware Provider
2.Select checkbox for a VM under Compute -> Infrastructure -> Virtual Machines
3.Configuration -> Rename Selected VM


Actual results:
See attached clip, Name field keeps losing focus and makes me click on it over and over again. 

Expected results:
It should not lose focus if I pause between typing two characters. 

Additional info:
I think it loses focus maybe within 1 second after you typed last character.

Comment 3 CFME Bot 2018-10-02 13:26:38 UTC
New commit detected on ManageIQ/manageiq-ui-classic/master:

https://github.com/ManageIQ/manageiq-ui-classic/commit/53a0c8e2cd96a55b302e96ea3cdc8400ea436f84
commit 53a0c8e2cd96a55b302e96ea3cdc8400ea436f84
Author:     Hilda Stastna <hstastna>
AuthorDate: Mon Oct  1 07:52:23 2018 -0400
Commit:     Hilda Stastna <hstastna>
CommitDate: Mon Oct  1 07:52:23 2018 -0400

    Fix losing focus of the form while renaming a VM

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

 app/controllers/mixins/actions/vm_actions/rename.rb | 1 -
 app/views/vm_common/_rename.html.haml | 30 +-
 2 files changed, 14 insertions(+), 17 deletions(-)

Comment 4 CFME Bot 2018-10-02 13:42:41 UTC
New commit detected on ManageIQ/manageiq-ui-classic/hammer:

https://github.com/ManageIQ/manageiq-ui-classic/commit/e615f8f23056ab27f401e2d933664d6bc392f98e
commit e615f8f23056ab27f401e2d933664d6bc392f98e
Author:     Milan Zázrivec <mzazrivec>
AuthorDate: Tue Oct  2 09:24:33 2018 -0400
Commit:     Milan Zázrivec <mzazrivec>
CommitDate: Tue Oct  2 09:24:33 2018 -0400

    Merge pull request #4721 from hstastna/Rename_VM_form_focus_typing

    Fix losing focus of the form while renaming a VM

    (cherry picked from commit f3cc8ef506110ef920ce56731dfd1e97995e5ac9)

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

 app/controllers/mixins/actions/vm_actions/rename.rb | 1 -
 app/views/vm_common/_rename.html.haml | 30 +-
 2 files changed, 14 insertions(+), 17 deletions(-)

Comment 5 Kedar Kulkarni 2018-10-08 20:43:28 UTC
On 5.10.0.18 the Rename VM text box does not lose focus anymore.