Closed Bug 1644612 Opened 4 years ago Closed 11 months ago

Languages selection window keep growing when adding new languages, buttons disappear

Categories

(Firefox :: Settings UI, enhancement, P3)

77 Branch
enhancement

Tracking

()

VERIFIED FIXED
121 Branch
Tracking Status
firefox-esr115 --- verified
firefox119 --- wontfix
firefox120 --- verified
firefox121 --- verified

People

(Reporter: marco.franco, Assigned: emilio)

References

Details

(Whiteboard: [fidefe-quality-foundation])

Attachments

(3 files)

Attached image bug firefox.jpg

User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:77.0) Gecko/20100101 Firefox/77.0

Steps to reproduce:

in opzioni/generale/lingua, inserisco 4 o 5 lingue alternative, sia nel menu che nella visualizzazione delle pagine

in the options/general/language, I insert 4 or 5 alternative languages, both in the menu and in the visualization of the pages

Actual results:

se provo a inserirw una nuova ulteriore lingua scompaiono i tasti ok in basso della finestre non posso confermare

if I try to insert a new language the ok keys at the bottom of the window disappears and I can not confirm

Flags: needinfo?(marco.franco)

It looks like the window keeps growing taller. Note that you can resize the window (drag the bottom right corner), but the behavior seems wrong, it should display a scrollbar at some point, instead of making the buttons disappear.

Status: UNCONFIRMED → NEW
Component: Untriaged → Preferences
Ever confirmed: true
Summary: in opzioni/generale/lingua, se inserisco più di 4 o 5 lingue alternative, sia nel menu che nella isualizzazione delle pagine, inserendo una nuova ulteriore lingua scompaiono i tasti ok in basso della finestra → Languages selection window keep growing when adding new languages, buttons disappear

Redirect a needinfo that is pending on an inactive user to the triage owner.
:jaws, since the bug has recent activity, could you have a look please?

For more information, please visit auto_nag documentation.

Flags: needinfo?(marco.franco) → needinfo?(jaws)
Flags: needinfo?(jaws)
See Also: → 1825236
Duplicate of this bug: 1703619
Duplicate of this bug: 1764087
Duplicate of this bug: 1827336
Duplicate of this bug: 1652195

Carrying over priority/severity from bug 1652195, hoping that's acceptable.

We had 2 bugs on file for the same issue (and a few dupes for each).

Severity: -- → S3
Priority: -- → P3
Duplicate of this bug: 1836627
Whiteboard: [fidefe-quality-foundation]

I think this should be a matter of just hardcoding a certain height to the richlistbox, say max-height: calc(<number-of-visible-richlistitems> * (1.8em + 0.6em + 2px)), or something.
(line-height + padding-top&bottom + borders)

The "righter" way to do this is adding a bunch of min-height: 0 to the
grid, the dialog, the content box, etc. But this is more similar to what
other dialogs do.

Assignee: nobody → emilio
Status: NEW → ASSIGNED
Duplicate of this bug: 1860252

It would be nice to get this fixed... Emilio, do you have time to investigate a solution that addresses Dão's comments?

Updated

Flags: needinfo?(emilio)
Pushed by ealvarez@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/d8d6bde5d9d8 Add a height and cleanup languages listbox styling. r=desktop-theme-reviewers,dao
Status: ASSIGNED → RESOLVED
Closed: 11 months ago
Resolution: --- → FIXED
Target Milestone: --- → 121 Branch

Worth Beta and ESR115 uplift nominations given the number of dupes?

Flags: needinfo?(emilio)

The "righter" way to do this is adding a bunch of min-height: 0 to the
grid, the dialog, the content box, etc. But this is more similar to what
other dialogs do.

Original Revision: https://phabricator.services.mozilla.com/D180890

Attachment #9361166 - Flags: approval-mozilla-beta?

Uplift Approval Request

  • Explanation of risk level: well scoped CSS change
  • Risk associated with taking this patch: low
  • Fix verified in Nightly: yes
  • Needs manual QE test: yes
  • Steps to reproduce for manual QE testing: comment 0
  • Is Android affected?: no
  • String changes made/needed: none
  • User impact if declined: comment 0
  • Code covered by automated testing: no
Flags: qe-verify+
Flags: needinfo?(emilio)

Comment on attachment 9361166 [details]
Bug 1644612 - Add a height and cleanup languages listbox styling. r=mconley,Gijs

Approved for 120.0b5

Attachment #9361166 - Flags: approval-mozilla-beta? → approval-mozilla-beta+
QA Whiteboard: [qa-triaged]

Reproduced the initial issue using an old Nightly from 2023-10-22, verified that the buttons are not hidden when more languages are added into the menu using latest Nightly 121.0a1 and latest Firefox 120.0b5 build across platforms (Windows 10, macOS 13 and Ubuntu 22.04). Leaving the bug as resolved fixed until this is fixed on esr115 as well.

Comment on attachment 9361166 [details]
Bug 1644612 - Add a height and cleanup languages listbox styling. r=mconley,Gijs

Approved for 115.5esr

Attachment #9361166 - Flags: approval-mozilla-esr115+

Also verified fixed on esr115 using the latest build from treeherder across platforms (Windows 10, macOS 13 and Ubuntu 22.04).

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

Attachment

General

Created:
Updated:
Size: