Red Hat Bugzilla – Bug 845813
[ovirt-webadmin] - Webadmin Tree pane is not refreshed with new Entities (DCs / Clusters etc...)
Last modified: 2014-01-13 19:03:58 EST
Created attachment 602346 [details]
Description of problem:
After creating a new entity the Tree pane is not refreshed, and not displaying the new Entity
Version-Release number of selected component (if applicable):
Steps to Reproduce:
2.create new entity (DC, Cluster)
3.verify it is displayed in the tree pane (DC, Cluster)
Entity is not Displayed in tree pane (DC, Cluster)
Should display the new Entity
Need to logout and login to refresh display
Created attachment 602347 [details]
did you click the refresh button on the tree?
Yes I have,
And also I changed couple of times the refresh rate between 4 & 20 sec
Another thing that refreshes correctly besides re-login, is
Collapsing the Tree and Expanding it again
(In reply to comment #3)
> Another thing that refreshes correctly besides re-login, is
> Collapsing the Tree and Expanding it again
Yap I've noticed that as well:
To refresh the tree you have too:
1. Click refresh
2. Collapse all
3. Expand all
In 3.0 the refresh button actually did automatically steps 1 and 2.
It was annoying, since if you only had part of the tree expanded, then to get back to the same view but refreshed you had to click refresh and re-expand the view you wanted.
Now it keeps the same annoyance but with the added annoyance of clicking refresh and see no change, and then to manually click collapse all in order to get to the same point as in 3.0. IE loos current set view in order to refresh.
Marking as a regression though the preferred solution is not to get to the 3.0 refresh behavior, but to a real refresh.
Clicking refresh will display, if possible, the updated last view chosen by the user. If those are the elements that were removed so last view can't be presented, only then auto-collapse and expend.
posted at: http://gerrit.ovirt.org/#/c/7374/
merged at: ff75e338806c8b0b921a8bfeae1982016303f7d4
(In reply to comment #4)
> Expected results:
> Clicking refresh will display, if possible, the updated last view chosen by
> the user. If those are the elements that were removed so last view can't be
> presented, only then auto-collapse and expend.
note: this bug is just to fix the regression from 3.0.
preserving the state/selected-item/etc. between refresh actions requires is a bit tricky and is not 3.1 material. please open a rhevm-future RFE if needed.
*** Bug 852722 has been marked as a duplicate of this bug. ***