Bug 882618 - webadmin: webadmin 'jumps' to last selected VM on refresh of page
Summary: webadmin: webadmin 'jumps' to last selected VM on refresh of page
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat Enterprise Virtualization Manager
Classification: Red Hat
Component: ovirt-engine-webadmin-portal
Version: 3.1.0
Hardware: Unspecified
OS: Unspecified
unspecified
medium
Target Milestone: ---
: 3.2.0
Assignee: Alexander Wels
QA Contact: Jiri Belka
URL:
Whiteboard: ux
Depends On:
Blocks: 948448
TreeView+ depends on / blocked
 
Reported: 2012-12-02 09:59 UTC by Yaniv Kaul
Modified: 2015-09-22 13:09 UTC (History)
9 users (show)

Fixed In Version: sf16
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed:
oVirt Team: ---
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
animated gif showing IE behavior (530.68 KB, image/gif)
2013-04-05 12:44 UTC, Jiri Belka
no flags Details


Links
System ID Private Priority Status Summary Last Updated
oVirt gerrit 10672 0 None None None Never
oVirt gerrit 13981 0 None None None Never

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


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