Closed Bug 1774040 Opened 2 years ago Closed 2 years ago

Message pane varies in size in new profiles

Categories

(Thunderbird :: Mail Window Front End, defect)

Thunderbird 98
defect

Tracking

(thunderbird102 fixed)

RESOLVED FIXED
103 Branch
Tracking Status
thunderbird102 --- fixed

People

(Reporter: neil, Assigned: darktrojan)

References

(Blocks 1 open bug, Regression)

Details

(Keywords: regression)

Attachments

(1 file)

Bug 1752038 introduced the following code:

  for (let attrName of ["collapsed", "height", "width"]) {
    messagepaneboxwrapper.setAttribute(
      attrName,
      Services.xulStore.getValue(
        "chrome://messenger/content/messenger.xhtml",
        "messagepaneboxwrapper",
        attrName
      )
    );
  }

Unfortunately this means that in profiles where the user has never adjusted their message pane size, the default dimensions in the XUL html are deleted. This causes the message pane to vary in size according to its content (start page, single message, conversation).

Blocks: tb102found

see Bug 1773257 - Message Pane and Emails list (column) horizonal resizing when changing messages

Assignee: nobody → geoff
Status: NEW → ASSIGNED

Is that better, Neil?

Flags: needinfo?(neil)

Pushed by geoff@darktrojan.net:
https://hg.mozilla.org/comm-central/rev/74dfcf858614
Check for attribute values before assigning them to #messagepaneboxwrapper. r=#thunderbird-reviewers,mkmelin

Status: ASSIGNED → RESOLVED
Closed: 2 years ago
Resolution: --- → FIXED
Target Milestone: --- → 103 Branch

Comment on attachment 9281330 [details]
Bug 1774040 - Check for attribute values before assigning them to #messagepaneboxwrapper. r=#thunderbird-reviewers

[Approval Request Comment]
Regression caused by (bug #):
User impact if declined: message pane weirdness due to missing size values
Testing completed (on c-c, etc.): landed yesterday
Risk to taking this patch (and alternatives if risky):

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

Comment on attachment 9281330 [details]
Bug 1774040 - Check for attribute values before assigning them to #messagepaneboxwrapper. r=#thunderbird-reviewers

[Triage Comment]
Approved for beta

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

Comment on attachment 9281330 [details]
Bug 1774040 - Check for attribute values before assigning them to #messagepaneboxwrapper. r=#thunderbird-reviewers

Sure, seems reasonable.

Flags: needinfo?(neil)
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: