Closed Bug 1928213 Opened 1 year ago Closed 3 months ago

Remove stopgap MOZ_RUNINIT use in nsMsgDBView.cpp

Categories

(Thunderbird :: General, task)

Tracking

(Not tracked)

RESOLVED FIXED
146 Branch

People

(Reporter: benc, Assigned: welpy-cw)

References

(Blocks 1 open bug)

Details

Attachments

(2 files)

After Bug 1920718, global vars that require construction must be explicitly flagged, and that was done in Bug 1928157.
But we shouldn't really have any such variables - constructing things before main() is always a little fraught.
The patch in Bug 1928157, D227403 can be used as a roadmap of what needs changing.

nsMsgDBView sets up some localised strings to share across instances. Seems like there should be a better way (I'd look at m-c code for equivalent examples).

Blocks: 1945496

Migrate strings used by nsMsgDBView and nsMsgGroupView from
messenger.properties to messenger.ftl.

Strings only used in the 'Search Messages' dialog by a screen reader (via the
nsMsgDBView::GetCellValue method) are now retrieved from about3Pane.ftl,
closer matching the aria labels provided by the JS tree. Also, fix the screen
reader output for spam messages in the 'Search messages' dialog (Bug 1643467).

Assignee: nobody → h.w.forms
Status: NEW → ASSIGNED
Attachment #9524010 - Attachment description: Bug 1928213 - Migrate properties used by nsMsgDBView to fluent. r=#thunderbird-reviewers → Bug 1928213 - Migrate properties used by nsMsgDBView to fluent. r=mkmelin,dandarnell

Pushed by daniel@thunderbird.net:
https://hg.mozilla.org/comm-central/rev/5dff147d8f20
Migrate properties used by nsMsgDBView to fluent. r=mkmelin,dandarnell

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

Reopened for the unpublished patch.

Status: RESOLVED → REOPENED
Resolution: FIXED → ---

Pushed by mkmelin@iki.fi:
https://hg.mozilla.org/comm-central/rev/5d16c8cc7216
Replace MOZ_RUNINIT static strings in nsMsgDBView by StaticAutoPtr. r=BenC

Status: REOPENED → RESOLVED
Closed: 3 months ago3 months ago
Resolution: --- → FIXED
Target Milestone: --- → 146 Branch
Regressions: 2001222
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: