Closed Bug 1706282 Opened 3 years ago Closed 3 years ago

[macOS] Devedition default browser message is not fully contained in its modal

Categories

(Firefox :: Messaging System, defect, P2)

Desktop
macOS
defect

Tracking

()

VERIFIED FIXED
90 Branch
Iteration:
90.1 - Apr 19 - May 2
Tracking Status
firefox89 --- verified
firefox90 --- verified

People

(Reporter: csasca, Assigned: Mardak)

References

(Blocks 2 open bugs)

Details

(Keywords: regressionwindow-wanted, Whiteboard: [proton-modals][proton-onboarding][priority:2a][proton-uplift])

Attachments

(5 files)

Affected versions

  • Firefox 89.0b1 devedition

Affected platforms

  • macOS 10.15.7

Steps to reproduce

  1. Launch Firefox with a new profile and then close it
  2. Launch Firefox again

Expected result

  • The message "Make Firefox Developer Edition your default browser?" is fully visible

Actual result

  • The "Make" is fully hidden and the first part of "Firefox" is barely visible

Regression range

  • Will see for a regression

Additional notes

  • The issue can be seen in the attachment
  • The other Os's are not affected
  • Only Devedition is affected
Has Regression Range: --- → no
Has STR: --- → yes

We can turn off the fade but that doesn't really alter the fact that the width here is insufficient. Not sure what we want to do here. I also expect the same issue may affect other locales...

Blocks: 1701995
Whiteboard: [proton-modals]

(In reply to :Gijs (he/him) from comment #1)

We can turn off the fade but that doesn't really alter the fact that the width here is insufficient. Not sure what we want to do here. I also expect the same issue may affect other locales...

That's for sure. I don't even know if Chinese can fit in that space
https://transvision.flod.org/string/?entity=browser/browser/defaultBrowserNotification.ftl:default-browser-prompt-title-alt&repo=gecko_strings

Technically, it could be mitigated by using -brand-shorter-name, which resolves to "Firefox" on DevEdition too. But: it requires a new string, and it's potentially confusing. More importantly, I expect some locales to have truncation issues even on release with just "Firefox".

Attached image example wrap title

Meridel and katieC agree the desired behavior is to wrap the title when too long

Allow adjustableTitle to wrap skiping cropping and fading.

Assignee: nobody → edilee
Status: NEW → ASSIGNED
QA Whiteboard: [qa-regression-triage]
Priority: -- → P2
Whiteboard: [proton-modals] → [proton-modals] [priority:2a]
Pushed by elee@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/efc1b82bbd44
Wrap default browser prompt title r=Gijs

QA steps:

  1. download tg (Tajik — Тоҷикӣ) build
  2. get default browser prompt to show, e.g., ChromeUtils.import("resource:///modules/BrowserGlue.jsm").DefaultBrowserCheck.prompt(window);
  3. see wrapped text instead of faded
Iteration: --- → 90.1 - Apr 19 - May 2
Component: Notifications and Alerts → Messaging System
Product: Toolkit → Firefox
Status: ASSIGNED → RESOLVED
Closed: 3 years ago
Resolution: --- → FIXED
Target Milestone: --- → 90 Branch

Comment on attachment 9217268 [details]
Bug 1706282 - Wrap default browser prompt title r?Gijs

Beta/Release Uplift Approval Request

  • User impact if declined: Long proton prompt titles aren't fully visible
  • Is this code covered by automated tests?: No
  • Has the fix been verified in Nightly?: Yes
  • Needs manual test from QE?: Yes
  • If yes, steps to reproduce: Comment 6
  • List of other uplifts needed: none
  • Risk to taking this patch: Low
  • Why is the change risky/not risky? (and alternatives if risky): Mainly CSS change to conditionally wrap vs crop
  • String changes made/needed: none
Attachment #9217268 - Flags: approval-mozilla-beta?
Flags: qe-verify+
QA Whiteboard: [qa-regression-triage] → [qa-regression-triage][qa-triaged]
Attached image fx icon.png

Verified that the text is wrapped now on Firefox 90.0a1 (2021-04-25) on macOS 10.15.

The icon for Firefox seems to be a bit offset now (see attachment). Will this be addressed here or should we file a bug for it?

Flags: needinfo?(edilee)

Hmm.. That does look a little bit high. If it's also too high for Chinese, then we can have a separate bug to push it down a little.

Flags: needinfo?(edilee)
Attached image zh-CN message.png

Doesn't seem to be as bad as the other one, but still a bit high though. What should we do?

Flags: needinfo?(edilee)

Yeah we can have a followup bug to move the icon down probably 2px.

Flags: needinfo?(edilee)
QA Whiteboard: [qa-regression-triage][qa-triaged] → [qa-regression-triage] [qa-triaged]

Logged Bug 1707828 for the icon issue

Whiteboard: [proton-modals] [priority:2a] → [proton-modals] [priority:2a] [proton-uplift]
Blocks: 1707828

Comment on attachment 9217268 [details]
Bug 1706282 - Wrap default browser prompt title r?Gijs

Approved for 89 beta 6, thanks.

Attachment #9217268 - Flags: approval-mozilla-beta? → approval-mozilla-beta+
Whiteboard: [proton-modals] [priority:2a] [proton-uplift] → [proton-modals][proton-onboarding][priority:2a][proton-uplift]

Verified with zh-CN build on 89.0b7 and the issue is fixed.

Status: RESOLVED → VERIFIED
Flags: qe-verify+
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: