Bug 1084586

Summary: Horizontal scrollbars are missing from Dashboard
Product: [JBoss] JBoss Operations Network Reporter: dsteigne
Component: UIAssignee: Libor Zoubek <lzoubek>
Status: CLOSED CURRENTRELEASE QA Contact: Mike Foley <mfoley>
Severity: high Docs Contact:
Priority: unspecified    
Version: JON 3.2CC: lkrejci, loleary, myarboro, snegrea, theute, tsegismo
Target Milestone: ER04Keywords: Triaged
Target Release: JON 3.3.0   
Hardware: All   
OS: All   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
An issue with the Resource and ResourceGroup metric D3 portlets caused chart data that exceeded the boundaries of the portlet to be cut off. There was no way to resize the view to see all the data on the dashboard. The portlet had to be resized manually so all data could be viewed. A fix implemented for the Resource and ResourceGroup metric D3 portlets now sets a fixed width for the graph container div, and provides horizontal scroll-bars when required.
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-12-11 14:02:48 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 to show missing scrollbar none

Description dsteigne 2014-04-04 18:58:27 UTC
Description of problem:
If you have a metric chart on your dashboard that goes beyond the window size, no horizontal scrollbars are created, so the only way to see the rest of your chart is to resize that window

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

How reproducible:
Always

Steps to Reproduce:
1. Create a new Dashboard
2. Add a new portlet for a Resource Metric Chart, i.e. Platform resource > Used Memory, notice the wide of the chart.
3. Now add a column, in the new column add another portlet for Resource Metric Chart. I attached a screenshot to demonstrate.

Actual results:
You will not have a horizontal scrollbar, so you can scroll to see the rest of your charts.

Expected results:
A scrollbar

Additional info:

Comment 1 dsteigne 2014-04-04 19:00:00 UTC
Created attachment 882814 [details]
screenshot to show missing scrollbar

Comment 3 Lukas Krejci 2014-08-29 17:23:06 UTC
Assigning to Libor as this might be UI/patternfly related.

Comment 4 Libor Zoubek 2014-09-01 08:59:36 UTC
Not related to patternfly, issue was present in 3.2.0 and remains in 3.3.0 however it should be easy to fix.

Comment 5 Libor Zoubek 2014-09-23 11:25:28 UTC
branch:  master
link:    https://github.com/rhq-project/rhq/commit/aade12c50
time:    2014-09-23 13:24:37 +0200
commit:  aade12c500a1ae648ebcc163913fd0d1bf8b5950
author:  Libor Zoubek - lzoubek
message: Bug 1084586 - Horizontal scrollbars are missing from Dashboard

         Resource and ResourceGroup metric D3 portlets now set fixed
         width for graph container div and allow horizontal scrollbars
         to appear.

Comment 6 Thomas Segismont 2014-09-23 15:02:29 UTC
Cherry-picked over to release/jon3.3.x

commit a48ebb8e99b19b0bfa57e392dbed2bdf3b6d7f13
Author: Libor Zoubek <lzoubek>
Date:   Tue Sep 23 13:20:46 2014 +0200

    Bug 1084586 - Horizontal scrollbars are missing from Dashboard
    
    Resource and ResourceGroup metric D3 portlets now set fixed width for graph
    container div and allow horizontal scrollbars to appear.
    
    (cherry picked from commit aade12c500a1ae648ebcc163913fd0d1bf8b5950)
    Signed-off-by: Thomas Segismont <tsegismo>

Comment 7 Simeon Pinder 2014-10-01 21:33:15 UTC
Moving to ON_QA as available for test with build:
https://brewweb.devel.redhat.com/buildinfo?buildID=388959