Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 1149480

Summary: snapshot columns length is not set correctly
Product: Red Hat Enterprise Virtualization Manager Reporter: Shirly Radco <sradco>
Component: ovirt-engine-userportalAssignee: Tomas Jelinek <tjelinek>
Status: CLOSED WORKSFORME QA Contact: movciari
Severity: low Docs Contact:
Priority: low    
Version: 3.4.0CC: ecohen, gklein, lsurette, ofrenkel, rbalakri, Rhev-m-bugs, sradco, yeylon
Target Milestone: ---   
Target Release: 3.6.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard: virt
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2015-09-09 09:12:18 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
Screenshot of Snapshots tab fields none

Description Shirly Radco 2014-10-05 11:54:54 UTC
Description of problem:
In the snapshots tab the columns are too wid,
You must scroll the page right or re-size the columns in order to see them.
Is you step out of the vm and go back they go back to the original size.

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

How reproducible:
100%

Steps to Reproduce:
1.Log into the user portal
2.Go to a vm
3.Go to the snapshots tab

Actual results:
Columns are too wide.

Expected results:
Column width should be according the the data length. 

Additional info:

Comment 1 Omer Frenkel 2014-10-06 08:34:09 UTC
can you please attach a screenshot?
also, what browser version are you using?

checked on 3.5, with firerfox, and it looked ok, there are only 4 columns taking half of the tab, and the description column got most of the space, which makes sense

Comment 2 Shirly Radco 2014-10-06 10:20:52 UTC
Created attachment 944206 [details]
Screenshot of Snapshots tab fields

Comment 3 Shirly Radco 2014-10-06 10:21:38 UTC
I'm using Firefox.

Comment 4 Tomas Jelinek 2015-09-01 11:39:04 UTC
well, looking into code and trying it it works like this:

- There are the following widths by default:
date: 150px
status: 75px
memory: 55px
description: 300px

- This are the default values which apply if you don't touch them. If you resize the column manually, it will be stored in your browser's local storage so after refresh you will have this new value. If you want to go back to the default values you need to clear the local storage.
In particular, you need to delete the ones which have keys like:
ENGINE_UserPortal_GridColumnWidth_SubTabExtendedVmSnapshotView_table_N

If you delete this keys (or the whole local storage, there is nothing too important) than the widths should go back to default ones.

@Shirly: Could you please confirm this behavior?

Comment 5 Tomas Jelinek 2015-09-09 09:12:18 UTC
since for me it works as explained in comment 4, closing as worksforme. If the issue is indeed there and behaves differently as explained in comment 4, please reopen.