Closed Bug 1947225 Opened 1 month ago Closed 1 month ago

Shortcut title overflowing in Edit/New Shortcut dialogs from about:home

Categories

(Firefox :: New Tab Page, defect)

Desktop
All
defect

Tracking

()

RESOLVED FIXED
137 Branch
Tracking Status
firefox-esr128 --- unaffected
firefox135 --- wontfix
firefox136 --- wontfix
firefox137 --- verified

People

(Reporter: bhidecuti, Assigned: rhamoui)

References

(Regression)

Details

(Keywords: regression)

Attachments

(2 files)

Attached image screenshot

Found in

  • 136.0b3

Affected versions

  • 137.0a1
  • 136.0b3
  • 135.0

Tested platforms

  • Affected platforms: Windows 11, macOS 14, Ubuntu 22.04
  • Unaffected platforms: none

Steps to reproduce

  1. Navigate to about:home and add a new shortcut or edit an existing one by opening the 3-dot menu from any shortcut
  2. In the New/Edit Shortcut dialog, enter a long title in the “Title” field (e.g. TestTestTestTestTestTestTestTestTestTestTest)
  3. Observe how the title is displayed under the shortcut image

Expected result

  • The title is truncated and there are no overflow issues

Actual result

  • The title is not truncated. If the entered text contains no spaces, it extends across horizontally. If the text contains spaces, it wraps onto multiple lines, causing the dialog height to increase

Regression range

Additional notes

  • See the attached screenshot

:rhamoui, since you are the author of the regressor, bug 1433530, could you take a look?

For more information, please visit BugBot documentation.

Flags: needinfo?(rhamoui)
Assignee: nobody → rhamoui
Flags: needinfo?(rhamoui)
Pushed by nbarrett@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/01c311a854a9 Fix tile text overflow in topsites form. r=home-newtab-reviewers,nbarrett
Status: NEW → RESOLVED
Closed: 1 month ago
Resolution: --- → FIXED
Target Milestone: --- → 137 Branch

Verified as fixed on Firefox Nightly 137.0a1 (2025-02-13), using macOS 14.7, Windows 11 and Ubuntu 22.04. Shortcut title is no longer overflowing in Edit/New Shortcut dialogs from about:home.

The patch landed in nightly and beta is affected.
:rhamoui, is this bug important enough to require an uplift?

  • If yes, please nominate the patch for beta approval.
  • If no, please set status-firefox136 to wontfix.

For more information, please visit BugBot documentation.

Flags: needinfo?(rhamoui)
Flags: needinfo?(rhamoui)
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: