Update new message display UI on changes to message properties
Categories
(Thunderbird :: Mail Window Front End, enhancement)
Tracking
(thunderbird_esr91 wontfix)
Tracking | Status | |
---|---|---|
thunderbird_esr91 | --- | wontfix |
People
(Reporter: darktrojan, Assigned: darktrojan)
References
Details
Attachments
(1 file)
The existing message display is only updated if another part of the UI tells it to (e.g. a command changes the tags and then tells the display the tags changed) or if it reloads. This is bad because the message displays don't react to changes triggered by unrelated parts of the UI or something else changing message properties.
The message display should listen for changes to the message it is displaying and react if they happen.
Assignee | ||
Comment 1•3 years ago
|
||
I modified the nsIDBChangeListener interface to pass the name of the changed property when a property changes. This wasn't strictly necessary but it is a useful optimisation.
Change listeners aren't even notified if a change happens to a nsMsgHdr object directly (it writes straight to the database and doesn't tell anybody) but that doesn't seem to be a major problem as the changes I'm interested in go through nsMsgDatabase.
Pushed by geoff@darktrojan.net:
https://hg.mozilla.org/comm-central/rev/6021d4fe5e5a
Give the name of the changed property in nsIDBChangeListener.onHdrPropertyChanged. r=mkmelin
Assignee | ||
Updated•3 years ago
|
Description
•