Open Bug 1901339 Opened 5 months ago

Update the nsIMsgFolder::deleteSelf to decouple if from UI

Categories

(Thunderbird :: Folder and Message Lists, task)

Tracking

(thunderbird_esr115 wontfix)

Tracking Status
thunderbird_esr115 --- wontfix

People

(Reporter: aleca, Unassigned)

References

Details

We currently let the nsIMsgFolder::deleteSelf() method handle the UI dialog confirmation before deleting the folder.
This is not correct as the C++ side of things shouldn't care about triggering UI feedback and all of that should be handled at the front-end implementation level.

We should update this method, or even better implement a parallel method that just takes care of deleting folders and then sending a notification when the operation is completed.
The front-end will take care of asking for confirmation to the user before calling the C++ method.

You need to log in before you can comment on or make changes to this bug.