Bug 1034756

Summary: [RHSC] 'Cluster' and 'Status At' field in remove-brick status dialog shift to the right when remove-brick is stopped
Product: Red Hat Gluster Storage Reporter: Shruti Sampat <ssampat>
Component: rhscAssignee: anmol babu <anbabu>
Status: CLOSED CANTFIX QA Contact: Shruti Sampat <ssampat>
Severity: low Docs Contact:
Priority: low    
Version: 2.1CC: dpati, dtsang, knarra, mmahoney, pprakash, rhs-bugs, sdharane, ssampat
Target Milestone: ---Keywords: FutureFeature
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Enhancement
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-12-12 09:47:50 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:

Description Shruti Sampat 2013-11-26 13:17:23 UTC
Description of problem:
--------------------------

When remove-brick on a volume is stopped using the stop button in the remove-brick status dialog, with the appearance of the 'Stopped At' field, the fields 'Cluster' and 'Stopped At' are seen to jump to the right.

Version-Release number of selected component (if applicable):
Red Hat Storage Console Version: 2.1.2-0.25.master.el6_5 

How reproducible:
Always

Steps to Reproduce:
1. Start remove-brick on a volume, and open the status dialog.
2. Click on the Stop button to stop remove-brick.

Actual results:
After a couple of seconds, the Stopped At field appears in the top centre, which cause the 'Cluster' and 'Status At' field to shift to the right.

Expected results:
The fields should be positioned such that, the appearance of another conditional field should not cause a shift in the position of fields already present.

Additional info:

Comment 2 anmol babu 2013-11-28 06:54:45 UTC
This can be fixed.But,if we fix this,then when the rebalance is completed, "Completed Text" will kill the allignment.

Comment 3 anmol babu 2013-12-12 09:47:50 UTC
1 . Currently,the size of the status dialog is at max.Can't increase the size    anymore.
2 . Although status dialog has 4 separate columns,as all 4 can't co-exist,
    Stopped-at --> visible only if status is aborted.
    Completed  --> visible only if status is completed.
3 . So,at a given instant in time 1 or 2 out of the 4 columns are hidden.And the columns are capable of self-adjusting themselves when some of them are hidden,i.e,no space is left for those that are hidden.
4 . Due to point 3,this effect/appearance of columns moving occurs.
5 . Due to point 1. point 4 can't be fixed
Hence,closing this bug as "Can't Fix" .