Closed Bug 1689553 Opened 4 years ago Closed 4 years ago

Compact mode folder view fails in Thunderbird 86

Categories

(Thunderbird :: Folder and Message Lists, defect, P1)

Thunderbird 86

Tracking

(thunderbird_esr78 unaffected, thunderbird86+ verified)

VERIFIED FIXED
87 Branch
Tracking Status
thunderbird_esr78 --- unaffected
thunderbird86 + verified

People

(Reporter: juraj.masiar, Assigned: aleca)

References

(Regression, )

Details

(Keywords: regression)

Attachments

(3 files, 1 obsolete file)

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

Steps to reproduce:

My Thunderbird beta 85 updated to 86 and failed to start correctly.
Restarting in Safe mode helped but disabling addons didn't helped.
After I saw the error logs I've noticed error in the "toggleCompactMode" so I've changed folder view and then it works again.

Attached image error logs

This is the error log, I don't have a text version anymore...

Component: Untriaged → Folder and Message Lists

Must be from bug 1163555.

Keywords: regression
Regressed by: 1163555
Summary: Compact mode fails in Thunderbird 86 → Compact mode folder view fails in Thunderbird 86
Status: UNCONFIRMED → NEW
Ever confirmed: true

Thanks for the report.

After I saw the error logs I've noticed error in the "toggleCompactMode" so I've changed folder view and then it works again.

Do you remember which folder mode you were using at the time of upgrading?

Assignee: nobody → alessandro
Severity: -- → S1
Flags: needinfo?(juraj.masiar)
Priority: -- → P1

It was set to "Favorite" and "Compact view".
Note that once I changed it, I was able to change it back and now it still works, even after the restart.

Flags: needinfo?(juraj.masiar)

Thanks for the info.
Indeed, I think I missed the proper handling of migrating from the old mode to the new one.
Apologies for the annoyance.

BTW, now you can enable multiple modes at once.

This fixes it.
To recreate the issue you need to open the inspector, select the "folderTree" and update the mode attribute with "favorite_compact". Then close and relaunch TB.

Attachment #9200096 - Flags: review?(mkmelin+mozilla)
Status: NEW → ASSIGNED
Comment on attachment 9200096 [details] [diff] [review] 1689553-folders-compact-mode.diff Review of attachment 9200096 [details] [diff] [review]: ----------------------------------------------------------------- Thx! r=mkmelin ::: mail/base/content/folderPane.js @@ +378,5 @@ > modes = modes.filter((c, index) => { > return modes.indexOf(c) === index; > }); > > + // Transition from the old "*_compact" folder modes. It would have been nicer to do as a one-time migration, but that could be a bit complicated for this case. Please add a comment that the old=pre Thunderbird 86, so that we can just drop it some time in the future.
Attachment #9200096 - Flags: review?(mkmelin+mozilla) → review+
Target Milestone: --- → 87 Branch

Comment updated.

Attachment #9200096 - Attachment is obsolete: true
Attachment #9200486 - Flags: review+

Comment on attachment 9200486 [details] [diff] [review]
1689553-folders-compact-mode.diff

[Approval Request Comment]
Regression caused by (bug #): bug 1163555
User impact if declined: The UI doesn't load at startup if the user was using a _compact folder mode variation prior to 86
Testing completed (on c-c, etc.): soon on c-c
Risk to taking this patch (and alternatives if risky): low

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

Pushed by geoff@darktrojan.net:
https://hg.mozilla.org/comm-central/rev/3204b7a70b4d
Fix Folders Pane initialization from the old folders compact mode. r=mkmelin

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

Comment on attachment 9200486 [details] [diff] [review]
1689553-folders-compact-mode.diff

[Triage Comment]
Approved for beta

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

Working in my test of the 86.0b2 candidate on Windows 10 and Fedora 33 Workstation.

Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: