Author Topic: New Message Count Not Updating  (Read 31834 times)

tatoone

  • Newbie
  • *
  • Posts: 3
Re: New Message Count Not Updating
« Reply #15 on: July 15, 2014, 04:33:27 pm »
What is this lockscreen counter? Aqua's DashClockWidget extension? Something else?

The aqua icon in lockscreen not show unread mail.

Kostya Vasilyev

  • Hero Member
  • *****
  • Posts: 12740
Re: New Message Count Not Updating
« Reply #16 on: July 15, 2014, 04:38:04 pm »
Device? Manufacturer? Android version?

Or do I have to use a crystal ball?

But, in any case, this is all handled by system software, unread counters is an undocumented function, intended for system software, blah blah blah.

I can't believe how much time and energy I've wasted on this.

Please focus on something positive -- the unread count working on the home screen, even though this is an undocumented function, intended for system software, blah blah blah -- rather than something negative.
Creating debug logs for diagnostics: https://www.aqua-mail.com/troubleshooting/

The official FAQ: https://www.aqua-mail.com/faq/

Лог-файлы для диагностики: https://www.aqua-mail.com/ru/troubleshooting/

Вопросы и ответы: https://www.aqua-mail.com/ru/faq/

tatoone

  • Newbie
  • *
  • Posts: 3
Re: New Message Count Not Updating
« Reply #17 on: July 15, 2014, 06:37:44 pm »
Sorry for missed informations.

galaxy S4, android v4.4.2

Thanks

Kostya Vasilyev

  • Hero Member
  • *****
  • Posts: 12740
Re: New Message Count Not Updating
« Reply #18 on: July 15, 2014, 08:54:26 pm »
Galaxy S4, 4.4.2

If you're seeing the count on the app's icon on the launcher screen, it means my code is sending the count to TouchWiz.

What happens after that has nothing to do with my app or me.

PS - please check that you've added the shortcut to the main app (AquaMail), not the unlocker (AquaMail Pro Unlocker).

Creating debug logs for diagnostics: https://www.aqua-mail.com/troubleshooting/

The official FAQ: https://www.aqua-mail.com/faq/

Лог-файлы для диагностики: https://www.aqua-mail.com/ru/troubleshooting/

Вопросы и ответы: https://www.aqua-mail.com/ru/faq/

LD Jackson

  • Newbie
  • *
  • Posts: 14
Re: New Message Count Not Updating
« Reply #19 on: July 26, 2014, 04:51:22 pm »
I wrote earlier that the icon count was working as it should earlier, but that is no longer the case. It works much of the time, but at least a couple times each day, it stops. The only way I can correct that is to go back into Touch Wiz, disable the icon notification in Aqua Mail, go back into Apex, and turn it back on. After that, it will work for a while and keep a corrected count. Then I have to do that all over again later.

Kostya Vasilyev

  • Hero Member
  • *****
  • Posts: 12740
Re: New Message Count Not Updating
« Reply #20 on: July 26, 2014, 10:37:53 pm »
So you're having the issue with Apex Launcher, not TouchWiz icon?

The code in Aqua to send unread counts to Apex is pretty much unrelated to TouchWiz integration code.

However, when you turn the TouchWiz setting off an on, Aqua will re-send the unread counts to all launchers, Apex, Nova, Samsung, LG, Sony.

I keep hearing about issues with Apex from time to time, but every time I try to reproduce (installing latest Apex from Play, as I normally use only standard system launchers on all my devices) -- it works just fine.

Now, since there is a time factor -- could you capture the issue in a debug log, and note the time when the count goes wrong (and when you re-set it), so I could know where to look?
Creating debug logs for diagnostics: https://www.aqua-mail.com/troubleshooting/

The official FAQ: https://www.aqua-mail.com/faq/

Лог-файлы для диагностики: https://www.aqua-mail.com/ru/troubleshooting/

Вопросы и ответы: https://www.aqua-mail.com/ru/faq/

LD Jackson

  • Newbie
  • *
  • Posts: 14
Re: New Message Count Not Updating
« Reply #21 on: July 26, 2014, 10:52:37 pm »
I have enabled the debug log and will let you know what I find.

Fcasoli

  • Hero Member
  • *****
  • Posts: 541
Re: New Message Count Not Updating
« Reply #22 on: July 26, 2014, 10:58:23 pm »
I'm using Apex (latest beta Pro) but my counter is perfect.

LD Jackson

  • Newbie
  • *
  • Posts: 14
Re: New Message Count Not Updating
« Reply #23 on: July 28, 2014, 02:33:16 pm »
I had to reset the counter again this morning, but the debug file says it is empty. I did notice one thing. When I go into Touch Wiz, the counter is incorrect there as well. So, it appears that Apex is not the only launcher that is having the issue.

Kostya Vasilyev

  • Hero Member
  • *****
  • Posts: 12740
Re: New Message Count Not Updating
« Reply #24 on: July 28, 2014, 11:57:52 pm »
>> the debug file says it is empty

The debug log file is empty? Nothing in the debug log? Zero length file?
Creating debug logs for diagnostics: https://www.aqua-mail.com/troubleshooting/

The official FAQ: https://www.aqua-mail.com/faq/

Лог-файлы для диагностики: https://www.aqua-mail.com/ru/troubleshooting/

Вопросы и ответы: https://www.aqua-mail.com/ru/faq/

Godwin

  • Newbie
  • *
  • Posts: 2
Re: New Message Count Not Updating
« Reply #25 on: August 02, 2014, 02:01:35 am »
I have a similar problem.  I'm using Nova launcher Prime with the TeslaUnread plugin.  The unread counter works fine provided I don't use the IMAP push function in AquaMail.  When the IMAP push function is activated the counter only report new emails and not unread ones.  Furthermore the counter always displays one count even when there are no new/unread emails.  Therefore the count is always out by one.

Trev

Kostya Vasilyev

  • Hero Member
  • *****
  • Posts: 12740
Re: New Message Count Not Updating
« Reply #26 on: August 02, 2014, 02:05:26 am »
@Godwin - which notification logic do you use in Aqua?

Notify about all unread (like before 1.4) or about new unread (available since 1.4, but off by default)? This is in app settings -> message notifications -> "notify about".

There are two worrysome things here: 1) push mail affecting unread message counting and 2) counter being off by one.

What do you see in terms of unread message counts in the app's main window?

Can you record a debug log, with "raw session data" enabled (link here in my signature)?
Creating debug logs for diagnostics: https://www.aqua-mail.com/troubleshooting/

The official FAQ: https://www.aqua-mail.com/faq/

Лог-файлы для диагностики: https://www.aqua-mail.com/ru/troubleshooting/

Вопросы и ответы: https://www.aqua-mail.com/ru/faq/

yoyi

  • Newbie
  • *
  • Posts: 2
Re: New Message Count Not Updating
« Reply #27 on: June 15, 2015, 02:33:09 pm »
Hi Kostya

I have a similar problem.  Samsung SG5 Lolipop. I'm using Nova launcher Prime with the TeslaUnread plugin. The counter on Touch Wizz Icon always displays one count even when there are no new/unread emails and the counter on NovaLanucher widget shows nothing in the box what is right. Sometimes the counter shows for example 999 unread messages. When I change lanucher to Touch Wizz everything is ok. I've attached screenshots. (SS1 - Nova Lanucher, SS2 - Touch WIZZ, SS3 - Nova Lanucher)
Is there any chance to fix it?
Regars Peter


« Last Edit: June 15, 2015, 02:36:06 pm by yoyi »

Kostya Vasilyev

  • Hero Member
  • *****
  • Posts: 12740
Re: New Message Count Not Updating
« Reply #28 on: June 15, 2015, 09:48:34 pm »
I've seen some debug logs with Nova where it wasn't displaying what the app was sending (and it only sends the actual count to show)...

Now, that being said:

- I have a small app to reset TouchWiz counter here:

http://www.aqua-mail.com/?page_id=217

( sorry, publishing to Play is just too much trouble -- "promo image", large icon, "featured image"...)

- For Nova, I *think* it can monitor status bar notifications and infer the unread count from them... This isn't necessary for Aqua, since it talks to Nova directly by using special "show unread count" functions -- but having that monitoring can confuse Nova, I think.

So that's something to check too, would be in Nova or Tesla Unread settings somewhere (sorry, don't use them) -- or you can try turning off Tesla's service in system settings -> accessibility -> services.
Creating debug logs for diagnostics: https://www.aqua-mail.com/troubleshooting/

The official FAQ: https://www.aqua-mail.com/faq/

Лог-файлы для диагностики: https://www.aqua-mail.com/ru/troubleshooting/

Вопросы и ответы: https://www.aqua-mail.com/ru/faq/

yoyi

  • Newbie
  • *
  • Posts: 2
Re: New Message Count Not Updating
« Reply #29 on: June 15, 2015, 10:59:37 pm »
Hi Kostya
Thanks a lot for showing me the way to solve the probem. I've done everything what you suggested but it didn't help. Finally I have uninstaled Tesla and instaled it again and it works!!!
Best regards!
Peter