Checkbox labels are cut on localized Crash Reporter Dialog

NEW
Unassigned

Status

()

Toolkit
Crash Reporting
9 years ago
3 years ago

People

(Reporter: flod, Unassigned)

Tracking

Firefox Tracking Flags

(Not tracked)

Details

Attachments

(2 attachments)

(Reporter)

Description

9 years ago
Created attachment 412468 [details]
Screenshot of the Crash Reporter Window

If the translation of the two checkboxes under the comment textarea is too long, the label is cut instead of being displayed on two lines or force the window to enlarge. 

This happens on the Italian (it) build on Mac OS X, but I suppose the same issue can affect other locales as well.

The second checkbox translation is "Invia una e-mail quando saranno disponibili nuove informazioni" (CheckSendEmail in crashreporter.ini).
We have code that tries to resize the checkbox labels to fit (and the window to fit, if the checkboxes get too wide):
http://mxr.mozilla.org/mozilla-central/source/toolkit/crashreporter/client/crashreporter_osx.mm#405

It must be failing for some reason here. Has this always worked like this for you, or is this a regression?
(Reporter)

Comment 2

9 years ago
(In reply to comment #1)
> It must be failing for some reason here. Has this always worked like this for
> you, or is this a regression?

Honestly I don't know, I've just noticed this problem because I encountered a bug that makes mozilla1.9.2 nightlies systematically crash.

BTW, I tried with a fresh profile on Fx 3.5.5 and crashme.xpi, and the window has the same problem.
(Reporter)

Comment 3

9 years ago
Just to narrow down a bit: 
* Firefox 3.5.2, same problem
* Firefox 3.0.15, works fine (window it's resized)

I suppose that this problem has always been there for Firefox 3.5
Duplicate of this bug: 515175
(Reporter)

Comment 5

5 years ago
This is still happening on current builds. Any chance to fix it?
Created attachment 815846 [details]
Screenshot of the Crash Reporter window localized in French

This is still happening. When the dialog is localized in French, there are 2 strings that overflow.
Attachment #815846 - Attachment description: Capture d’écran 2013-10-10 à 13.47.45.png → Screenshot of the Crash Reporter window localized in French
(Reporter)

Updated

3 years ago
Duplicate of this bug: 1106330
You need to log in before you can comment on or make changes to this bug.