Bug 1140237

Summary: Initial row is automatically selected even after it in all screens where initial row selection is made
Product: Red Hat Enterprise Virtualization Manager Reporter: Gilad Lazarovich <glazarov>
Component: ovirt-engineAssignee: Alexander Wels <awels>
Status: CLOSED CURRENTRELEASE QA Contact: Petr Kubica <pkubica>
Severity: low Docs Contact:
Priority: unspecified    
Version: 3.5.0CC: acanan, awels, gklein, lsurette, rbalakri, Rhev-m-bugs, srevivo, ykaul
Target Milestone: ovirt-3.6.0-rc   
Target Release: 3.6.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-04-20 01:36:44 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: UX RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Gilad Lazarovich 2014-09-10 14:30:26 UTC
Description of problem:
Initial row is automatically selected even after it in all screens where initial row selection is made

Version-Release number of selected component (if applicable):
3.5 vt2.2

How reproducible:
100%

Steps to Reproduce:
1. Navigate into tabs including Data Centers, Networks, Storage, Virtual Machines, Templates
2. Unselect the row that is highlighted

Actual results:
The row is selected once more within a few seconds

Expected results:
Row shouldn't be re-selected automatically while on same page, they can select any row they wish (or navigate back in)

Additional info:
Any screens where no initial selection is made allows case where no rows are selected

Comment 1 Einav Cohen 2014-09-19 16:15:48 UTC
not sure how easy that is, though I do understand the user-experience problem here. 
@Alexander: is it possible to not automatically select a row after the user has explicitly deselected everything in the current context?
[once context has changed, e.g. main-tab selection changed, left-pane tree node selection changed, etc.], the auto-selection behavior should resume]

Comment 2 Alexander Wels 2014-09-22 19:41:33 UTC
Basically no, the grid has no notion of other things around it. All it does is on load of the data, check if there is only 1 item in the grid, and if so automatically select it. I can see if I can determine if the data is a 'first load' and only do the auto select on that. But the user can easily defeat that by clicking refresh manually and having it reselect.

Comment 3 Petr Kubica 2015-07-29 12:42:24 UTC
How can I deselect the row ? I think I tried everything but I cannot deselect selected row (I cannot reproduce it on vt2.2). Maybe something changed in browsers ? (I use firefox 38.0.5 and chrome 43.0.2357.134)

From steps to reproduce I understand this:
1. Click on Cluster (there is only one row 'Default') and it is automatically selected
2. deselect the row (I failed with this step)
3. until manually refresh, it should stay deselected.

Comment 4 Alexander Wels 2015-07-30 13:14:26 UTC
ctrl-click should deselect the row.

Comment 5 Petr Kubica 2015-07-30 15:10:29 UTC
Thank you ctrl-click work.

Verified in 3.6.0-0.0.master.20150726172446.git65db93d.el6