Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 882618

Summary: webadmin: webadmin 'jumps' to last selected VM on refresh of page
Product: Red Hat Enterprise Virtualization Manager Reporter: Yaniv Kaul <ykaul>
Component: ovirt-engine-webadmin-portalAssignee: Alexander Wels <awels>
Status: CLOSED CURRENTRELEASE QA Contact: Jiri Belka <jbelka>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 3.1.0CC: dyasny, ecohen, hateya, iheim, jkt, Rhev-m-bugs, sgrinber, vszocs, ykaul
Target Milestone: ---   
Target Release: 3.2.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard: ux
Fixed In Version: sf16 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 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:
Bug Depends On:    
Bug Blocks: 948448    
Attachments:
Description Flags
animated gif showing IE behavior none

Description Yaniv Kaul 2012-12-02 09:59:07 UTC
Description of problem:
See steps to reproduce.

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


How reproducible:


Steps to Reproduce:
1. On a host with a long list of VMs, select a VM, then scroll down till it's not visible.
2. When the page refreshes, the list 'jumps' back to make that selected VM visible. 
3.
  
Actual results:


Expected results:
Do not move the current position

Additional info:

Comment 1 Simon Grinberg 2012-12-25 10:34:42 UTC
(In reply to comment #0)
> Expected results:
> Do not move the current position

Why? This is common behavior for many application. Going back to the selected item on a refresh request.  

Unless you are referring to the auto-refresh of the VM list and not a manual refresh of the browser page.

Comment 2 Yaniv Kaul 2012-12-25 10:37:31 UTC
(In reply to comment #1)
> (In reply to comment #0)
> > Expected results:
> > Do not move the current position
> 
> Why? This is common behavior for many application. Going back to the
> selected item on a refresh request.  
> 
> Unless you are referring to the auto-refresh of the VM list and not a manual
> refresh of the browser page.

I am refrering (of course) to the auto-refresh.

Comment 3 Einav Cohen 2012-12-27 05:05:21 UTC
my hunch is that it doesn't happen only in the VMs main grid, but in all main grids, and probably in sub-tab grids as well (if they have enough items in them).

Comment 4 Alexander Wels 2013-01-04 19:34:02 UTC
Code fix available here:
http://gerrit.ovirt.org/10672

Comment 5 Jiri Belka 2013-04-05 12:44:03 UTC
Created attachment 731899 [details]
animated gif showing IE behavior

sf13, it still jumps back to selected item in IE (tested in w2k8r2 and w2k12). Firefox in rhel6 is OK.

Comment 6 Alexander Wels 2013-04-10 20:09:56 UTC
I can reproduce it all the time with IE10 on win7. I can make it happen sometimes in Chrome on Fedora17. Unable to reproduce in IE9 or 8, nor on FF in any VM I tried.

Comment 7 Jiri Belka 2013-05-14 07:32:27 UTC
OK, sf16.1 (ie9, ie10, ff; ie8 not supported for admin portal but looks OK).

Comment 8 Itamar Heim 2013-06-11 09:20:35 UTC
3.2 has been released

Comment 9 Itamar Heim 2013-06-11 09:43:33 UTC
3.2 has been released