bazuchan / thunderbird-deselect-on-delete

10 stars 1 forks source link

Does not work with Supernova GUI #5

Open tanstafel opened 11 months ago

tanstafel commented 11 months ago

Hi,

just got the update to Thunderbird 115 and the addon is enabled (version 3.6) but it just doesn't work. If I delete a message then next one gets selected. It would be nice to have it working again.

Thanks, ron

tlhackque commented 10 months ago

115.4.1 (64-bit) with 3.7 is still broken as described above.

If I delete a message from the Inbox, the next message is selected.

If I delete a message that I'm reading, the next messaged is opened and displayed. (Message opened in a tab.)

Doesn't matter whether I use the DELETE key or click on the icon.

On the console, I see: TypeError: displayedMessage is null [background.js:657:19](moz-extension://52aaa319-b34e-41ac-ac3f-2ebfb526cd3a/background.js), which seems to come from the CardBook add-in.

Not clear whose fault that is - I'll open an issue on CardBook referencing this; you and Philippe can decide.

Thanks.

Edit: Here is a link to the CardBook issue on GitLab (not GitHub).

horsteff commented 10 months ago

3.7 on 115.4.2 does not work for me too, at least with my preferred settings.

I use an IMAP account with a server setting of "Just mark it as deleted" on delete in the account settings of thunderbird. Did some debugging with the developer tools and it seems, that in this case thunderbird does not fire an onDeleted (or onMoved) event when deleting a message. This is according to the API documentation, which says that onDeleted will be fired, when a message has been permanently deleted. Consequently this event is fired when I use the "Remove deleted messages from selected folder" button. But that's a little too late... Don't know if there is any possibility to get notified on "marked as deleted" or if there is something missing in thunderbird yet. If I change the setting for deleting a message to "Remove it immediately" the extension works as expected and deselects on delete.