AquaMail Forum

English - Android => How do I... => Topic started by: Cimba on March 12, 2017, 06:27:10 pm

Title: Reducing Notifcations on Lockscreen.
Post by: Cimba on March 12, 2017, 06:27:10 pm
Hello,

when I habe received several Emails (like 10 Email fpr example) with IMAP on both devices (Computer and Smartphone), where the first Email is noticed witth Display on and Notification sound and the other mails only with turning on the display, so how I set it up and liked.

But now, when I click on my Computer such a unread Mail to read, the mail goes automatic from status unread to read und than, my smartphone Display goes on and display me 9 unread messages, whats in fact correct, but what I dont want! I only want, to signalining NEW messages und not the changing status from unread to read message from an email.

Is there an option to to this?

And also, it would be nice, if the notification banner shows noch only 22 messages, but also the subject from the newest mail, but thats another issue
Title: Re: Reducing Notifcations on Lockscreen.
Post by: Kostya Vasilyev on March 13, 2017, 04:10:58 pm
Well, you wouldn't want a notification to say "10 unread messages" if there are only 3 of them (let's say).
Title: Re: Reducing Notifcations on Lockscreen.
Post by: Cimba on March 14, 2017, 03:45:09 pm
No, sorry, I want 2 things:

when I have 10 unread mails and read one of them on my computer, I don't want, that the smartphone displays goes on and display me "9 unread mails". I want, that the display only turns on, when really a new mail is incomming, and not, when the "xx unread mails" count reduced.

The second thing is: I would found it better, wenn the banner on the lockscreen shows the last new incomming Mail Subject (like how it is on the first incomming mail) instead of "X unread Mails".

I hope, I have it now explained a little bit better, my english is nt the best ;)
Title: Re: Reducing Notifcations on Lockscreen.
Post by: Kostya Vasilyev on March 14, 2017, 09:22:10 pm
Quote
I don't want, that the smartphone displays goes on and display me "9 unread mails

Ah, so do you also have "light up the screen" enabled in Aqua Mail -> notifications?

Quote
last new incomming Mail Subject (like how it is on the first incomming mail) instead of "X unread Mails"

When the number of emails is >= 2 and <= 5, there is a preview of subject / sender of each.

When >= 6, there are previews too, but only for the first 5 messages.

You may need to swipe on the notification (vertically, horizontally, zoom out, depends on Android version and make / model) to see those details.
Title: Re: Reducing Notifcations on Lockscreen.
Post by: Cimba on March 16, 2017, 06:00:23 pm
Sorry für the late response.

Quote
Ah, so do you also have "light up the screen" enabled in Aqua Mail -> notifications?
I can't found such an option in my Aquamail settings, the "display on on notifications" option can I found only in the system settings of the Smartphone (Honor 6x EMUI 4.1) and than its global for all notifications and all apps.

Quote
When the number of emails is >= 2 and <= 5, there is a preview of subject / sender of each.
Sorry, but not on my phone (watch screenshots) and I would it found great, when I could setup, that always the newest mail is shown like in screenshot 2
Title: Re: Reducing Notifcations on Lockscreen.
Post by: Kostya Vasilyev on March 17, 2017, 07:39:36 pm
I can post screenshots too :)

That there is two unread messages. On the lock screen.

Not a Huawei, a Sony, but it's Android on them all, is it not?

And the second screenshot is for 8 unread messages, so the notification lists 5 (sender / subject pairs) and then has a "+3 more" below.

I had to pull the notification down before it would show those details.

Perhaps you should ask Huawei support how to enable this standard Android feature on their phones.
Title: Re: Reducing Notifcations on Lockscreen.
Post by: Cimba on March 18, 2017, 06:41:48 pm
OK, thanks for the screenshot, than is the second (not so important for me) problem an issue from Honors EMUI.

But my first (much annoying) problem seems somehow a logical thing/issue:


When I activate the options:
"Benachrichtigen über (Alle ungelesenen Nachrichten)"
+
"Nur bei neuer Nachricht (Nur benachrichtigen bei neuen Nachrichten)"

then the notification sound rings really only out, when a new mail is incomming. When I than read the mail on my computer (and the mail is marked as read and another unread mail exists), the Honor display goes on and shows one unread mail (ok, that is maybe a EMUI thing), but without notification sound.
When I delete the (marked as read) mail, than the display goes also again on and that I don't understand, because the number of unread mails don't change and I don't have marked the option "Nur be Änderungen")


And when I activate the option:
"Benachrichtigen über (Neue ungelesene Nachrichten)"

and than read a new mail on the computer (and this mail is marked as read and another unread mail exists), than the notification sound rings, and that I found wrong, because there is no NEW (Neue) unread mail.


What musst I do, when I am at work and want to read my mails on the computer and don't want, that AquaMail on my Honor permantly plays the notification sound, when I read or delete mails on the computer?
I don't have a problem, when Aqua Mails notifies me on incoming mails, but not by the other actions.

Thanks, Cimba
Title: Re: Reducing Notifcations on Lockscreen.
Post by: mikeone on March 18, 2017, 07:14:15 pm
Hi Cimba,
You should use the following options in
-> Settings (Einstellungen) -> Message notifications (Mailbenachrichtigungen) ->

tap on "Notify about" (Benachrichtigen über) -> choose "New unread messages" (Neue ungelesene Nachrichten)

Note::
If "New unread messages" is chosen then the two options, placed right below "Notify about", should be deactivated / greyed out.
["Only when new messages" (Nur bei neuer Nachricht) + "Only when there are changes" (Nur bei Änderungen)]

Please check also if there is an Account-specific setting or not (which would 'override' the app's general settings) :
-> long press on account name -> Special settings (Spezielle Kontoeinstellungen) -> Message notifications (Mailbenachrichtigungen)

Title: Re: Reducing Notifcations on Lockscreen.
Post by: Cimba on March 18, 2017, 07:39:14 pm
Thanks for your detailed explanation, but I tried this option (see my above posting) and that is my problem:

Quote
And when I activate the option:
"Benachrichtigen über (Neue ungelesene Nachrichten)"

and than read a new mail on the computer (and this mail is marked as read and another unread mail exists), than the notification sound rings, and that I found wrong, because there is no NEW (Neue) unread mail.

And I don't have Account-specific settings.
Title: Re: Reducing Notifcations on Lockscreen.
Post by: Kostya Vasilyev on March 19, 2017, 01:08:53 pm
The "folder has new messages" remains "set" until you've opened that folder in Aqua Mail.

Please either try "notify about *new* messages" (as suggested by @mikeone).

Enable "Ton nur einmal" (sound only once) so you won't get the sound on repeat (updated message count) notifications.
Title: Re: Reducing Notifcations on Lockscreen.
Post by: Cimba on March 22, 2017, 04:26:59 pm
Sorry, I'm back again ::)

Since I thought, I have a satisfying solution with the notifications found (*1) (and the app of course bought, because it's really a good app) and now I have a new problem:

If I do nothing with the newly arrived mails (neither on the phone nor on the PC), the display of the mobile lights approximately after 10-30 min with displaying the Aquamail notification, as if it happened, when I change the status of the inbox on PC.

When I go into Aquamail, the last retrieval time of both accounts has the actual time, so the app has check the mailbox, but why do the app this, when there was no changes?

I have disabled the interval check, it is really only push idle active.

Am I right in my suggestion, that this is due to the methods of the app to keep Aquamail alive and not to be shot out by Android?

And the final questions of that: can I influence this behavior somehow with a setting, or can you only solve the programmatically?

I hope your patience is enough for this further question, thanks a lot :)

(*1) If anyone is still interested: I took the variant with "Benachrichtigen über (Alle ungelesenen Nachrichten)" +
"Nur bei neuer Nachricht (Nur benachrichtigen bei neuen Nachrichten)" and accept, that the display lits, when I read the mails on the PC. The "sound only once" thing is sadly not so workable for my situations.

BTW: I come from Windows Phone and this build in eimail app makes exact this, what I here explained, so it is not only a special wish from a single person like me, it's only MS style :)
Title: Re: Reducing Notifcations on Lockscreen.
Post by: StR on March 22, 2017, 04:59:58 pm
I have disabled the interval check, it is really only push idle active.

First of all, even when you have Push enabled, you still want to have periodic check enabled and set to 15 or 30 minutes. This will help assuring that no messages are left unnoticed in case something happens to Push in the mean time (due to the connectivity, server or whatever). That's what the developer recommends.

If I do nothing with the newly arrived mails (neither on the phone nor on the PC), the display of the mobile lights approximately after 10-30 min with displaying the Aquamail notification, as if it happened, when I change the status of the inbox on PC.
If I understand you correctly, - your problem is that the led is turning on as a notification for the messages, while you don't have any new messages, right?

If I understand the following correctly (sorry, I don't speak German), you chose the first option that is "Notify about all unread messages".
(*1) If anyone is still interested: I took the variant with "Benachrichtigen über (Alle ungelesenen Nachrichten)" +
"Nur bei neuer Nachricht (Nur benachrichtigen bei neuen Nachrichten)" and accept, that the display lits, when I read the mails on the PC.
That setting is the culprit for the behavior you are describing.
You set to be notified for all unread messages (not just the new ones). So, every time the program "resyncs", it notifies you that you have unread message(s).   So, everything works as you've set. (And yes, Push "refreshes" its connection on a periodic basis. So, I suspect that's what triggers your notifications.)

If you don't want to get repeated notifications, - choose the second option (as had been suggested above by mikeone and Kostya):
 
You should use the following options in
-> Settings (Einstellungen) -> Message notifications (Mailbenachrichtigungen) ->

tap on "Notify about" (Benachrichtigen über) -> choose "New unread messages" (Neue ungelesene Nachrichten)
Title: Re: Reducing Notifcations on Lockscreen.
Post by: Cimba on March 22, 2017, 06:00:23 pm
First of all, even when you have Push enabled, you still want to have periodic check enabled and set to 15 or 30 minutes. This will help assuring that no messages are left unnoticed in case something happens to Push in the mean time (due to the connectivity, server or whatever). That's what the developer recommends.
OK, thats interesting and logical, that makes sense.


Quote
If I do nothing with the newly arrived mails (neither on the phone nor on the PC), the display of the mobile lights approximately after 10-30 min with displaying the Aquamail notification, as if it happened, when I change the status of the inbox on PC.
If I understand you correctly, - your problem is that the led is turning on as a notification for the messages, while you don't have any new messages, right?
No, not the LED is the problem, that is ok, that it blinks so long, until I make something with the phone, the problem is the whole IPS-Display/Screen from the phone, thats lights up and show me the lock-screen with the Aquamail notification.

Quote
So, every time the program "resyncs", it notifies you that you have unread message(s).   So, everything works as you've set. (And yes, Push "refreshes" its connection on a periodic basis. So, I suspect that's what triggers your notifications.)
OK, I understand this now, that's the Push refresh is here the reason, but for me, it's a glitch, that a simple resync triggers a refresh of the lock-screen notification. On a PC with Thunderbird, there was never such an extra notification. Also other mail apps with periodical mail checks makes not such repeat notifications and even my Windows Phone (with Imap-Idle) has never made such a repeated notification.

I can not see a sense in this behaviour. In my eyes, Aquamail should save the "new mail" count befor a resync and when after resync the count is the same, than don't refresh the notification.

You should use the following options in
-> Settings (Einstellungen) -> Message notifications (Mailbenachrichtigungen) ->

tap on "Notify about" (Benachrichtigen über) -> choose "New unread messages" (Neue ungelesene Nachrichten)
As i wrote, this makes my problem badly much more worse, because when I read in this suggested setting a unread mail on the PC, the phone display goes on AND the phones notification sound rings and that for every single unread mail, that I read on the PC.

And the "sound only once" option, which can possible solve this special behaviour is also a big problem for me in other cases, when I am away from the PC, because in noisy enviroments, I hear possibly the notification for the first new mail not and until then, I become no further sound notifications from other new mails, that is a problem for me.

Please do not missunderstand me, Aquamail is really good and I hope, my broken english does not lead to think, I will only grumble or await a super-duper special feature (as I wrote, it's a normal Windows Phone behaviour), but I am wondering, that no one else seems to have this problem (Phone&PC work with email reading).

But I think, Aquamail has here either a problem (maybe in correlation with my Honor), or a missing option variant in the notification options.

But thanks again for your suggestions and patience.
Title: Re: Reducing Notifcations on Lockscreen.
Post by: StR on March 22, 2017, 06:40:04 pm
Quote
So, every time the program "resyncs", it notifies you that you have unread message(s).   So, everything works as you've set. (And yes, Push "refreshes" its connection on a periodic basis. So, I suspect that's what triggers your notifications.)
OK, I understand this now, that's the Push refresh is here the reason, but for me, it's a glitch, that a simple resync triggers a refresh of the lock-screen notification. On a PC with Thunderbird, there was never such an extra notification. Also other mail apps with periodical mail checks makes not such repeat notifications and even my Windows Phone (with Imap-Idle) has never made such a repeated notification.

I can not see a sense in this behaviour. In my eyes, Aquamail should save the "new mail" count befor a resync and when after resync the count is the same, than don't refresh the notification.


I don't believe you set to be notified about unread messages on your PC with Thunderbird. Thunderbird notifies only about new messages. So, you would not know if and when it resets its IDLE connection. (I don't know the details of its implementation in Thunderbird either.)
I don't know how your Windows Phone mail app was set (I've never seen it), but as far as I can tell, the "Mail" app I've seen briefly in Win-10 doesn't really have options to notify about unread messages, only about new ones. But maybe I 've missed something there...
My point here, is that you may not have ability to observe in other programs the behavior that you are not happy with in Aquamail, because you've chosen such options in Aquamail (and they are available in AM, while they are probably not in other mail clients).

It is similar to "Consumer Reports" reducing the grades of some higher model cars for failures of electric door and windows controls compared to those cars that had only manual controls (back in 1990s in the US).

You should use the following options in
-> Settings (Einstellungen) -> Message notifications (Mailbenachrichtigungen) ->

tap on "Notify about" (Benachrichtigen über) -> choose "New unread messages" (Neue ungelesene Nachrichten)
As i wrote, this makes my problem badly much more worse, because when I read in this suggested setting a unread mail on the PC, the phone display goes on AND the phones notification sound rings and that for every single unread mail, that I read on the PC.

I suspect that you are mistaking something (or I am misunderstanding something in your description of what's happening.) If you set "Notify about" -> "New unread messages" as described by mikeone, reading a message on PC should not issue any additional notification on your phone. (By "additional" here, I mean compared to the situation when you didn't read anything on your PC.)

But I think, Aquamail has here either a problem (maybe in correlation with my Honor), or a missing option variant in the notification options.
While your requirements and needs could be different from mine or everybody else's, at this point, I am still suspecting that you do not have AM configured correctly for the behavior you are looking for.

So, may I suggest the following:
1. With your current settings, when you get new messages and notifications appear on your phone, - read one of those messages on your PC.  Verify that you are not getting any new notifications (your screen doesn't lit up, no sound is produced) on your phone.
2. Set that setting above, as suggested by Mikeone, and then repeat the same test as in 1.
If you observe new notifications while reading previously unread messages on your PC (and you haven't received any new messages during that period!), please post screenshot(s) of your Notifications screen.
At that point, the screenshots will allow us to check what might be the culprit.
Title: Re: Reducing Notifcations on Lockscreen.
Post by: Cimba on March 22, 2017, 07:56:51 pm
OK, now it's clear, what you mean, there is a difference between unread and new (but I found it anyway useless, the notification of unread mails at a resync to renew).

But anyway, now the setup from mikeone on my AM:
- Screenshot_2017-03-22-17-12-27.jpg

All notifications are away and all mails are set as read.

1.) Now I receive a mail "Test1" = phones screen turns on & sound (as expected)
- Screenshot_2017-03-22-17-05-40.jpg

2.) Receiving another mail "Test2" = phones screen turns on & sound (as expected)
- Screenshot_2017-03-22-17-06-10.jpg

So I have now 2 unread/new mails in Thunderbird
- Zwischenablage01.jpg

3.) Clicking now on PC in Thunderbird the mail "Test1", after a short time (when the mail in TB is marked read):
- Zwischenablage02.jpg

the phones screen turns on & sound (as now UNexpected & unwanted)
- Screenshot_2017-03-22-17-07-10

When clicking the (last unread/new) mail "Test2", phone keeps silent & screen off (as expected).

The changing background images are a Honor EMUI thing ("Magazin").

When I have 3 or more such unread/new mails in TB, then phones display turns on & sound on every mail until the last unread/new one.
Title: Re: Reducing Notifcations on Lockscreen.
Post by: Kostya Vasilyev on March 22, 2017, 10:40:30 pm
Re: phones display turns on & sound on every mail

To avoid repeated sounds, please enable "sound only once" in Aqua Mail settings. I hope Huawei's EMUI still respects that standard setting.

For "display turns on", Aqua Mail has a setting, and it's off by default, and not supported on Android 6.0+. Is it a Huawei "enhancement"?
Title: Re: Reducing Notifcations on Lockscreen.
Post by: StR on March 22, 2017, 10:51:46 pm
That's a well documented situation.
I might be missing some other configuration, but to me, it sounds like a bug.

I have it configured like that (but without sound and turning the screen on - but those shouldn't matter), so, I just tried to turn on the sound and the screen turned on, - to replicate your settings (including sound for each message).  (I tend to turn off most of the notification sounds on my devices: phone, tablet, laptop, desktop.)

I can say that I can replicate the situation described by you. And it sounds (excuse my pun) like a bug.

I'd wait for Kostya to comment on this situation.


@Kostya:
In my case, I kept my scheduled sync on, turned on Push (IMAP) for the Inbox.
For this test I had:
Under Message notifications:
Enabled Sound
Disabled Play sound only once
Enabled Turn screen on
Notify about : New unread messages
(the two disabled options, including  "change of status" had check mark next to them, but that shouldn't matter, right?)

Vibration turned off (this might be important, I don't know)
LED notifications enabled (I don't think that matters).

Special account settings (Notifications) were turned off for this account for this test.

(I have "manage per account" but that should not affect it. BTW: there is a superfluous dash in "per account" in the name of the option.)
I tested this with 1.6x AM version on a 4.1.2 Android (Droid Razr M).

Test:
2 or more new unread messages. Notification from AM shows both (or however many there are).
When one of those new unread message is read in Thunderbird (IMAP+IDLE) and its status changes to "read", a notification (sound, screen on) appears in Aquamail (the new message count changes accordingly).

Expected:
No notifications on change of message status in this case.
Title: Re: Reducing Notifcations on Lockscreen.
Post by: StR on March 22, 2017, 10:53:17 pm
Re: phones display turns on & sound on every mail

To avoid repeated sounds, please enable "sound only once" in Aqua Mail settings. I hope Huawei's EMUI still respects that standard setting.

No, the problem (see my latest response) is that they turns on on the message status change.
Title: Re: Reducing Notifcations on Lockscreen.
Post by: Cimba on March 22, 2017, 11:02:49 pm
@StR: THANK YOU SO MUCH for your best effort, to readjust my problem!

That is it, what I mean, I think, it is a bug, but you have explain it better and detailed.


Edit: That is, what I want to write befor your good explanation:

@Kostya Vasilyev: Yes, you mentioned that "sound only once" thing already and that would in principle also a solution, but only in the case when I'm in the office, but not for the rest of the day when I am on the road:

Quote
And the "sound only once" option, which can possible solve this special behaviour is also a big problem for me in other cases, when I am away from the PC, because in noisy enviroments, I hear possibly the notification for the first new mail not and until then, I become no further sound notifications from other new mails, that is a problem for me.

The "display on" thing is for me not so relevant, when it is a Honor or Android 6 thing, the real problem is the repeated sound.
Title: Re: Reducing Notifcations on Lockscreen.
Post by: Kostya Vasilyev on March 23, 2017, 01:02:05 am
Oh, I see now.

Well, since your needs are so specific -- how about using Tasker to drive Aqua Mail's settings and turn off its notifications completely, when Tasker detects that your phone is connected to the office WiFi?

Checking the code, it should also work if you enable "only when new messages", but that will also suppress the sound when you're *not* at the office, and there are no *new* emails *in that particular mail check*.

In other words, there will be a sound when the app receives a new message, but if 15 minutes later, there are no "new new" messages, then there won't be.
Title: Re: Reducing Notifcations on Lockscreen.
Post by: StR on March 23, 2017, 03:17:42 am
Kostya, but why does Aquamail produce notifications for the change-of-status notifications while those should be effectively disabled (only "new unread messages" option is enabled)?

Checking the code, it should also work if you enable "only when new messages", but that will also suppress the sound when you're *not* at the office, and there are no *new* emails *in that particular mail check*.

But that option (If I understand you correctly, you are talking about "Notify about"=All Unread Messages, and then + "Only when new messages"), - will notify you about all unread messages, not just the new once. I.e. if you've got one new message, instead of the notification for that, you are going to get a notification: "135 unread messages".
Title: Re: Reducing Notifcations on Lockscreen.
Post by: Cimba on March 23, 2017, 12:25:01 pm
Well, since your needs are so specific
Special maybe, but I think not so, because every other Mail app does this, what I want (but have more other problems) and I want rather nothing special, but only working existing options. Even StR means, that the actual behavior from his setup is a simple glitch.

Quote
how about using Tasker to drive Aqua Mail's settings and turn off its notifications completely, when Tasker detects that your phone is connected to the office WiFi?
I should use tasker to avoiding an glitch in AM? For a single problem, I should use tasker? Sorry, but that sounds crazy!

And for several reasons, the "Work-WiFi = notification off" is not an option for me, one is: I work at a University with a big Campus and the whole Campus has the same WiFi and I work also outside the office and than, I need the mail notification. And I am not the only person, that works so, but I am the only person, which tries here with best effort, to solve/explain a glitch in AM, but I don't know, why, but it seems hard to satisfy you, to accept the notification issue in AM (and how it seems, that is not really only a primarily EMUI thing).


Quote
Checking the code, it should also work if you enable "only when new messages", but that will also suppress the sound when you're *not* at the office, and there are no *new* emails *in that particular mail check*.

In other words, there will be a sound when the app receives a new message, but if 15 minutes later, there are no "new new" messages, then there won't be.
I don't know, why I must repeat me again and again (and it's not so easy for me, because writing in english is not so easy for me):

How I wrote in Threat from March 22, 2017, 04:26:59: this IS my actual configuration, but in this config, there is also a problem with repeated "fake" notifications (but thanks god without sound, but still irritating), when (how StR explains me in thread March 22, 2017, 04:59:58 pm) AM makes a Imap-Idle resync.

AM then refreshes the notification also and the display goes on (with no sound). Also (to simulate the problem faster) when I don't go befor in AM and press at the Widget the reload button, the AM-banner comes every time, when there is only the same unread/new Mail(s).

And how I wrote in Threat March 22, 2017, 06:00:23 pm: I don't understand, why Aquamail don't save in this case the "new mail" count befor a resync and when after resync the count is the same, than don't refresh the notification, because I think, AM does not make this at the moment, otherwise, this would not happened.

Title: Re: Reducing Notifcations on Lockscreen.
Post by: mikeone on March 23, 2017, 09:22:28 pm
Oh, I see now.

Well, since your needs are so specific -- how about using Tasker to drive Aqua Mail's settings and turn off its notifications completely, when Tasker detects that your phone is connected to the office WiFi?

Checking the code, it should also work if you enable "only when new messages", but that will also suppress the sound when you're *not* at the office, and there are no *new* emails *in that particular mail check*.

In other words, there will be a sound when the app receives a new message, but if 15 minutes later, there are no "new new" messages, then there won't be.
@Cimba,Maybe you had overlooked this parts of Kostya's post  8)
Title: Re: Reducing Notifcations on Lockscreen.
Post by: Cimba on March 24, 2017, 12:08:26 am
Sorry, but have I now something missunderstand, or what do you mean?

What do you want to tell me now, I do not really understand that now, sorry.
Title: Re: Reducing Notifcations on Lockscreen.
Post by: mikeone on March 24, 2017, 12:14:57 am
Sorry, but have I now something missunderstand, or what do you mean?

What do you want to tell me now, I do not really understand that now, sorry.
Kostya has indicated that he will look at the code to check if something needs to be fixed.
So, please allow him some time. Thank you.
Title: Re: Reducing Notifcations on Lockscreen.
Post by: Cimba on March 24, 2017, 12:17:08 am
OH! OK! Than I have his posting really totally missunderstand, than a big sorry for my little angry post!
Title: Re: Reducing Notifcations on Lockscreen.
Post by: mikeone on March 24, 2017, 12:20:35 am
OH! OK! Than I have his posting really totally missunderstand, than a big sorry for my little angry post!
No problem.  :)
Title: Re: Reducing Notifcations on Lockscreen.
Post by: StR on March 24, 2017, 04:20:08 am
Checking the code, it should also work if you enable "only when new messages", but that will also suppress the sound when you're *not* at the office, and there are no *new* emails *in that particular mail check*.
@Cimba,Maybe you had overlooked this parts of Kostya's post  8)

Kostya has indicated that he will look at the code to check if something needs to be fixed.
So, please allow him some time. Thank you.

@mikeone:
The way I read the quoted Kostya's phrase is different from yours.
At least from that blue sentence, it does not follow that "he will look at the code to check if something needs to be fixed." Rather, it sounds that while looking at the code (yesterday), he made an observation that allowed him to make the suggestion to @Cimba, as quoted above.
(Never mind the dangling participle (http://blog.oxforddictionaries.com/2011/09/participles-how-not-to-dangle/) - even native English speakers make that mistake frequently.)

Having said that, I am still hoping that Kostya will take a look at this issue once he gets a bit more time, as it looks like he's been busy on the development front and other new issues.

@Cimba: while Kostya had misunderstood the issue originally, it looks like he understands the issue at this point.
However, it might happen that this bug will never be fixed, as it affects very few people in, evidently, infrequent combination of configuration options. With that, it might not be a high priority. (Microsoft, Google, etc. have large number of bugs in their software that never get fixed. )
Kostya offered you some ideas of possible workarounds in case something might be helpful. If they wouldn't work for you, - nobody is forcing you to use them.
Absolutely perfect software doesn't exist (except, maybe, for totally useless). So, I'd suggest: relax and enjoy Aquamail despite this bug: it is still better then most of the mail apps, and I'd argue one of the best Android apps in general.

PS. @Cimba: If I were you, I'd feel a bit of pride that you've discovered one of the "zero-day" bugs, i.e. a bug that had been in the app for very long time without being noticed., in the part of the code that was probably thought to be bug-free by now.  ;)
Title: Re: Reducing Notifcations on Lockscreen.
Post by: Kostya Vasilyev on March 24, 2017, 10:21:50 pm
Re: I should use tasker to avoiding an glitch in AM? For a single problem, I should use tasker? Sorry, but that sounds crazy!

No, I thought you might *consider* using Tasker to solve the issue at the root -> no notifications at all (no sounds at least) when you're at the office.

Re: And for several reasons, the "Work-WiFi = notification off" is not an option for me, one is: I work at a University with a big Campus and the whole Campus has the same WiFi and I work also outside the office and than, I need the mail notification.

Did you write above that your needs are simple, nothing complicated? :)

Re: it seems hard to satisfy you, to accept the notification issue in AM

At this point we don't have *the* issue (singular).

We have a thorny combination of your needs, my suggestions, and a bug or several in between, or what may look like a bug to you.

I offered a certain combination of settings (enable "sound only once"), but you said it wouldn't work for you, since you do want repeated sounds while you're not at the office.

And you also rejected the idea of tweaking your Aqua Mail notification settings using Tasker.

---

At this point you're not getting repeat sounds when you're marking messages as read, correct?

That's good, it's better than what you had before, is it not?

And then, notifications do have to update when the unread count changes -- if a notification was posted for 10 unread messages, and you marked 7 as read, then notification should update to 3 and not be left at 10, don't you agree?

And I have no idea, sorry, why your screen lights up when AQM posts a notification. This one thing has to be a Huawei "enhancement".

Finally, your English seems perfectly fine to me, I'm not a native English speaker either.
Title: Re: Reducing Notifcations on Lockscreen.
Post by: Cimba on March 27, 2017, 03:58:15 pm
OK, i accept, this is all not so simple, inclusive the english conversation understanding ;)

A few things maybe at the end of this:


Did you write above that your needs are simple, nothing complicated? :)
How I wrote, I came from Windows Mobile and from there, all works as needed, so I thought, it's only a simple thing ;)


Quote
At this point we don't have *the* issue (singular).

We have a thorny combination of your needs, my suggestions, and a bug or several in between, or what may look like a bug to you.
OK, I see, maybe I have the luck in the future, that you solve/improve the things round about that  ;)


Quote
At this point you're not getting repeat sounds when you're marking messages as read, correct?
Yes, with "Notify about" = All unread messages" AND "Only when new mesages", there is no sound, when I read the mails on the PC (but with the "display on" thing. Ok, with that I can live, and so I see more of the changing Lock screen pics, that are really nice - and yes, this is definite a Honor thing ;) )


Quote
And then, notifications do have to update when the unread count changes -- if a notification was posted for 10 unread messages, and you marked 7 as read, then notification should update to 3 and not be left at 10, don't you agree?
Oh ... yes ... now I see the problem ... refresh the count (up or down) and don't turn on display may not really possible (but I already don't understand, why upcount = sound and down count = no sound, there must any difference there), but remember... ->


Quote
And I have no idea, sorry, why your screen lights up when AQM posts a notification. This one thing has to be a Huawei "enhancement".
-----> the strange thing, how I see this, is the following: when AM resyncs the IMAP Push Idle, the display turns on and shows the AM notification without change of the count of the unread mails. OK, this "display on" might be this Honor thing and also with that, I can (but a little bit worser) live, while I see this as a "reminder", that there are still unread mails.

But when the mobile is unlocked and I am in a random app (or on Start Screen and AM resyncs, there comes the banner (screenshot) with the repeated notification and thats yet a little bit annoying, because I don't know in this situation, if there is now really a new mail incomming, or ist it only the repeated notification because of the resync and actual this can not be a Honor thing.

In this screenshot case, I have only pressed the Resync circle in AM for faster simulation, and every time, I press the Resync circle (also on the widget), this banner comes up.

How I wrote, maybe this glitch is faster and easier to correct in the AM code like this way:
In my eyes, Aquamail should save the "unread mail" count before a resync and when after resync the count is the same, than don't refresh/address the notification function of AM.


Maybe you can comply me this litte wish in the near future ;)


Quote
Finally, your English seems perfectly fine to me, I'm not a native English speaker either.
Thanks, Google helps me a lot to this ;)

And thanks again for the (StR, mikeone and your) patience.
Title: Re: Reducing Notifcations on Lockscreen.
Post by: Cimba on March 27, 2017, 04:13:26 pm
No.
The user may have read 1 message, then received another one:
-1+1=0, but there's a new message to notify.
This all must happened in the short (under 1-2 sec.) resync time, maybe possible, but unlikely. And when he read a mail, he is in the Inbox and see the new mail anyway.
Title: Re: Reducing Notifcations on Lockscreen.
Post by: Cimba on March 27, 2017, 04:33:31 pm
And what about comparing the unread msg-id's before/after resync?
Title: Re: Reducing Notifcations on Lockscreen.
Post by: Kostya Vasilyev on March 28, 2017, 01:16:14 am
Re: And what about comparing the unread msg-id's before/after resync?

It already does if you use "notify about -> new" (as opposed to "all" unread), but that will change if you mark a message as read in your desktop mail app.

The problem we're having is this:

- You don't want repeat sounds if the phone is next to you at the office

- You do want repeat sounds when you're not at the office

- And you're not willing to do anything to "tell Aqua Mail" whether you're at the office or not (my earlier Tasker suggestion)

The screen lighting up is not Aqua Mail, as I wrote earlier, it has to be an "enhancement" by your device manufacturer. Perhaps their support can tell you if there is a way to turn that off.
Title: Re: Reducing Notifcations on Lockscreen.
Post by: Cimba on March 28, 2017, 12:24:28 pm
Re: And what about comparing the unread msg-id's before/after resync?

It already does if you use "notify about -> new" (as opposed to "all" unread), but that will change if you mark a message as read in your desktop mail app.
And why does AM this also not in the "all" unread + "Only when new messages" options to avoid this resync ghost/fake notification, when nothing in the Inbox is changed?

Quote
- You don't want repeat sounds if the phone is next to you at the office
I don't want false repeated sounds, StR describes this good in his post also as bug.

Quote
- And you're not willing to do anything to "tell Aqua Mail" whether you're at the office or not (my earlier Tasker suggestion)
I am willing, but is is not possible. There is for the phone no recognizable difference between the office and the machine hall, and also GPS location works not in both locations.