Closed Bug 1815191 Opened 2 years ago Closed 2 years ago

After sending message, dialog box 'copying message to sent folder" is too small for French translation, and `Cancel` button cut off

Categories

(Thunderbird :: General, defect)

Thunderbird 102
defect

Tracking

(Not tracked)

RESOLVED DUPLICATE of bug 1790619

People

(Reporter: loic_dupont, Unassigned)

Details

Attachments

(2 files)

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

Steps to reproduce:

Install TB in FRENCH version.
compose a message (to anyone, doesn't matter)
send it
watch the popup windows saying :
"sending message" (in french).
Then watch the popup window switching to the message :
"copying message to sent folder".
In french, it goes like
"Copie du message vers le dossier Messages en[cropped text]"

Here is the bug : as the message is cropped, because the popup window doesn't stretch, the "Abort" button is also cropped.

Actual results:

Text in the popup window is cropped.
Button "abort" is cropped.

Expected results:

the popup window after sending a message should strech to the text, as the associated "abort" button stretch to align on right to the text... So both shouldn't be cropped.

Thanks! Confirming based on reporter's screenshot.

Richard, any insights?
Can localizers change the size of this dialog? Or TB should handle this somehow?

Severity: -- → S3
Component: Untriaged → General
Flags: needinfo?(richard.marti)
Summary: after sending message, dialog box 'copying message to sent" is too small for french translation → After sending message, dialog box 'copying message to sent folder" is too small for french translation, and `Cancel` button cut off

It looks that it's hard-coded here https://searchfox.org/comm-central/source/mailnews/compose/content/sendProgress.xhtml#13 and can't be set by the localizers.

Flags: needinfo?(richard.marti)

(In reply to Richard Marti (:Paenglab) from comment #2)

It looks that it's hard-coded here https://searchfox.org/comm-central/source/mailnews/compose/content/sendProgress.xhtml#13 and can't be set by the localizers.

Thanks! Helpful insight. Not really hard-coded as we have style="min-width:56ch;". This line isn't in 102, as it was added by bug 1790619 with an intention of fixing the very problem we have here. Incidentally, the patch has r=Paenglab :-)

Will request uplift, this is important basic functionality.

Loic, are you able to test on TB beta if our fix works for French as expected?
Thunderbird Beta

Status: UNCONFIRMED → RESOLVED
Closed: 2 years ago
Duplicate of bug: 1790619
Flags: needinfo?(loic_dupont)
Resolution: --- → DUPLICATE
Summary: After sending message, dialog box 'copying message to sent folder" is too small for french translation, and `Cancel` button cut off → After sending message, dialog box 'copying message to sent folder" is too small for French translation, and `Cancel` button cut off

screenshoot in BETA version 100.0b3 loaded and installed 06 february 2023. Seems to be OK this time.

Flags: needinfo?(loic_dupont)

(In reply to Thomas D. (:thomas8) from comment #3)

Loic, are you able to test on TB beta if our fix works for French as expected?
Thunderbird Beta

heyyyyyy 🎉✨

After installing BETA version 100.0b3, and testing, it's seems to be working.

See attachement "work properly with BETA version 100.0b3.png" https://bugzilla.mozilla.org/attachment.cgi?id=9316222

Additional information: BETA version 110.0b3 (NOT 100.0b3)
Identifiant de compilation : 20230130172806

...I THINK the correction is just to have modified the FRENCH TEXT from "Copie du message vers le dossier Message envoyé" (loooooong text) to "Copie du message vers le dossier Envoyés" (shorter text)

It's more a workaround than a fix ?!

(In reply to loic_dupont from comment #4)

Created attachment 9316222 [details]
work properly with BETA version 100.0b3.png

screenshoot in BETA version 100.0b3 loaded and installed 06 february 2023. Seems to be OK this time.

Well, probably not - at least we can't tell from your screenshot, because you've changed the conditions:
attachment 9316092 [details]: Copie du message vers le dossier Messages envoyés (fail on 102)
attachment 9316222 [details]: Copie du message vers le dossier Envoyés (shorter string works on 110.0b3, i.e. longer string may still fail).

I think if you temporarily switch your ≡ > Account Settings > YourAccount > Copies & Folders > Place a copy in: Sent Folder on: to a custom folder with a longer name, you'll still see the failure. That's what I tested in Bug 1790619 Comment 12, see screenshot attachment 9316213 [details].

Btw, you can use bug 123 and attachment 123 [details] syntax for auto-linkification here.

(In reply to loic_dupont from comment #7)

...I THINK the correction is just to have modified the FRENCH TEXT from "Copie du message vers le dossier Message envoyé" (loooooong text) to "Copie du message vers le dossier Envoyés" (shorter text)

It's more a workaround than a fix ?!

Yep! See my Bug 1790619 Comment 12, screenshot attachment 9316213 [details].

You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: