I installed new version of nextcloud mail-app 1.8.0. and now :
I get new mails, but I can’t see them in the new Dashboard widget ‘Unread mails’ (no more sync).
Only when I open mail app, sync is done and I receive the mails and as long as I do not read them they are now shown in the widget .
Sorry, but that’s useless: When I can’t see unread messages in Dasboard widget before I open mail app and check mails, what is the wiget for ???
The mails should be synced/read out when opening dashboard and should bei shown in the widget “unread mails” ! I think that’s the expected behaviour .
Sorry. Or is it a bug ?
how is it supposed to work actually?
I checked the console when in the dashboard, only rooms API is called regularly https://cloud.bluedragongermany.org/ocs/v2.php/apps/spreed/api/v2/room
There is no callback for the Unread-Mail-Widget
My cron is running every 5 minutes. I don´t see any errors in the nc-log.
After manually refreshing the dashboard page, one API call per mailbox is done https://cloud.bluedragongermany.org/apps/mail/api/mailboxes?accountId=2
but the new mail is not shown
Jumping into the mail app, the new message is synced.
Jumping back to dashboard, it is then displayed.
What is the supposed workflow here?
Sorry , offense was not my intent. I’m very thankfull for the nexcloud project as free and open source Software for everybody- thanks for your work so far.
My cron seems to work correctly and also running every 5 min. I can’t find a problem. As described by Rello, only when jumping into the mail app, the new message is synced and jumping back to dashboard, then it is displayed.
The idea is that the cron will keep the database cache reasonably in sync, so when you open the dashboard you see a (close to identical) representation of IMAP. Loading the dashboard does not trigger a sync itself.
I assume this is still the case since the Widget (and App) are pretty useless with missing/wrong data?
It might be a good idea to make this a setting so people can change the job time in the background.
If this does one operation per job, and one job per day, that would make a max of 365 jobs per year. So if im correct ill be waiting more then 3 years for Nextcloud to finally notice I changed approx 1k mails to read.