Closed Bug 1151252 Opened 9 years ago Closed 9 years ago

In-Content Preferences → Content → Default font: all entries are blank, list too narrow

Categories

(Firefox :: Settings UI, defect, P2)

38 Branch
defect
Points:
2

Tracking

()

VERIFIED FIXED
Firefox 40
Iteration:
40.1 - 13 Apr
Tracking Status
firefox38 --- verified
firefox39 --- verified
firefox40 --- verified

People

(Reporter: Aleksej, Assigned: Gijs)

References

Details

Attachments

(5 files, 2 obsolete files)

b firefox-38.0b1.ru.linux64
g 2015-01-01-03-02-14-mozilla-central-firefox-37.0a1.en-US.linux-x86_64
g 2015-03-03-03-02-30-mozilla-central-firefox-39.0a1.en-US.linux-x86_64 0b3c520002ad
b 2015-03-04-03-02-31-mozilla-central-firefox-39.0a1.ru.linux-x86_64 c5b90c003be8
b 2015-04-04-03-02-18-mozilla-central-firefox-40.0a1.en-US.linux-x86_64

https://hg.mozilla.org/mozilla-central/pushloghtml?fromchange=0b3c520002ad&tochange=c5b90c003be8

bug 1136670 "InContent Prefs - Implement alignment according to spec"?
Severity: critical → major
Flags: needinfo?(richard.marti)
Flags: needinfo?(jaws)
Attachment #8588361 - Attachment description: Screenshot of the dropdown list made of blank entries. → Screenshot of the dropdown list made of blank entries (the light-blue one below is under the mouse pointer).
Severity: major → normal
Attached patch bug1151252.patchSplinter Review
Let the content wrap when the page is to small like it's done in General page.
Assignee: nobody → richard.marti
Status: NEW → ASSIGNED
Flags: needinfo?(richard.marti)
Attachment #8588432 - Flags: review?(jaws)
(In reply to Richard Marti (:Paenglab) from comment #2)
> Created attachment 8588432 [details] [diff] [review]
> bug1151252.patch
> 
> Let the content wrap when the page is to small like it's done in General
> page.

Sorry about shrinking the window for the screenshot, but the page is probably not too small.  The resolution is 1920x1080.
Then attach a screenshot with your normal resolution.
Attachment #8588360 - Attachment is obsolete: true
$ fc-list|egrep -o ": [^:]+,"|egrep -o "[^:,]+"|wc -L
29

So the longest font name (which I can see without the penultimate command) is about 28 characters long.
Attachment #8588440 - Attachment description: Screenshot of 2015-04-04-03-02-18, Advanced window: all font names fit in it, none → Screenshot of 2015-04-04-03-02-18, Advanced window: all font names fit in it
Aleksej, it looks, you have set a big font size. My patch should fix your problem. But the page width is set to 800px and with your font this isn't enough.

Jared, what do you think, should this page width be set with 'ch' or something similar to have a relative width?
Flags: needinfo?(jaws)
Comment on attachment 8588432 [details] [diff] [review]
bug1151252.patch

I think we might want to backout the re-layout part of bug 1136670 and give UX more time to think of a UI that will scale better.
Attachment #8588432 - Flags: review?(jaws)
Whiteboard: [marked as blocking shipping ICP so the backout proposal comes up during triage]
This backs out the change from bug 1013695 and the content part of bug 1136670.
Attachment #8589104 - Flags: review?(jaws)
Assignee: richard.marti → gijskruitbosch+bugs
Now keeping the size label adjustment.
Attachment #8589106 - Flags: review?(jaws)
Comment on attachment 8589104 [details] [diff] [review]
back out content part of the restyle of about:preferences,

Review of attachment 8589104 [details] [diff] [review]:
-----------------------------------------------------------------

We'll want to re-apply the changes from bug 1013695 on top of the backout, since the issue still existed before the change in layouts.
Attachment #8589104 - Flags: review?(jaws) → review-
Attachment #8589106 - Flags: review?(jaws) → review+
Attachment #8589104 - Attachment is obsolete: true
remote:   https://hg.mozilla.org/integration/fx-team/rev/25325c131f48
Whiteboard: [marked as blocking shipping ICP so the backout proposal comes up during triage]
Iteration: --- → 40.1 - 13 Apr
Points: --- → 2
Flags: qe-verify+
Flags: firefox-backlog+
Priority: -- → P2
Hardware: x86_64 → x86
OS: Linux → All
Hardware: x86 → All
https://hg.mozilla.org/mozilla-central/rev/25325c131f48
Status: ASSIGNED → RESOLVED
Closed: 9 years ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 40
QA Contact: camelia.badau
Comment on attachment 8589106 [details] [diff] [review]
back out content part of the restyle of about:preferences,

Approval Request Comment
[Feature/regressing bug #]: bug 1136670
[User impact if declined]: can't easily change font names in preferences depending on the locale / font size
[Describe test coverage new/current, TreeHerder]: nope
[Risks and why]: very low, basically a targeted backout of the bits that regressed this
[String/UUID change made/needed]: nope
Attachment #8589106 - Flags: approval-mozilla-beta?
Attachment #8589106 - Flags: approval-mozilla-aurora?
Comment on attachment 8589106 [details] [diff] [review]
back out content part of the restyle of about:preferences,

Should be in 38 beta 3.
Attachment #8589106 - Flags: approval-mozilla-beta?
Attachment #8589106 - Flags: approval-mozilla-beta+
Attachment #8589106 - Flags: approval-mozilla-aurora?
Attachment #8589106 - Flags: approval-mozilla-aurora+
Verified fixed on Windows 7 64bit, Ubuntu 13.10 32bit and Mac OSX 10.9.5 using latest Nightly 40.0a1 (buildID: 20150427030207), latest Aurora 39.0a2 (buildID: 20150427004010) and Firefox 38 Beta 8 (buildID: 20150426174329).
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: