Author Topic: Version 1.6.1-dev4.2 - "work in progress"  (Read 12454 times)

Kostya Vasilyev

  • Hero Member
  • *****
  • Posts: 12740
Version 1.6.1-dev4.2 - "work in progress"
« on: February 04, 2016, 01:35:57 am »
https://www.aqua-mail.com/download/AquaMail-market-1.6.1.0-dev4.2.apk

---

+ Fixed regression with URL highlighting

+ Links in messages now open new tabs (in web browsers)

+ A few "finishing touches" in Contacts lookup

@julio -- can you please let me know if this version is better wrt. the "white screen" issue you've been seeing?

If you still get this "white screen", please turn OFF app settings -> Contacts -> "Ignore case" to see if this makes a difference.

---

+ Исправил ошибку в подсвечивании ссылок (-dev4).

+ Ссылки теперь открываются в новой вкладке (в браузерах).

+ Небольшие "завершаюшие штрихи" в коде полчения картинок из Контактов
« Last Edit: February 05, 2016, 11:13:14 pm by Kostya Vasilyev, Aqua Mail »
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/

Davey126

  • Sr. Member
  • ****
  • Posts: 258
Re: Version 1.6.1-dev4.2 - "work in progress"
« Reply #1 on: February 05, 2016, 01:16:47 am »
I realize this is not the place for suggestions but I'm going to sneak one in related the recent regression/correction of URL highlighting and 'click-ability'.

When long pressing a URL the only options presented are Open, Copy and Share. I am looking for 'Copy Text'.

Rational:
- sometimes I just want to copy/paste the URL itself into another document
- emails from commercial properties (eg: Ziff Davis publications like Extreme Tech) increasingly include URLs with embedded trackers. To get around that I highlight the article title and then click 'web search' within AquaMail. Works like a charm. However, the highlighting process is a bit awkward as I have to first long press another area of the screen then adjust the start/end markers to encompass only the article title.

Feel free to school me in proper protocol if this request is wildly out of place. Just seemed a natural extension of code that is currently being looked at. :)

Kostya Vasilyev

  • Hero Member
  • *****
  • Posts: 12740
Re: Version 1.6.1-dev4.2 - "work in progress"
« Reply #2 on: February 05, 2016, 01:18:26 am »
Um, given that there already is a Copy in that menu -- how would this be different?
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/

Davey126

  • Sr. Member
  • ****
  • Posts: 258
Re: Version 1.6.1-dev4.2 - "work in progress"
« Reply #3 on: February 05, 2016, 01:33:50 am »
In the second example 'copy' copies the underlying URL to the clipboard vs the article title (URL descriptor). I can shoot you a sample email newsletter if unclear. This is the most frequent use case for me; do this operation a half-dozen or more times every day. A lot of articles I choose not to read due to the extra clicks involved. I absolutely hate being tracked by commercial properties.

My first example is 'special case' when Aquamail misidentifies straight text as a URL. I'm not fussed about that as it doesn't happen frequently; perhaps more often to me than other due to the nature of my communications. I can send an example of this as well but don't want to make a big deal of it.
« Last Edit: February 05, 2016, 01:38:19 am by Davey126 »

Kostya Vasilyev

  • Hero Member
  • *****
  • Posts: 12740
Re: Version 1.6.1-dev4.2 - "work in progress"
« Reply #4 on: February 05, 2016, 01:41:37 am »
@Davey: right now Copy in the log press menu copies the URL, not the text.

I'm well aware of the difference :)

Given:

<a href="http://mail.ru/track/3984893">Look here</a>

Long press -> Copy will copy "http://....." but not "Look here".

You want it to copy "Look here", correct?

Unfortunately, in my "long press callback" I only get the anchor, not the text:

http://developer.android.com/intl/ru/reference/android/webkit/WebView.HitTestResult.html

... one integer "type" and one string "extra", in this case the "extra" is the "href" value.

---

Misidentified links:

Sure, feel free to send me one to kmansoft / gmail.

Can't promise I'll fix it (regular expressions can be a little fragile), but I will look at it.
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/

mikeone

  • Hero Member
  • *****
  • Posts: 2767
Re: Version 1.6.1-dev4.2 - "work in progress"
« Reply #5 on: February 05, 2016, 03:13:21 am »
@Davey126
Thanks for this suggestion.

I will try to give an example for Kostya. Long press on the link as shown in screenshot #1 could offer two different "Copy" options (screenshot #2)

Option 1
copy (link address)

https://www.google.de/url?sa=t&source=web&rct=j&url=http://www.aqua-mail.com/%3Fpage_id%3D227&ved=0ahUKEwj656Hqp9_KAhXBWCwKHbg4DLYQFgg1MAQ&usg=AFQjCNE4soNvGD8G52LvK1AriEwZTwEi_g


Option 2
copy (link text)

AquaMail: English: FAQ - Aqua Mail
« Last Edit: February 05, 2016, 03:16:42 am by mikeone »

Davey126

  • Sr. Member
  • ****
  • Posts: 258
Re: Version 1.6.1-dev4.2 - "work in progress"
« Reply #6 on: February 05, 2016, 03:25:46 am »
"I'm well aware of the difference :)"
Oh nooooo - caught red handed patronizing the developer!! :) :)

(sorry about that...fine line between clarifying and insulting)

"... one integer "type" and one string "extra", in this case the "extra" is the "href" value."
Got it - thanks.

An awkward workaround might be some mechanism for invoking standard copy/paste - but that would ruin the flow and probably not worth it given small community that might benefit from this capability.

"Misidentified links"
I will shoot you an example but I wouldn't spend any time trying to accommodate. Really is an edge case when separated from the other example. 

Kostya Vasilyev

  • Hero Member
  • *****
  • Posts: 12740
Re: Version 1.6.1-dev4.2 - "work in progress"
« Reply #7 on: February 05, 2016, 09:01:50 pm »
Quote
"I'm well aware of the difference :)"
Oh nooooo - caught red handed patronizing the developer!! :) :)

Oh no, caught red handed patronizing back :)
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/