Closed Bug 1806860 Opened 2 years ago Closed 1 year ago

Status Bar in Message Compose Window cannot be hidden anymore

Categories

(Thunderbird :: Message Compose Window, defect)

Thunderbird 102
defect

Tracking

(thunderbird_esr115? fixed, thunderbird118? fixed)

RESOLVED FIXED
119 Branch
Tracking Status
thunderbird_esr115 ? fixed
thunderbird118 ? fixed

People

(Reporter: myaddons, Assigned: Newo, Mentored)

References

(Regression)

Details

(Keywords: good-first-bug, regression)

Attachments

(1 file, 1 obsolete file)

The status bar in the message compose window cannot be hidden anymore. Selecting and unselecting the status bar via "Tools -> Toolbars -> Status Bar" has no effect. The status bar is always visible.

I bisected the problem and the pushlog in question is:
https://hg.mozilla.org/comm-central/pushloghtml?fromchange=371b1b50cb6cab038c0a438f293ebb824621ffd0&tochange=f6177d7407da24aabc5dd82da8a5a2109f289de1

I suspect the problem to be related to this changeset:
https://hg.mozilla.org/comm-central/rev/991627ce316e87772659b4d85f531012cd32979e

Confirming for TB 102.6.1, Win10. Nothing in error console.

(In reply to Alexander Bergmann from comment #0)

I suspect the problem to be related to this changeset:
https://hg.mozilla.org/comm-central/rev/991627ce316e87772659b4d85f531012cd32979e

Thanks Alex, that sounds right. The changeset is from Bug 1683865 - Changed status bar to HTML.
Might be a good first bug.

Severity: -- → S4
Status: UNCONFIRMED → NEW
Ever confirmed: true
Keywords: good-first-bug
Keywords: regression
Regressed by: 1683865

This is the culprit!
https://hg.mozilla.org/comm-central/rev/991627ce316e87772659b4d85f531012cd32979e#l9.35

We should update that snippet to .statusbar:not([hidden="true"]) as a quick fix.
We need to explicitly use [hidden="true"] and not just [hidden] because the toggleToolbar() function triggered from the View menu still handles XUL toolbars and uses the setAttribute("hidden", true/false).

We should also use the occasion to add a test to cover this area.
Elizabeth, would you like to take care of this so you can start experimenting with our testing infrastructure? You can tackle this after the holiday shutdown.
You can ask Martin for guidance on how to find the proper test and further knowledge transfer on how to implement a new check in an existing test.

Assignee: nobody → elizabeth
Mentor: martin

Yes, I will take care of this in early January.

Status: NEW → ASSIGNED
Attachment #9310567 - Attachment description: WIP: Bug 1806860 - Hide status bar when user hides it → WIP: Bug 1806860 - Hide status bar when user hides it.
Attachment #9310567 - Attachment is obsolete: true

This work is on hold at the moment due to higher priority work. If anyone wants to take this on, they are welcome to do so.

Assignee: elizabeth → nobody
Status: ASSIGNED → NEW

I'm starting to work on this bug and sent my first patch to Phabricator here. Could I be assigned this bug?

Unfortunately, I am not sure how to edit tests for this but would be glad to work with Mark.

Assignee: nobody → owenwang2007
Status: NEW → ASSIGNED
Attachment #9334463 - Attachment description: Bug 1806860 - Fix Hiding Status Bar in Message Compose Window r=aleca → Bug 1806860 Fix Hiding Status Bar in Message Compose Window r=aleca

Pushed by kaie@kuix.de:
https://hg.mozilla.org/comm-central/rev/8b4bbad19903
Fix Hiding Status Bar in Message Compose Window r=aleca

Status: ASSIGNED → RESOLVED
Closed: 1 year ago
Resolution: --- → FIXED

Comment on attachment 9334463 [details]
Bug 1806860 Fix Hiding Status Bar in Message Compose Window r=aleca

[Triage Comment]
Approved for beta

Attachment #9334463 - Flags: approval-comm-beta+
Attachment #9334463 - Flags: approval-comm-esr115?

Comment on attachment 9334463 [details]
Bug 1806860 Fix Hiding Status Bar in Message Compose Window r=aleca

[Triage Comment]
Approved for esr115

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

Attachment

General

Created:
Updated:
Size: