Closed Bug 1732783 Opened 3 years ago Closed 3 years ago

Opened event view forces Edit button beyond window border when a text string above flows to a second line

Categories

(Calendar :: Dialogs, defect)

Thunderbird 91
defect

Tracking

(thunderbird_esr91+ verified, thunderbird94+ verified)

VERIFIED FIXED
95 Branch
Tracking Status
thunderbird_esr91 + verified
thunderbird94 + verified

People

(Reporter: dave, Assigned: darktrojan)

Details

Attachments

(2 files)

User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/93.0.4577.82 Safari/537.36

Steps to reproduce:

Create an event with a long-enough text string in the title or location fields
Open the event

Actual results:

Opened event's Edit button is forced over the bottom window border if a text string in the above fields has more than one line of text. This effect can be toggled by dragging the right border to toggle the number of lines for the affecting text string.

Expected results:

Window should have reformatted to allow space around the Edit button.

Admittedly it's not a huge issue. But it does seem not right.

Should have said that it's text strings in the fields above the Description box that are important. I think only Title or Location fields are capable of such long strings.

Summary: Opened event view pushes Edit button beyond window border when any field a text string that spills to a second line → Opened event view forces Edit button beyond window border when a text string above flows to a second line
Attached image Event view bug.PNG
Component: Untriaged → Dialogs
OS: Unspecified → All
Product: Thunderbird → Calendar
Hardware: Unspecified → Desktop

This has been annoying me for ages.

Assignee: nobody → geoff
Status: UNCONFIRMED → ASSIGNED
Ever confirmed: true

If a line of text wraps, the content doesn't fit any more and the edit button falls off the bottom.

Depends on D127598

Hardware: Desktop → All

Pushed by geoff@darktrojan.net:
https://hg.mozilla.org/comm-central/rev/db98a16886d1
Resize calendar item summary dialog to match contents. r=mkmelin

Status: ASSIGNED → RESOLVED
Closed: 3 years ago
Resolution: --- → FIXED
Target Milestone: --- → 95 Branch

Comment on attachment 9244442 [details]
Bug 1732783 - Resize calendar item summary dialog to match contents. r=mkmelin

[Approval Request Comment]
Regression caused by (bug #):
User impact if declined: calendar event summary window is too small
Testing completed (on c-c, etc.): in 94
Risk to taking this patch (and alternatives if risky): none

Attachment #9244442 - Flags: approval-comm-esr91?

Comment on attachment 9244442 [details]
Bug 1732783 - Resize calendar item summary dialog to match contents. r=mkmelin

Oops, wrong flag.

[Approval Request Comment]
Regression caused by (bug #):
User impact if declined: calendar event summary window is too small
Testing completed (on c-c, etc.): landed a week ago
Risk to taking this patch (and alternatives if risky): none

Attachment #9244442 - Flags: approval-comm-esr91? → approval-comm-beta?

Comment on attachment 9244442 [details]
Bug 1732783 - Resize calendar item summary dialog to match contents. r=mkmelin

[Triage Comment]
Approved for beta

Attachment #9244442 - Flags: approval-comm-beta? → approval-comm-beta+

Verified using 94.0b3 on Windows 10.

Status: RESOLVED → VERIFIED

Comment on attachment 9244442 [details]
Bug 1732783 - Resize calendar item summary dialog to match contents. r=mkmelin

[Approval Request Comment]
Regression caused by (bug #):
User impact if declined: calendar event summary window is too small
Testing completed (on c-c, etc.): in 94b3
Risk to taking this patch (and alternatives if risky): none

Attachment #9244442 - Flags: approval-comm-esr91?

Comment on attachment 9244442 [details]
Bug 1732783 - Resize calendar item summary dialog to match contents. r=mkmelin

[Triage Comment]
Approved for esr91

Attachment #9244442 - Flags: approval-comm-esr91? → approval-comm-esr91+

Nice. Cool. However...

The button still goes a bit off-window when drag-minimizing the window size. Should I open a new bug for that?

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

Attachment

General

Creator:
Created:
Updated:
Size: