Bug 748252 - [ovirt][webadmin]system events are flashing on each refresh
Summary: [ovirt][webadmin]system events are flashing on each refresh
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: oVirt
Classification: Retired
Component: ovirt-engine-webadmin
Version: unspecified
Hardware: Unspecified
OS: Unspecified
unspecified
medium
Target Milestone: ---
: 3.1
Assignee: Vojtech Szocs
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-10-23 15:22 UTC by Moran Goldboim
Modified: 2012-08-09 07:57 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2012-08-09 07:57:14 UTC
oVirt Team: ---


Attachments (Terms of Use)

Description Moran Goldboim 2011-10-23 15:22:41 UTC
Description of problem:
when installing a host, all the events on the events are flushing on each refresh.

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

How reproducible:
always

Steps to Reproduce:
1.install a host and look in the event tab
2.
3.
  
Actual results:


Expected results:


Additional info:

Comment 1 Vojtech Szocs 2011-11-10 15:44:20 UTC
If I understand correctly, the problem occurs when the user switches to "Events" main tab: event data is cleared before fetching fresh data from the backend.

This might be related to UiCommon, going to check.

Comment 2 Vojtech Szocs 2011-11-11 17:33:58 UTC
The "clear-before-data-fetch" Event table behavior is due to EventListModel.SyncSearch() manually setting its items to an empty collection before starting the data refresh timer.

WebAdmin model providers listen to item change events, and when "items" is not null (in our case, an empty collection), UI is refreshed according to "items". The reason why other main tabs are not cleared upon selection, is simply because "items" == null will not trigger UI refresh.

Comment 3 Vojtech Szocs 2011-11-14 18:23:33 UTC
Event main tab items no longer "flash" when selecting Event tab, given there was some data in the Event tab before.

Code review request: http://gerrit.ovirt.org/223

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


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