Opened 3 years ago
Closed 3 years ago
#1486629 closed Bugs (fixed)
Message list abruptly changes to another folder when new messages arrive
| Reported by: | trisk | Owned by: | |
|---|---|---|---|
| Priority: | 3 | Milestone: | 0.4-beta |
| Component: | Core functionality | Version: | git-master |
| Severity: | normal | Keywords: | |
| Cc: |
Description
I have {{check_all_folders}} is enabled and usually have the message list for the Inbox folder shown. When a new message arrives in another folder, the message list is sometimes (not consistently) replaced with the list for the folder that contains the new message.
Change History (5)
comment:1 Changed 3 years ago by trisk
comment:2 Changed 3 years ago by alec
What if you disable all plugins?
comment:3 Changed 3 years ago by alec
Try with this patch:
--- app.js (wersja 3486)
+++ app.js (kopia robocza)
@@ -4977,7 +4977,7 @@
if (this.busy)
return;
- var addurl = '_t=' + (new Date().getTime());
+ var addurl = '_t=' + (new Date().getTime()) + '&_mbox=' + urlencode(this.env.mailbox);
if (refresh) {
this.set_busy(true, 'checkingmail');
comment:4 Changed 3 years ago by trisk
Thanks, that seems to have solved the problem, even with plugins enabled. I'll wait a bit longer to verify.
comment:5 Changed 3 years ago by alec
- Resolution set to fixed
- Status changed from new to closed
Patch applied in [c5768931].
Note: See
TracTickets for help on using
tickets.

When the problem occurs, the folder list does not indicate there is a new message, and the message list does include an unread message. If I try to select a message shown in the list after the problem occurs, the message cannot be found, presumably because the active folder has not changed and I am selecting the ID of a message from a different folder.
I know the arrival of a new message is triggering the problem because the new_messages event is fired at the same time (I have the sound_notifier plugin enabled).