AquaMail Forum

English - Android => Development builds => Topic started by: Kostya Vasilyev on May 13, 2017, 12:37:51 am

Title: Version 1.10.0-383-dev - "work in progress", not in Google Play
Post by: Kostya Vasilyev on May 13, 2017, 12:37:51 am
https://www.aqua-mail.com/download/AquaMail-market-1.10.0-382-dev-52d034752796.apk

https://www.aqua-mail.com/download/AquaMail-market-1.10.0-383-dev-97a15e156e96.apk

---

We had to re-implement Android's "Context Action Mode" with our own code (because of some subtle / interesting UI issues...)

"Context Action Mode" is when you select "something" (often by long pressing) and the action bar changes and shows "action" icons for the currently selected "thing".

This new code is *not* used:

- Android 4.*, single panel UI, Floating Action Button ON -- i.e. "icons along the bottom".

- Single panel UI, message list, "floating context bar" is on -- i.e. we use also our own, but older, separate "popup window" with icons.

It is therefore used:

- Selecting messages in message list (when the "floating context bar" is off or where it's not available) -- i.e. "action icons along the top of the window".

- Text in message view

- Quoted message text on the compose screen (reply, forward)

- Editable text on the compose screen.

This new code works better when going in and out of full screen mode or when going into "context action mode" in full screen UI mode (including side by side UI layout), there is animation and the icon bar never overlaps window content. There are also more subtle UI "fixes" e.g. status bar color will change to "action color" and so on.

We're very interested in any compat issues, in particular on Android 4.* (but not only) or devices with heavily modified system software (Xiaomi, Meizu, OnePlus, ...)

- Build 383: fixed annoying animation when confirming "delete" from notifications, Samsung + Android 7

---

Нам пришлось реализовать "Context Action Mode" в своём коде (из-за некоторых неприятных проблемок в интерфейсе).

"Context Action Mode" это когда что-то выбирают (обычно длинным нажатием) и заголовок окна меняется и показывает иконки для "действий" над выбранными "чем-то".

Новый код *не* используется:

- Андроид 4.*, одна панель, Большая Круглая Кнопка выключена -- т.е. "иконки по низу экрана".

- Одна панель, список сообщений, настройка "панель действий" включена -- это наш код, но он не новый, для иконок действий используется "всплывающее окно".

Новый код используется:

- При выборе сообщений в списке (если "панель действий" отключена или недоступна) -- т.е. когда "иконки действий показываются в верхней части окна".

- Текст при просмотре сообщений

- Цитируемый текст при написании сообщений (переслыка, ответ)

- Редактируемый текст при написании сообщений.

Новый код работет лучше при входе и выходе в режим отображения на весь экран или когда действия выбираются уже в режиме на весь экран (включая интерфейс в "две панели"), там теперь нормальная анимация и полоска с действиями не пересекается с содержимым окна. Стало возможным исправить и некоторые меньшие подглюкивания, например правильно обновляется цвет статусной строки.

Нам очень интересна информация о каких-либо проблемах совместимости, особенно на Андроиде 4.* (но не только) а также устройства с "доработанным" Андроидом (Xiaomi, Meizu, OnePlus, ...)

+ Сборка 383: исправили раздражающую анимацию при удалении из уведомления, Самунг, Андроид 7.
Title: Re: Version 1.10.0-382-dev - "work in progress", not in Google Play
Post by: StR on May 13, 2017, 07:07:33 pm
Kostya,

I've tried this build very briefly on a Samsung Tab 3 (or is it 4? I always mix it up) with Android 4.4.2, with the mostly "default" UI settings.
I've tried in both 2-panel and 1-panel UI. I was not composing/sending any messages, I was only reading,selecting,saving/moving messages. I did not notice anything abnormal so far.

I've noticed something that is probably not related to this version: I accidentally found that in the 2-panel UI, it is possible to move the boundary between the two panels (it was not obvious). But with that I was surprised by two things:
1. It felt as if I need to be touching below the bottom of the screen to "pick" the splitting line (and as if there could be something shown below the bottom of the screen).
2. When I was decreasing the size of the left panel, with the message list, the squares (for the tick marks) were disappearing first, not the right margin of that panel, as I would have expected.
I don't know if in both cases it is behaving as expected or not.
Title: Re: Version 1.10.0-382-dev - "work in progress", not in Google Play
Post by: Kostya Vasilyev on May 13, 2017, 07:35:29 pm
Re: I was only reading,selecting,saving/moving messages. I did not notice anything abnormal so far.

Thanks, appreciate the data point.

Re: two panel resize

Has been there "forever".

Re: where to touch for resize

Um, no, below the screen's edge should not be necessary. I just checked (with a mouse so I could see exactly where I was clicking).

The "resize thumb" shows, briefly, as you go from message list to message view and back.

Re: shrinking the message list

The contact images hiding and the margins getting smaller - are enabled at the same time (at the same message list width) by same piece of code.
Title: Re: Version 1.10.0-382-dev - "work in progress", not in Google Play
Post by: StR on May 13, 2017, 10:40:22 pm
Re: where to touch for resize

Um, no, below the screen's edge should not be necessary. I just checked (with a mouse so I could see exactly where I was clicking).

The "resize thumb" shows, briefly, as you go from message list to message view and back.
After I've been in the message view for a while, I was trying to move the split boundary. It was tricky to activate that mode. I was either swiping the message in the message list panel (left),  or nothing was happening when I was starting from the right panel (sometime, I'd go full screen, as that's the icon closest to the split line. Actually, going to the full-screen and back does activate that thumb knob that allows resizing). I don't think it's a big deal. I am just letting you know.
Title: Re: Version 1.10.0-382-dev - "work in progress", not in Google Play
Post by: hzamora on May 13, 2017, 11:17:50 pm
Hello Kostya,

I found an issue on the calendar. If I create an appointment in Outlook, it appears in Android, but if I add guests to this appointment on Android, any additional changes I make to the appointment after adding guests is not updated in Exchange (Outlook), which I have seen that allows to sync is the deletion of this appointment.

Regards.
Title: Re: Version 1.10.0-382-dev - "work in progress", not in Google Play
Post by: hzamora on May 13, 2017, 11:49:18 pm
If I send invitations when creating the appointment from AM, the procedure works very well.

But when I create the appointment in AM (without guests) and then in another step I add guests, the appointment is not sent to the guest. It appears to be an error in the procedure of updating the appointment when guests are added.
Title: Re: Version 1.10.0-382-dev - "work in progress", not in Google Play
Post by: hzamora on May 14, 2017, 12:14:22 am
I am sorry Paris, when I wrote creating/updating the appointment from AM, I wanted to write from the Calendar app using Android and AM to sync appointments.

Regarding "Respond invitations in AM", it works fine.

I am attaching a screenshot that shows the 3 options AM offers when answering an appointment. I have tested different answers and I haven't found any issue.

Regardos...
Title: Re: Version 1.10.0-382-dev - "work in progress", not in Google Play
Post by: Kostya Vasilyev on May 14, 2017, 12:35:54 am
Quote
But when I create the appointment in AM (without guests) and then in another step I add guests, the appointment is not sent to the guest. It appears to be an error in the procedure of updating the appointment when guests are added.

Both the initial step and the adding a guest -- are done in the Calendar app on the Android device?

I just tried this exactly -- Nexus 5, Google Calendar, Office 365 account. Worked fine.

Can you try again, and if it still doesn't work, can you please do it one more (third) time with a debug log (with "raw session data" enabled)?
Title: Re: Version 1.10.0-382-dev - "work in progress", not in Google Play
Post by: hzamora on May 14, 2017, 12:51:41 am
Test 1
1.   I created the appointment in Outlook PC (Exchange).
2.   The appointment appears in my Android Calendar synced with AM.
3.   I tried to add invitations to Gmail accounts and Exchange accounts. Those were added in the Android Calendar. It appears all things were working fine.
4.   Those invitations were not synced to Outlook (Exchange). Those invitations were not sent to guests.

Test 2
1. I created the appointment in Android Calendar.
2. It appeared in Outlook PC (Exchange).
3. I added guests in the Android Calendar to the same appointment.  It appears all things were working fine.
4. However, those invitations were not synced to Outlook (Exchange). Those invitations were not sent to guests.

I am using Office 365, Android 7.0. Maybe there is something I don't know and I need to configure.

Regards
Title: Re: Version 1.10.0-382-dev - "work in progress", not in Google Play
Post by: Kostya Vasilyev on May 14, 2017, 12:54:35 am
Re: I just tried this exactly -- Nexus 5, Google Calendar, Office 365 account. Worked fine.

I did not have Outlook in the picture -- but the added attendee did get the invite.

Can you try without Outlook running?
Title: Re: Version 1.10.0-382-dev - "work in progress", not in Google Play
Post by: Kostya Vasilyev on May 14, 2017, 01:01:33 am
Quote
1.   I created the appointment in Outlook PC (Exchange).
2.   The appointment appears in my Android Calendar synced with AM.
3.   I tried to add invitations to Gmail accounts and Exchange accounts. Those were added in the Android Calendar. It appears all things were working fine.
4.   Those invitations were not synced to Outlook (Exchange). Those invitations were not sent to guests.

Rebooted into Windows and used Outlook to create the initial appointment. And then followed your steps - again everything was fine:

- The added attendee was synced to Office 365 web calendar
- ... to Outlook on Windows
- The attendee did get an invite email

Are you giving enough time from making changes on Android to checking what happens?

Android may not call Aqua to "sync events back to server" immediately, I had to use Menu -> Sync in Google Calendar to avoid waiting.
Title: Re: Version 1.10.0-382-dev - "work in progress", not in Google Play
Post by: hzamora on May 14, 2017, 01:13:57 am
I tried again. I am using CalenGoo as Calendar App.

When I changed to the native calendar app, it worked fine.

There is something related with Calengoo.

I have another situation related the native calendar app. The categories (colors) are synced but I can't update it. If I add an appointment I can not find the color.

There is something you can do with the CalenGoo syncronization? or, can I update colors using the native calendar app?

Regards.
Title: Re: Version 1.10.0-382-dev - "work in progress", not in Google Play
Post by: hzamora on May 14, 2017, 01:25:35 am
 :'(

I uses colors for appointments with Exchange (categories). AM is sending those categories as colors, it works very well, with CalenGoo I can select the color.

I am going to write to Dominique  Andre from CalenGoo expecting that he can do something.

Regards...!
Title: Re: Version 1.10.0-382-dev - "work in progress", not in Google Play
Post by: hzamora on May 14, 2017, 01:28:53 am
I am using just the Exchange calendar.
Title: Re: Version 1.10.0-382-dev - "work in progress", not in Google Play
Post by: Kostya Vasilyev on May 14, 2017, 03:17:58 pm
Re: I am going to write to Dominique  Andre from CalenGoo expecting that he can do something.

Aqua Mail syncs categories as these entities:

https://developer.android.com/reference/android/provider/CalendarContract.Colors.html

Official, documented, works in Google Calendar, HTC Calendar, Samsung S Planner, Sony Calendar.

* except occasionally I've seen bugs in Samsung Calendar where it would crash number of categories more than a certain number.

Title: Re: Version 1.10.0-383-dev - "work in progress", not in Google Play
Post by: hzamora on May 15, 2017, 07:43:56 pm
Quote
I tried again. I am using CalenGoo as Calendar App.

When I changed to the native calendar app, it worked fine.

There is something related with Calengoo.

I have another situation related the native calendar app. The categories (colors) are synced but I can't update it. If I add an appointment I can not find the color.

There is something you can do with the CalenGoo syncronization? or, can I update colors using the native calendar app?

Regards.

Hello Kostya,

I sent you an email regarding this issue, I received an answer from CalenGoo support. Best regards...
Title: Re: Version 1.10.0-383-dev - "work in progress", not in Google Play
Post by: Kostya Vasilyev on May 15, 2017, 09:16:51 pm
Re: I sent you an email regarding this issue, I received an answer from CalenGoo support. Best regards...

Our bug. Been there forever, but only brought to light by something CalenGoo was doing (perfectly valid but a bit unusual).

Fixed. Look for it in the next dev build.
Title: Re: Version 1.10.0-383-dev - "work in progress", not in Google Play
Post by: hzamora on May 15, 2017, 10:30:23 pm
Thanks Kostya, I tested the new version and everything is working fine.

I appreciate your time. Regards.
Title: Re: Version 1.10.0-383-dev - "work in progress", not in Google Play
Post by: Kostya Vasilyev on May 15, 2017, 10:36:53 pm
Re: To better understand the fix, would you please a screenshot? Thank you!

For Calengoo?

Quote
CalenGoo sets attendees to "optional" by default, while other calendar apps appear to set them to "required".

I'm talking about the value in CalendarContract.AttendeesColumns.html#ATTENDEE_TYPE

Absolutely nothing wrong with it, and possibly CalenGoo is one of very few apps that give the user precise control over this (but I don't personally use calendar apps).

And then in Aqua Mail's code, I was using wrong Exchange property name for *optional* attendees specifically, so the command to sync to server was failing.
Title: Re: Version 1.10.0-383-dev - "work in progress", not in Google Play
Post by: hzamora on May 15, 2017, 10:49:38 pm

Quote
To better understand the fix, would you please a screenshot? Thank you!

With this fix, it is possible to update mainly adding guests to an appointment. Before the fix, even though an appointment was updated and showing the guests or other changes in CalenGoo, those changes were not sent to Exchange. So, no invitations were sent.

Regards.