Closed Bug 1736327 Opened 3 years ago Closed 3 years ago

Virtual folder properties dialog (which is not resizeable) is not wide enough to fit text for "Search Online..."

Categories

(Thunderbird :: General, defect)

Thunderbird 94
Unspecified
All
defect

Tracking

(thunderbird_esr91 unaffected, thunderbird94 fixed)

RESOLVED FIXED
95 Branch
Tracking Status
thunderbird_esr91 --- unaffected
thunderbird94 --- fixed

People

(Reporter: camille.elhage, Assigned: Paenglab)

Details

(Keywords: regression)

Attachments

(3 files)

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

Steps to reproduce:

Right-click on a virtual folder (unified folder) - properties.
The dialog is truncated (see attached screenshot).
I am under windows 11, screen size is 2560x1440. Text ratio is 125% but changing to 100% does not solve the issue.
I ran TB in troubleshooting mode and the issue is still here.

Actual results:

The virtual folder properties dialog is truncated (see attached screenshot).

Expected results:

The dialog should not truncate the content or should be resizable.

Hmm, maybe non en-US only. Probably from https://phabricator.services.mozilla.com/D125375
It looks like the (english) [x] Search online (gives up-to-date results ........) is not giving the window a wider than normal natural width.

Keywords: regression
Summary: Virtual folder properties dialog truncated → Virtual folder properties dialog truncated (using French locale)

Camile, thanks for doing all those tests without being asked :)

This is likely to have wide-ranging impact

Severity: -- → S3
Status: UNCONFIRMED → NEW
Component: Untriaged → General
Ever confirmed: true
Flags: needinfo?(henry)
OS: Unspecified → All
Summary: Virtual folder properties dialog truncated (using French locale) → Virtual folder properties dialog (which is not resizeable) is not wide enough to fit text for "Search Online..."
Attached image dialog-fixed.png

This could be fixed with adding flex="1". The result would be like on the screenshot.

With shorter locales like English the radios would be no more left aligned. See bottom of the screenshot.

Attachment #9246456 - Flags: feedback?(alessandro)

Comment on attachment 9246456 [details]
dialog-fixed.png

I'm okay with this.
Definitely long text should wrap when reaching the limit of a window.

Attachment #9246456 - Flags: feedback?(alessandro) → feedback+
Assignee: nobody → richard.marti
Status: NEW → ASSIGNED
Flags: needinfo?(henry)
Attachment #9246484 - Flags: review?(alessandro)
Attachment #9246484 - Flags: review?(alessandro) → review+
Target Milestone: --- → 95 Branch

Pushed by mkmelin@iki.fi:
https://hg.mozilla.org/comm-central/rev/773972ecfc48
Fix the Virtual Folder Properties dialog for locales with long strings. r=aleca

Status: ASSIGNED → RESOLVED
Closed: 3 years ago
Resolution: --- → FIXED

You're welcome Wayne! I am a fan of Thunderbird. Glad to help :)

Thx Camille, we appreciate the help!

Comment on attachment 9246484 [details] [diff] [review]
1736327-virtual-folder-properties.patch

[Approval Request Comment]
User impact if declined: on some locales cropped text in virtual folder dialog
Testing completed (on c-c, etc.): on c-c
Risk to taking this patch (and alternatives if risky): low

Attachment #9246484 - Flags: approval-comm-beta?

Comment on attachment 9246484 [details] [diff] [review]
1736327-virtual-folder-properties.patch

[Triage Comment]
Approved for beta. (note to self, this doesn't affect tb91)

Attachment #9246484 - Flags: approval-comm-beta? → approval-comm-beta+
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: