Open Bug 1398843 Opened 7 years ago Updated 2 years ago

Remove nsMsgDBView::GetCurrentlyDisplayedMessage() and replace uses of nsIMsgDBView.currentlyDisplayedMessage

Categories

(Thunderbird :: Folder and Message Lists, task)

52 Branch

Tracking

(Not tracked)

People

(Reporter: jorgk-bmo, Unassigned)

References

(Depends on 1 open bug)

Details

+++ This bug was initially created as a clone of Bug #1387581 +++

As per bug 1387581 comment #21:
Evict GetCurrentlyDisplayedMessage() and the very few .currentlyDisplayedMessage references as it's no good for multifolder. In cases where the view index is wanted, gDBView.selection.currentIndex should be used.
The special thing to watch for here is ensuring that standalone messages (in a window and in a tab) continue to work as before.
In Bug 539526, an attempt was made to really clean this up, getting rid of m_currentlyDisplayedMsgKey.
Type: enhancement → task
Depends on: 539526
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.