Closed Bug 1379210 Opened 7 years ago Closed 7 years ago

Layout issue with Learn more link for "Use Tracking Protection to block known trackers"

Categories

(Firefox :: Settings UI, defect, P3)

defect

Tracking

()

VERIFIED FIXED
Firefox 58
Tracking Status
firefox57 --- verified
firefox58 --- verified

People

(Reporter: flod, Assigned: evanxd)

References

Details

(Whiteboard: [photon-preference])

Attachments

(4 files)

Attached image prefs.png
As you can see from the attachment, it currently looks quite ugly in localize nightly (Italian).

The text is longer than English, and forces the Learn more link to move on the next line, where it's displayed with a padding.

I wonder if we could move down the buttons to gain more space, and possibly figure out a better way to deal with these Learn more links.
Priority: -- → P5
Attached image 57beta.png
This just moved from ugly (on nightly) to broken on 57 Beta. It looks like there's a missing space between the link and the text, and I expect other languages to be as broken.

I'd suggest to review the priority of this bug at this point.
Evan could you take a look?
Flags: needinfo?(evan)
Priority: P5 → --
Whiteboard: [photon-preference][triage]
Sure.
Assignee: nobody → evan
Status: NEW → ASSIGNED
Flags: needinfo?(evan)
Priority: -- → P3
Whiteboard: [photon-preference][triage] → [photon-preference]
Attachment #8913591 - Flags: review?(mconley)
Hi Mike,

Could you help review the patch?

Thank you.
Comment on attachment 8913591 [details]
Bug 1379210 - Add a space between the trackingProtectionPBM checkbox and the learn more link.

https://reviewboard.mozilla.org/r/184968/#review190142

Much better, thanks!
Attachment #8913591 - Flags: review?(mconley) → review+
Comment on attachment 8913591 [details]
Bug 1379210 - Add a space between the trackingProtectionPBM checkbox and the learn more link.

https://reviewboard.mozilla.org/r/184968/#review190260

This changeset will break entire RWD experience if we shrink window to smaller size (with `privacy.trackingprotection.ui.enabled = false`). See attatchement.
Attachment #8913591 - Flags: review-
Attached image label-too-long.png
I can see an additional horizontal scrollbar in smaller browser window size.
Comment on attachment 8913591 [details]
Bug 1379210 - Add a space between the trackingProtectionPBM checkbox and the learn more link.

https://reviewboard.mozilla.org/r/184968/#review191004
Attachment #8913591 - Flags: review+
Pushed by rchien@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/fc8d919ff430
Add a space between the trackingProtectionPBM checkbox and the learn more link. r=mconley,rickychien
https://hg.mozilla.org/mozilla-central/rev/fc8d919ff430
Status: ASSIGNED → RESOLVED
Closed: 7 years ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 58
Comment on attachment 8913591 [details]
Bug 1379210 - Add a space between the trackingProtectionPBM checkbox and the learn more link.

Approval Request Comment
[Feature/Bug causing the regression]: Bug 1398050

[User impact if declined]: There is not space between trackingProtectionPBM checkbox and the learn more link. Check the screenshot https://bug1379210.bmoattachments.org/attachment.cgi?id=8912521.

[Is this code covered by automated tests?]: No.

[Has the fix been verified in Nightly?]: No. 

[Needs manual test from QE? If yes, steps to reproduce]: Yes.
STR:
1. Set the `privacy.trackingprotection.ui.enabled` config as `false`
2. Check the "Use Tracking Protection to block known trackers" in the Tracking Protection section.

Expected result
There is a space between the trackingProtectionPBM checkbox and the learn more link.

[List of other uplifts needed for the feature/fix]: None.

[Is the change risky?]: No.

[Why is the change risky/not risky?]: We only added a spacer element in the xul document to fix it.

[String changes made/needed]: No.
Attachment #8913591 - Flags: approval-mozilla-beta?
Comment on attachment 8913591 [details]
Bug 1379210 - Add a space between the trackingProtectionPBM checkbox and the learn more link.

Photon related fit and finish, Beta57+
Attachment #8913591 - Flags: approval-mozilla-beta? → approval-mozilla-beta+
Flags: qe-verify+
ID build: 20171005195903
User agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:57.0) Gecko/20100101 Firefox/57.0

Verified as fixed on Firefox Nightly 58.0a1 and Beta 57.0b6 on Windows 10 x 64, Windows 7 x32, Mac OS X 10.12 and Ubuntu 16.04 x64.
Status: RESOLVED → VERIFIED
Flags: qe-verify+
Flags: qe-verify+
QA Contact: hani.yacoub
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: