Bug 783680

Summary: Implement waiting animation Events & other
Product: [Retired] oVirt Reporter: Pavel Stehlik <pstehlik>
Component: ovirt-engine-webadminAssignee: Vojtech Szocs <vszocs>
Status: CLOSED CURRENTRELEASE QA Contact:
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: unspecifiedCC: acathrow, ecohen, iheim, vszocs
Target Milestone: ---   
Target Release: 3.1   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-08-09 08:02:25 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description Pavel Stehlik 2012-01-21 17:32:30 UTC
Description of problem:
 Go to users, pick one & then Events sub-tab => in my case ~7s till any content appears - looks like there is no data there. 
I guess, by this could suffer any tab/sub-tab as server could be heavily loaded & time could be longer.

Version-Release number of selected component (if applicable):
ovirt-engine-webadmin-portal-3.0.0_0001-1.2.fc16.x86_64

How reproducible:
100%

Steps to Reproduce:
1. 
2.
3.
  
Actual results:


Expected results:
animation (as when loading another tabs e.g. VMs)

Additional info:

Comment 1 Vojtech Szocs 2012-03-26 10:11:30 UTC
In general, when a data table waits for data from the server, it displays an animated loading indicator.

Event-related data tables have custom behavior: when you activate some event data table, for example by clicking on User Events sub-tab, the data is manually cleared before the actual request to server is made.

This results in the behavior Pavel describes -- there is no loading indicator since the data table thinks it already has some data, but in reality, this is just an empty data set by EventListModel before actual data arrives from the server.

In case the EventListModel manually clears its data before requesting new data, our application should detect this state and tell data table to display the loading indicator.

Comment 2 Vojtech Szocs 2012-03-27 12:00:53 UTC
Patch for this issue submitted to Gerrit: http://gerrit.ovirt.org/3118

Comment 3 Vojtech Szocs 2012-03-29 11:12:19 UTC
Patch has been merged upstream.

Comment 4 Itamar Heim 2012-08-09 08:02:25 UTC
closing ON_QA bugs as oVirt 3.1 was released:
http://www.ovirt.org/get-ovirt/

Comment 5 Itamar Heim 2012-08-09 08:03:40 UTC
closing ON_QA bugs as oVirt 3.1 was released:
http://www.ovirt.org/get-ovirt/