Bug 1534960 - UI: Broken bootstrapswitch design in custom button option of generic object
Summary: UI: Broken bootstrapswitch design in custom button option of generic object
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat CloudForms Management Engine
Classification: Red Hat
Component: UI - OPS
Version: 5.9.0
Hardware: Unspecified
OS: Unspecified
high
medium
Target Milestone: GA
: 5.10.0
Assignee: Aparna Karve
QA Contact: Parthvi Vala
URL:
Whiteboard: ui:custom_button:button:generic_object
: 1534562 (view as bug list)
Depends On:
Blocks: 1552737
TreeView+ depends on / blocked
 
Reported: 2018-01-16 11:21 UTC by Yadnyawalk Tale
Modified: 2019-02-11 13:59 UTC (History)
7 users (show)

Fixed In Version: 5.10.0.0
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
: 1552737 (view as bug list)
Environment:
Last Closed: 2019-02-11 13:59:46 UTC
Category: Bug
Cloudforms Team: CFME Core
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
actual_broken_boostrapswitch (20.13 KB, image/png)
2018-01-16 11:21 UTC, Yadnyawalk Tale
no flags Details
expected_boostrapswitch_design (22.51 KB, image/png)
2018-01-16 11:22 UTC, Yadnyawalk Tale
no flags Details

Description Yadnyawalk Tale 2018-01-16 11:21:10 UTC
Created attachment 1381945 [details]
actual_broken_boostrapswitch

Description of problem:
This is UI bug around bootstrapswitch in custom button option of generic object.

Version-Release number of selected component (if applicable):
master.20171206231308_1bfd713 

How reproducible:
100%

Steps to Reproduce:
1. Navigate to Automation > Automate > Generic Object
2. Add class, add custom button in that class
3. While creating button, select role access <By Role> and Check broken bootstrapswitch there 
 
Actual results:
All bootstrapswitch getting broken. (Broken image attached)

Expected results:
Should have proper boostrapswitch design. (Expected image attached)


Additional info:
All boostrapswitchs are broken on page

Comment 1 Yadnyawalk Tale 2018-01-16 11:22:40 UTC
Created attachment 1381946 [details]
expected_boostrapswitch_design

This is expected design[2], carefully look at that rectangle outline!

Thanks!

Comment 2 Yadnyawalk Tale 2018-01-16 11:25:10 UTC
Follow-up: I forgot to mention here, you can only notice this broken behavior when bootstrapswitch is ON!

Comment 3 Yadnyawalk Tale 2018-01-16 14:54:06 UTC
Follow-Up: This also not working on 5.9.0.16.20180109204148_7ac9852, but requires extra steps to reproduce due to BZ1534562.

Steps: 
1. Zoom out page so we can get <By-Role> option in dropdown
2. Select that option and check bootstrapswitch

Comment 5 CFME Bot 2018-01-19 16:50:22 UTC
New commit detected on ManageIQ/manageiq-ui-classic/master:
https://github.com/ManageIQ/manageiq-ui-classic/commit/268e28eadcdfa9a202ee30e68f11ee28d3e84aef

commit 268e28eadcdfa9a202ee30e68f11ee28d3e84aef
Author:     Aparna Karve <akarve>
AuthorDate: Thu Jan 18 14:29:59 2018 -0800
Commit:     Aparna Karve <akarve>
CommitDate: Thu Jan 18 14:30:31 2018 -0800

    Add line breaks below the Role Access dropdown
    
    This gives enough space for the dropdown to display all it's items
    
    https://bugzilla.redhat.com/show_bug.cgi?id=1534960

 app/views/static/generic_object/main_custom_button_form.html.haml | 2 ++
 1 file changed, 2 insertions(+)

Comment 6 Eric Winchell 2018-01-29 19:52:58 UTC
*** Bug 1534562 has been marked as a duplicate of this bug. ***

Comment 8 Parthvi Vala 2018-08-08 11:49:12 UTC
FIXED. Verified on 5.10.0.6.20180725145922_d299ff5.


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