-
Notifications
You must be signed in to change notification settings - Fork 578
Closed
Labels
bugbroken functionality, usability problems, unexpected errorsbroken functionality, usability problems, unexpected errorsdesktopDesktop client related issuesDesktop client related issuesstate:testedWe tested it and are about to release itWe tested it and are about to release ituivisual glitches, missing buttons, wrong text...visual glitches, missing buttons, wrong text...
Milestone
Description
- This is not a feature request (existing functionality does not work, not missing functionality).
I will request features on forum or via support. - I've searched and did not find a similar issue.
Describe the bug
When having more than 100 unread items in a folder, sometimes the counter is reset to a 100
To Reproduce
Steps to reproduce the behavior:
- Have a Folder with over 100 emails
- Click Select all
- Click the Load all
- Mark as unread in case it's not already
- There It will display the correct number of items as unread.
- Click on another folder.
- Click on the folder with over 100 unread emails,
- It will update the counter back to 100 emails.
On the Network there's this request for counter service(/rest/monitor/counterservice
) that seems to be coming from
async fixupCounterForFolder(groupId: Id, folder: MailFolder, unreadMails: number): Promise<void> {
in MailFacade,
- Expected behavior Unread mail counter should accurately display number of unread emails in a folder
Screenshots
Folder With 248 unread emails and 250 emails:
Request showing actual number of unread emails:
Request sent after clicking away from folder and back:
Desktop:
- OS: Debian
- Desktop Environment, if applicable (on Linux)
- Version [v296.250707.0] (Latest master)
Additional context
Add any other context about the problem here.
Test notes
Wait = wait 2-7 seconds
- Issue doesn't reproduce.
- Counter fixup happens after switching list only once and after the mail list is fully loaded.
- Navigate to folder with more than a 100 mails, don't scroll so no more mails are loaded.
- Wait.
- See no mention of counter fixup in the logs (
fixing up counter for folder $FOLDER_ID
orsame counter, no fixup on folder $FOLDER_ID
). - Load the full list, either by scrolling to the end, or by selecting all then clicking Load All.
- Wait.
- See counter fixup log (
fixing up counter for folder $FOLDER_ID
orsame counter, no fixup on folder $FOLDER_ID
). - Without navigating to a different folder, change the state of the list, by changing the unread state of a mail for example.
- Wait.
- See no additional counter fixup log (
fixing up counter for folder $FOLDER_ID
orsame counter, no fixup on folder $FOLDER_ID
). - Switch to a different folder with less than 100 mails.
- Wait.
- See counter fixup log.
- Navigate back to the folder with more that a 100 mails and repeat the same steps before switching to the folder with less than 100 mails.
- Counter fixup only happens when list filter is set to
Unread
orAll emails
.- Switch to a folder with more than 100 mails.
- Set filter to
Unread
. - Load full list.
- Wait.
- See counter fixup log.
- If conversation list grouping is off, check that the list count matches the counter.
- Switch to a different folder then back.
- Set the filter to something other that
Unread
orAll emails
. - Wait.
- Observe no counter fixup log.
- Counter fixup doesn't happen for labels.
- Switch to a label.
- Load full list.
- Wait.
- See no counter fixup log.
- Counter fixup works when conversation list grouping on but also off.
jomapp
Metadata
Metadata
Assignees
Labels
bugbroken functionality, usability problems, unexpected errorsbroken functionality, usability problems, unexpected errorsdesktopDesktop client related issuesDesktop client related issuesstate:testedWe tested it and are about to release itWe tested it and are about to release ituivisual glitches, missing buttons, wrong text...visual glitches, missing buttons, wrong text...