Closed Bug 1599697 Opened 5 years ago Closed 4 years ago

Keyword input text size in preferences And Edit folder name in New Bookmark arrow panel becomes small when editing

Categories

(Toolkit :: Themes, defect, P2)

71 Branch
Desktop
Windows 10
defect

Tracking

()

RESOLVED FIXED
mozilla72
Tracking Status
firefox-esr68 --- unaffected
firefox70 --- unaffected
firefox71 --- wontfix
firefox72 --- fixed

People

(Reporter: alice0775, Assigned: ntim)

References

(Regression)

Details

(Keywords: nightly-community, regression)

Attachments

(3 files)

Reproducible: always

Steps to reproduce:

  1. Input keyword for keyword searcgh
    Open about:preferences#search
    Double click on keyword field of search engine list
    Type something

Actual Results:
Text size is small
See attached screenshot

Expected Results:
The text size should be same as the engine name

Regression window:
https://hg.mozilla.org/integration/autoland/pushloghtml?fromchange=a3b08d489762b7c6ca74353b057828e67c22d694&tochange=d7acae5ca73ad308c72adf11baf299e73df4eb3f

Attached image image.png

Edit Bookmarks is also affected.

Str:
Add new folder
Edit the folder name

Component: Preferences → Themes
Flags: needinfo?(ntim.bugs)
Product: Firefox → Toolkit
Summary: Keyword input text size in preferences becomes small when editing → Keyword input text size in preferences And Edit folder name in New Bookmark arrow panel becomes small when editing
Priority: -- → P2

I can see how bug 1581929 could have regressed the tree input, but I can't really see how it regressed the bookmarks popup.

Alice0775, do you get the same regression range for the bookmarks popup ?

Flags: needinfo?(ntim.bugs) → needinfo?(alice0775)

Oh nevermind, this is about the bookmarks tree in the bookmarks popup, which could potentially have had the same regression range.

Flags: needinfo?(alice0775)

Dão, this is happening because global.css is not imported in the tree shadow root (which is where the relevant input is at). Should I import global.css into the tree shadow root or should I simply re-add the font: inherit rule in tree.css?

Flags: needinfo?(dao+bmo)

(In reply to Tim Nguyen :ntim from comment #4)

Should I import global.css into the tree shadow root

I don't know, do we normally do this for shadow roots?

or should I simply re-add the font: inherit rule in tree.css?

This seems like an okay option.

Flags: needinfo?(dao+bmo)

(In reply to Dão Gottwald [::dao] from comment #5)

(In reply to Tim Nguyen :ntim from comment #4)

Should I import global.css into the tree shadow root

I don't know, do we normally do this for shadow roots?

There are 3 widgets where we do this: https://searchfox.org/mozilla-central/search?q=global.css&case=false&regexp=false&path=%2Fwidgets

In other widgets, we import widgets.css (which is also imported by global.css).

Importing global.css means we also have to override the default input margin that global.css sets.

I'm going to go with the second solution, since it's less risky (since there might be other global.css stuff to override).

Assignee: nobody → ntim.bugs
Pushed by ntim.bugs@gmail.com:
https://hg.mozilla.org/integration/autoland/rev/ef451aac4c0f
Re-add 'font: inherit' to .tree-input. r=dao

Comment on attachment 9111917 [details]
Bug 1599697 - Re-add 'font: inherit' to .tree-input. r=dao

Beta/Release Uplift Approval Request

  • User impact if declined: Smaller font-sizes in tree inputs. (see comment 0 and 1)
  • Is this code covered by automated tests?: No
  • Has the fix been verified in Nightly?: No
  • Needs manual test from QE?: No
  • If yes, steps to reproduce:
  • List of other uplifts needed: None
  • Risk to taking this patch: Low
  • Why is the change risky/not risky? (and alternatives if risky): 1 line low-risk CSS fix
  • String changes made/needed: no
Attachment #9111917 - Flags: approval-mozilla-beta?
Attachment #9111917 - Flags: approval-mozilla-beta? → approval-mozilla-release?
Status: NEW → RESOLVED
Closed: 4 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla72

Comment on attachment 9111917 [details]
Bug 1599697 - Re-add 'font: inherit' to .tree-input. r=dao

It's a fix for a minor visual issue and it just landed, I am not taking it for RC2 but I am keeping the request open as a potential ridealong of we have a dot release.

Comment on attachment 9111917 [details]
Bug 1599697 - Re-add 'font: inherit' to .tree-input. r=dao

we're a week from 72, so this is wontfix for 71.

Attachment #9111917 - Flags: approval-mozilla-release? → approval-mozilla-release-
Has Regression Range: --- → yes
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: