Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.

Bug 1600088

Summary: input field or textbox too large in Firefox Quantum 60
Product: Red Hat Enterprise Linux 7 Reporter: Gerrit Slomma <gerrit.slomma>
Component: firefoxAssignee: Martin Stransky <stransky>
Status: CLOSED WONTFIX QA Contact: Desktop QE <desktop-qa-list>
Severity: low Docs Contact:
Priority: unspecified    
Version: 7.5CC: gparmiggiani
Target Milestone: rc   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2019-08-23 06:16:16 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
comparison screenshot #1 none

Description Gerrit Slomma 2018-07-11 11:55:40 UTC
Created attachment 1458056 [details]
comparison screenshot #1

Description of problem:

Textboxes/input fields are rendered too large.
e.g. 118x34 for the user-input at the bugzilla.redhat.com homepage, therefore wasting valuable screen real-estate and looking wonky.
Other elements of the browser-window are affected as well, e.g. address-input-field.

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

firefox 60.1.0-4.el7_5

How reproducible:

open new Firefox-window and browse site, surf onto site with textbox(es)/input field(s).

Actual results:

Textboxes are rendered too large when compared to older versions.

Expected results:

Texboxes are rendered as in previous versions

Additional info:

checked with following:

too large:
firefox 60.1.0-5.el6 @ RHEL6.10
firefox 60.1.0-4.el7_5 @ RHEL7.5
firefox 61.0-4.fc28 @ FC28

as expected:
firefox 52.8.0-1.el6_9 @ RHEL6.10
firefox 38.3.0-2.el7_1 @ RHEL7.2
google chrome 67.0.3396.99-1 @ FC28
Opera 12.15 b1748 @ RHEL6.10
Firefox ESR 52.5.2 @ Windows 7
Firefox 61.0.1 @ Windows 10

added screenshot of problem, left side firefox 60, right side firefox 38.

Comment 2 Martin Stransky 2018-07-11 12:13:56 UTC
Yes, that's because Firefox 60 uses Gtk3 which has bigger widgets.

Comment 3 Gerrit Slomma 2018-07-11 12:46:42 UTC
Fine if that is the explanation and root-cause, but how could this be remedied?

Comment 4 Gerrit Slomma 2018-07-11 15:22:05 UTC
okay, seems to work as following:

create file:
~/.mozilla/firefox/${profile}/chrome/userContent.css

content:

input:not(.urlbar-input):not(.textbox-input):not(.form-control):not([type='checkbox']):not([type='radio']), textarea, select {
    -moz-appearance: none !important;
        border-width: 1px;
        min-height: 0px;
        padding: 3px 3px;
}

is pretty near, could be tweaked as per taste.

Comment 5 gparmiggiani 2019-08-21 15:28:21 UTC
Seems only to happen when "widget.content.allow-gtk-dark-theme" is set to false in about:config (I am using a dark theme in cinnamon and fedora 30), on the other hand setting it to true fixes the problem but renders the pages very ugly.

Comment 6 Martin Stransky 2019-08-23 06:16:16 UTC
You can set a differenet content theme, go to about:config and add "widget.content.gtk-theme-override" key with the theme name. You can select a Gtk theme with smaller widgets. But that really depends on the system settings and not on Firefox itself.