Bug 916207 - webadmin: Storage main-tab -> select storage [storage sub-tabs displayed] -> move to VMs main-tab -> select VM [storage sub-tabs are (wrongfully) displayed]
Summary: webadmin: Storage main-tab -> select storage [storage sub-tabs displayed] -> ...
Keywords:
Status: CLOSED UPSTREAM
Alias: None
Product: Red Hat Enterprise Virtualization Manager
Classification: Red Hat
Component: ovirt-engine-webadmin-portal
Version: 3.2.0
Hardware: x86_64
OS: Linux
unspecified
medium
Target Milestone: ---
: 3.3.0
Assignee: Alexander Wels
QA Contact: Jiri Belka
URL:
Whiteboard: ux
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-02-27 14:28 UTC by Dafna Ron
Modified: 2015-09-22 13:09 UTC (History)
5 users (show)

Fixed In Version: is1
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2013-07-17 08:20:28 UTC
oVirt Team: ---
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
screen shots (88.68 KB, application/x-gzip)
2013-02-27 14:28 UTC, Dafna Ron
no flags Details


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

Description Dafna Ron 2013-02-27 14:28:49 UTC
Created attachment 703459 [details]
screen shots

Description of problem:

if I select a domain in the domains tab and than move to the vm's tab -> create a new vm -> select the vm -> I can see the sub tabs from the domains tab and not the vms tab.
if I move in the sub-tabs the sub tab will not be refreshed. 

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

sf8
firefox-10.0.11-1.el6_3.x86_64 (csb)

How reproducible:

100%

Steps to Reproduce:
1. go to the storage tab -> select a domain
2. go to the vm's tab -> create a new vm
3. select the vm -> select the domains sub tabs
  
Actual results:

the sub tab will not be refreshed

Expected results:

sub tab should be refrshed right away but even if not, selecting the sub tab's should not effect the refresh

Additional info: screen shots

Comment 1 Einav Cohen 2013-05-10 17:39:53 UTC
Dafna:

- Is this reproducible 100% of the time? i.e. whenever following the steps to reproduce, you see the Storage sub-tabs rather than the VM's sub-tabs?

- Is this still happening in recent builds (e.g. sf16)?

Comment 2 Einav Cohen 2013-05-10 17:41:50 UTC
Dafna - one other question (besides Comment #1) - is this reproducible in FF17?

Comment 3 Dafna Ron 2013-05-12 08:34:45 UTC
I check in sf16 with firefox-17.0.2-3.el6_3.x86_64. 
we still see the storage sub-tab for about a second when we select the new vm but it's now too fast to select (as in the sub tab is refreshed quickly)

Comment 4 Alexander Wels 2013-05-15 15:00:03 UTC
I am unable to reproduce in oVirt as well as latest RHEV 3.2. When I select the VM main tab, it hides the sub tabs so I don't see the sub tab for the other main anymore. I tried this on FF20 on Fedora with latest RHEV 3.2 and oVirt.

If you can still reproduce can you give me access to the machine that does it?

Comment 5 Einav Cohen 2013-05-16 12:58:28 UTC
(In reply to comment #4)
> I am unable to reproduce in oVirt as well as latest RHEV 3.2. When I select
> the VM main tab, it hides the sub tabs so I don't see the sub tab for the
> other main anymore. I tried this on FF20 on Fedora with latest RHEV 3.2 and
> oVirt.
> 

Alex - I believe that when moving to the main VMs tab (and before selecting a VM), the Storage sub-tabs are being hidden for Dafna as well.
The problems seem to start only when selecting a VM: According to Comment #3, it seems that now, when selecting a VM in the VMs main tab, the Storage sub-tabs "flicker" for one second, before the view is being updated to display (properly) the VMs sub-tabs. 

[it seems that the view is "caching" somehow the last-displayed sub-tabs and once selecting an item in a main grid - it displayed the "cached" sub-tabs, before updating the view to display the proper sub-tabs]

Can you please check if you can reproduce this?

[perhaps simulating slow connectivity between browser and server (e.g. add "java.lang.Thread.sleep(1000);" within the RunQuery method in GenericApiGWTServiceImpl) can help demonstrating this problem better]

[Of course, if Dafna can help in providing access to a setup in which this problem is reproducing - it would be great]

Comment 6 Alexander Wels 2013-05-16 13:06:22 UTC
So the problem is the 'flicker' between the two sub tabs. I am able to reproduce that. I have tried some other sub tabs and they don't seem to reproduce the behavior.

Comment 7 Alexander Wels 2013-05-16 13:10:20 UTC
Actually I was wrong, all the sub tabs do it. I just didn't try hard enough before. It is also not just the virtual machines sub tab that does it. If I have the virtual machines sub tab selected and switch to another main tab and select a sub tab, I see the flicker as well.


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