Bug 847066

Summary: [RFE] After new VM creation, select this VM in the power user portal
Product: [oVirt] ovirt-engine Reporter: David Jaša <djasa>
Component: Frontend.UserPortalAssignee: bugs <bugs>
Status: CLOSED NEXTRELEASE QA Contact: Pavel Stehlik <pstehlik>
Severity: medium Docs Contact:
Priority: medium    
Version: ---CC: bsettle, bugs, rbalakri, Rhev-m-bugs, tjelinek, ykaul
Target Milestone: ---Keywords: FutureFeature, Improvement
Target Release: ---Flags: ylavi: ovirt-future?
sherold: Triaged+
ylavi: planning_ack?
djasa: devel_ack?
ylavi: testing_ack?
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Enhancement
Doc Text:
Story Points: ---
Clone Of:
: 847068 (view as bug list) Environment:
Last Closed: 2017-11-21 10:55:21 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: Virt RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description David Jaša 2012-08-09 15:06:14 UTC
Description of problem:
After new VM creation, select this VM. Currently, existing VM selection is preserved, meaning that if a user chooses to do anything in a VM sub-tab, he has to first click the VM. If another VM is selected prior to VM creation, user is likely to modify older VM instead of a newly created one.

This is mainly an ergonomic issue but it may lead to serious errors.

Version-Release number of selected component (if applicable):
si13.2:
rhevm-userportal-3.1.0-11.el6ev.noarch
rhevm-webadmin-portal-3.1.0-11.el6ev.noarch

How reproducible:
always

Steps to Reproduce:
1. select a VM "1" in User Portal
2. create v VM "2", hit OK
3.
  
Actual results:
VM "1" keeps being selected

Expected results:
VM "2" is selected (or alternatively no VM is selected but VM "2" is a better choice IMO)

Additional info:
webadmin is affected as well

Comment 1 David Jaša 2012-08-09 15:09:20 UTC
webadmin is also affected, it's tracked in bug 847068.

Comment 2 Itamar Heim 2013-02-10 07:03:30 UTC
einav - thoughts?

Comment 3 Einav Cohen 2013-02-22 01:23:20 UTC
need to decide if in addition to selecting the newly created item, the already-selected item(s) remain selected.

if previous selection is retained - probably need to make sure that the newly-created item becomes the "main" selected item (i.e. the sub-tabs are displayed in its context, etc.).

if previous selection is not retained, the newly-created item will become the "main" selected item by definition, since it will be the only selected item.

Comment 4 Itamar Heim 2013-12-01 09:14:52 UTC
wouldn't this require the gui to wait on the entity creation/grid refresh (assuming the current search will show it)?

Comment 5 Itamar Heim 2013-12-01 10:07:06 UTC
(In reply to Itamar Heim from comment #4)
> wouldn't this require the gui to wait on the entity creation/grid refresh
> (assuming the current search will show it)?

oh, that's on the webadmin, which is bug 847068.

anyway, thoughts on effort vs. impact?

Comment 7 Yaniv Kaul 2017-11-16 12:48:27 UTC
How does it look like in the new VM portal?

Comment 8 Tomas Jelinek 2017-11-21 10:55:21 UTC
it will open the details of the newly created VM, so this BZ is now fixed.
Closing this issue now.