Closed
Bug 1425822
Opened 7 years ago
Closed 7 years ago
"Settings for Clearing History" column width is still off in non-en-US locales
Categories
(Firefox :: Settings UI, defect)
Firefox
Settings UI
Tracking
()
RESOLVED
FIXED
Firefox 59
| Tracking | Status | |
|---|---|---|
| firefox59 | --- | fixed |
People
(Reporter: flod, Assigned: dao)
References
Details
Attachments
(3 files)
See the screenshot that compares the same dialog, on an Italian build, between current Nightly and Beta (don't have a regression range).
Issues:
* Columns are uneven.
* Title is displayed in a smaller font than other text.
* (pre-existing) Dialog is not resizable, which leads to issues like bug 1322955.
| Reporter | ||
Updated•7 years ago
|
Summary: "Settings for Clearing History" sub-dialog layout is broken → "Settings for Clearing History" sub-dialog layout issues (title font size, column width)
| Reporter | ||
Updated•7 years ago
|
| Assignee | ||
Comment 1•7 years ago
|
||
(In reply to Francesco Lodolo [:flod] from comment #0)
> Created attachment 8937414 [details]
> Screenshot comparing 58 and 59 (Italian)
>
> See the screenshot that compares the same dialog, on an Italian build,
> between current Nightly and Beta (don't have a regression range).
>
> Issues:
> * Columns are uneven.
Short of determining the column width automatically which I think would be preferable, this needs to be fixed in the locale. The em value from Firefox 58 is referring to root font size which doesn't make much sense. Maybe we should change the entity name so locals are forced to update this.
> * Title is displayed in a smaller font than other text.
I don't see that in your screenshot. In fact the title looks smaller in 58.
| Assignee | ||
Comment 2•7 years ago
|
||
(In reply to Dão Gottwald [::dao] from comment #1)
> > * Columns are uneven.
>
> Short of determining the column width automatically which I think would be
> preferable, this needs to be fixed in the locale. The em value from Firefox
> 58 is referring to root font size which doesn't make much sense. Maybe we
> should change the entity name so locals are forced to update this.
Actually it looks like we should just get rid of sanitizePrefs2.inContent.column.width at this point. Its value is the same as sanitizePrefs2.column.width, which makes sense.
| Reporter | ||
Comment 3•7 years ago
|
||
Screenshot with section titles highlighted.
| Reporter | ||
Comment 4•7 years ago
|
||
(In reply to Dão Gottwald [::dao] from comment #1)
> I don't see that in your screenshot. In fact the title looks smaller in 58.
"title" might have been misleading, I meant the section title above each group of checkboxes.
| Comment hidden (mozreview-request) |
| Assignee | ||
Comment 6•7 years ago
|
||
(In reply to Francesco Lodolo [:flod] from comment #4)
> (In reply to Dão Gottwald [::dao] from comment #1)
> > I don't see that in your screenshot. In fact the title looks smaller in 58.
>
> "title" might have been misleading, I meant the section title above each
> group of checkboxes.
Okay, this is probably Mac-specific. Should be filed as a separate bug.
| Assignee | ||
Updated•7 years ago
|
Assignee: nobody → dao+bmo
Status: NEW → ASSIGNED
Summary: "Settings for Clearing History" sub-dialog layout issues (title font size, column width) → "Settings for Clearing History" column width is still off in non-en-US locales
| Comment hidden (mozreview-request) |
| Reporter | ||
Comment 8•7 years ago
|
||
Just to make sure we don't fall into the same issue that requested a back out in bug 1425724.
sanitizePrefs2.modal.width and sanitizePrefs2.column.width are currently unused?
The safer approach would be to use two new strings for these values, and drop the 4 old ones. These two strings were customized for the old preferences, and this change might lead to unexpected results
https://transvision.mozfr.org/string/?entity=browser/chrome/browser/sanitize.dtd:sanitizePrefs2.inContent.column.width&repo=gecko_strings
https://transvision.mozfr.org/string/?entity=browser/chrome/browser/sanitize.dtd:sanitizePrefs2.inContent.dialog.width&repo=gecko_strings
| Assignee | ||
Comment 9•7 years ago
|
||
(In reply to Francesco Lodolo [:flod] from comment #8)
> These two strings were customized for the old
> preferences, and this change might lead to unexpected results
In the non-in-content dialog, the em value was relative to the actual text size, just like today as of bug 1422100.
| Reporter | ||
Comment 10•7 years ago
|
||
(In reply to Dão Gottwald [::dao] from comment #9)
> (In reply to Francesco Lodolo [:flod] from comment #8)
> > These two strings were customized for the old
> > preferences, and this change might lead to unexpected results
>
> In the non-in-content dialog, the em value was relative to the actual text
> size, just like today as of bug 1422100.
Thanks for confirming. No need to change string IDs then.
| Assignee | ||
Updated•7 years ago
|
Comment 11•7 years ago
|
||
| mozreview-review | ||
Comment on attachment 8937967 [details]
Bug 1425822 - Get rid of sanitizePrefs2.inContent.dialog.width and sanitizePrefs2.inContent.column.width.
https://reviewboard.mozilla.org/r/208706/#review214916
Attachment #8937967 -
Flags: review?(jaws) → review+
Comment 12•7 years ago
|
||
We're sorry, Autoland could not rebase your commits for you automatically. Please manually rebase your commits and try again.
hg error in cmd: hg rebase -s 9292e549f38b -d b5b951c9a615: rebasing 440067:9292e549f38b "Bug 1425822 - Get rid of sanitizePrefs2.inContent.dialog.width and sanitizePrefs2.inContent.column.width. r=jaws" (tip)
merging browser/locales/en-US/chrome/browser/sanitize.dtd
warning: conflicts while merging browser/locales/en-US/chrome/browser/sanitize.dtd! (edit, then use 'hg resolve --mark')
unresolved conflicts (see hg resolve, then hg rebase --continue)
Comment 13•7 years ago
|
||
Pushed by dgottwald@mozilla.com:
https://hg.mozilla.org/integration/mozilla-inbound/rev/4db35709292a
Get rid of sanitizePrefs2.inContent.dialog.width and sanitizePrefs2.inContent.column.width. r=jaws
Comment 14•7 years ago
|
||
| bugherder | ||
Status: ASSIGNED → RESOLVED
Closed: 7 years ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 59
You need to log in
before you can comment on or make changes to this bug.
Description
•