Bug 1622065 - Some input fields in advanced search have 0px width in Chrome
Summary: Some input fields in advanced search have 0px width in Chrome
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Bugzilla
Classification: Community
Component: User Interface
Version: 5.0
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: PnT DevOps Devs
QA Contact: tools-bugs
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2018-08-24 11:00 UTC by Viktor Ashirov
Modified: 2025-10-16 23:52 UTC (History)
2 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2018-08-30 00:13:33 UTC
Embargoed:


Attachments (Terms of Use)
helvetica (75.02 KB, image/png)
2018-08-29 08:18 UTC, Viktor Ashirov
no flags Details
opensans (76.70 KB, image/png)
2018-08-29 08:19 UTC, Viktor Ashirov
no flags Details

Description Viktor Ashirov 2018-08-24 11:00:25 UTC
Description of problem:
Some input fields in advanced search have 0px width in Chrome.

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


How reproducible:
Reproducible in Chrome only, in Firefox it looks fine.

Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/68.0.3440.106 Safari/537.36

and 

Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/70.0.3521.2 Safari/537.36




Steps to Reproduce:
1. In Chrome go to https://bugzilla5.redhat.com/query.cgi?format=advanced
2. Expand Custom search
3.

Actual results:
input.custom_search_form_field has width 0px

Expected results:
input.custom_search_form_field should be wider than 0px

Additional info:

Comment 1 Jeff Fearn 🐞 2018-08-29 00:17:20 UTC
You have to click "Show Advanced Features" to display these widgets.

Comment 2 Viktor Ashirov 2018-08-29 08:18:48 UTC
Created attachment 1479404 [details]
helvetica

Comment 3 Viktor Ashirov 2018-08-29 08:19:07 UTC
Created attachment 1479405 [details]
opensans

Comment 4 Viktor Ashirov 2018-08-29 08:28:45 UTC
(In reply to Jeff Fearn from comment #1)
> You have to click "Show Advanced Features" to display these widgets.

I'm not sure what you mean, but I've attached the screenshot showing the problem. 

Apparently Google Chrome has a long history of not properly rendering Helvetica font, which I had installed.

The following font family is used in some of the elements: 
"Open Sans",Helvetica,sans-serif

I didn't have Open Sans font installed, but after I did that, the page renders properly (see the second attachment).

On bugzilla4 instance the following font family is used:
"DejaVu Sans", "Liberation Sans", sans-serif

So I didn't have issues at all, since these fonts are installed by default on Fedora/RHEL.


So if the change from Dejavu Sans and Liberation Sans to Open Sans and Helvetica is intentional, let's close the bug.

Comment 5 Jeff Fearn 🐞 2018-08-30 00:13:33 UTC
Ah ha, custom_search_form_field isn't set on those fields, they have no class at all.

The font change was deliberate, though the style guy has left so we don't have an informed chooser of fonts anymore.


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