Bug 1669304
Summary: | [marketplace] Operator Hub "Create Operator Subscription" page stretches operator icons to fit a square | ||||||
---|---|---|---|---|---|---|---|
Product: | OpenShift Container Platform | Reporter: | Sami Shahin <sashahin> | ||||
Component: | OLM | Assignee: | Jeff Phillips <jephilli> | ||||
Status: | CLOSED ERRATA | QA Contact: | Fan Jia <jfan> | ||||
Severity: | medium | Docs Contact: | |||||
Priority: | unspecified | ||||||
Version: | 4.1.0 | CC: | aravindh, jephilli, lgallett | ||||
Target Milestone: | --- | ||||||
Target Release: | 4.1.0 | ||||||
Hardware: | Unspecified | ||||||
OS: | Unspecified | ||||||
Whiteboard: | |||||||
Fixed In Version: | Doc Type: | Bug Fix | |||||
Doc Text: |
Cause:
The image area was set to be 40x40
Consequence:
Image would be drawn to fixed size square causing the image to stretch
Fix:
Set only the image area's width property
Result:
The image's original aspect ratio will remain
|
Story Points: | --- | ||||
Clone Of: | Environment: | ||||||
Last Closed: | 2019-06-04 10:42:15 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: |
|
It is ok in env: cv: 4.0.0-0.nightly-2019-02-13-204401 console : quay.io/openshift-release-dev/ocp-v4.0-art-dev@sha256:65d45bc11133e47d739c729969241654813830bb315ad805e71e7a677a8e73e6 console commit :https://github.com/openshift/console/commit/e05b0365a496188c5cd35fc9efa51a153bb2ae95 Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHBA-2019:0758 |
Created attachment 1523342 [details] An operator with a long rectangular icon that is squished to fit a square in the Create Operator Subscription page. Description of problem: Operator Hub's subscribe page stretches operator icons into squares. Version-Release number of selected component (if applicable): 1) clusterversion:4.0.0-0.alpha-2019-01-22-055501 2) marketplace image: registry.svc.ci.openshift.org/openshift/origin-v4.0-2019-01-22-055501@sha256:ba28700ae1e0cd8bf2caf1930de777d495c5bddd0ca9356ad1832d9b90f8cb84 3) olm image: registry.svc.ci.openshift.org/openshift/origin-v4.0-2019-01-22-055501@sha256:ad3dbbeac14175ace16b2bd51700e31ad16c1419b123b9698b8c4e069542f9e3 4) console image: registry.svc.ci.openshift.org/openshift/origin-v4.0-2019-01-22-055501@sha256:ff9b8324d684385b57556a3067de45e5c429a54749a31d6359ca6a7e09e1c124 How reproducible: Requires an operator with a non-square icon. Steps to Reproduce: 1. Open up Operator Hub 2. Select an operator with a non-square icon, and click "install" on the modal. Actual results: 1. In the "Create Operator Subscription" page, the icon of the operator on the right of the "Select Operator Group" dropdown is streched to make the icon fit into a square. Expected results: 1. The icon of the operator shouldn't be warped in any way on the "Create Operator Subscription" page. Additional info: