Bug 1628723 - Rename VM form keeps losing focus as soon as you stop typing
Summary: Rename VM form keeps losing focus as soon as you stop typing
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat CloudForms Management Engine
Classification: Red Hat
Component: UI - OPS
Version: 5.10.0
Hardware: Unspecified
OS: Unspecified
high
medium
Target Milestone: GA
: 5.10.0
Assignee: Hilda Stastna
QA Contact: Kedar Kulkarni
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2018-09-13 19:36 UTC by Kedar Kulkarni
Modified: 2019-02-12 16:51 UTC (History)
6 users (show)

Fixed In Version: 5.10.0.18
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2019-02-12 16:51:21 UTC
Category: ---
Cloudforms Team: ---
Target Upstream Version:
Embargoed:
kkulkarn: automate_bug-


Attachments (Terms of Use)
ScreenVideoRecording (586.30 KB, video/mp4)
2018-09-13 19:36 UTC, Kedar Kulkarni
no flags Details

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.


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