Author Topic: 1.3.27  (Read 12693 times)

Kostya Vasilyev

  • Hero Member
  • *****
  • Posts: 12740
1.3.27
« on: May 22, 2014, 02:23:03 am »
http://www.aqua-mail.com/download/AquaMail-market-1.3.27.apk


+ Rich text editor: typefaces (serif, sanf serif, mono).

+ Rich text editor: inline images (Android 4.1+). In signatures and greetings too.

Images supported on Android 4.1+

The rich editor format bar now may have horizontal scrolling, so I could avoid making the icons 1x1 pixel. The new commands (typeface and insert image) are towards the end.

Tap an image to set its options -- add web link, set scale and alignment.

Things I could not get to work with inline images:

Images larger than screen width (underlying Android system code just does not want to draw them).

Copying / pasting of images. May be able to code a solution that will work just within Aqua.

Please post issues / bug reports here or email to kmansoft / gmail.


+ Редактор форматированного текста: тип шрифта (с засечками, без, моноширинный).

+ Там же: вставка картинок (Андроид 4.1+). В том числе в "приветствиях" и подписях.

Картинки поддерживаются на Андроиде 4.1 и выше.

Панелька с командами фоматирования теперь может прокручиветься горизонтально, чтобы не делать иконки 1*1 пиксель. Новые команды (тип шрифта и вставка картинки) расположены справа.

Короткое нажатие на картинке вызывает меню -- задать ссылку, масштаб, выравнивание.

Не получилось с картинками:

Картинки больше чем ширина окна (системный код в Андроиде такие картинки просто не рисует).

Копирование / вставка картинок. Может быть дальше получится сделать только в рамках самой программы.

Об ошибках / проблемах можно писать здесь или на kmansoft / gmail.
« Last Edit: May 23, 2014, 01:54:50 am 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/

PTskiturns

  • Newbie
  • *
  • Posts: 9
Re: 1.3.27
« Reply #1 on: May 22, 2014, 04:30:10 am »
Really pleased to see that you are back with more great features.

Fcasoli

  • Hero Member
  • *****
  • Posts: 541
Re: 1.3.27
« Reply #2 on: May 22, 2014, 11:28:36 am »
Step by step a big gift this email client...
Thanks for this new release  :-*

Mattik

  • Newbie
  • *
  • Posts: 34
Re: 1.3.27
« Reply #3 on: May 22, 2014, 12:07:51 pm »
 Great work overall. Thanks.

Sent from my XT 890


andrewilley

  • Jr. Member
  • **
  • Posts: 91
Re: 1.3.27
« Reply #4 on: May 22, 2014, 12:53:20 pm »
Thanks for the update, and I hope your health is starting to improve now.

Andre

andrewilley

  • Jr. Member
  • **
  • Posts: 91
Re: 1.3.27
« Reply #5 on: May 25, 2014, 12:45:55 pm »
I found images inserted into my signature seem to be a lot smaller than I would have expected relative to the text. I suspect they are being mapped pixel-by-pixel as per the screen resolution (which in my case is 1080px) which makes the end result vary by phone, and in my case are a lot smaller within the email than (say) Outlook would have done. Picture size is set in Aqua to "Original Size".

Attached is how my sig image looks in an email that was sent from Outlook, and then from Aqua.
For reference, in Outlook the font sizes are Body=11pt, Line-below-image=11pt, Disclaimer=8pt.
In Aqua, Body text is set at 12pt, "Sent-from Galaxy"=Normal, Line-below-image=Normal, Disclaimer=Small.

[Edit to update]
When I save the sig pics from the received emails, the Outlook-sent version gives a JPG as per the original 468x60 image, but the AquaMail-sent version is saved as 234x30 - so it looks like even when "Original Size" is selected, Aqua is using a 50% reduction.

Andre
« Last Edit: May 25, 2014, 12:56:01 pm by andrewilley »

Kostya Vasilyev

  • Hero Member
  • *****
  • Posts: 12740
Re: 1.3.27
« Reply #6 on: May 25, 2014, 09:37:00 pm »
And about the font etc --

-- just want to remind everyone that Outlook, Thunderbird, and other "big" mail apps have editors that are truly HTML aware.

They had something to base them on -- MS Word, FrontPage,  Mozilla's HTML engine, etc.

On the other hand, I have to work with the very limited Android text editor. Technically, it can deal with styling and images, but in practice... Devil's in the details, you know.
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/

andrewilley

  • Jr. Member
  • **
  • Posts: 91
Re: 1.3.27
« Reply #7 on: May 25, 2014, 10:26:10 pm »
Don't worry, wasn't concerned about the fonts directly - I know this is just a basic Rich Text implementation, and as such it is working very well; I was just using the fonts as a size reference.

My concern was that even though the JPG image was meant to be inserted into the email at Original Size, it is coming out at exactly 50% reduced, which is a bit too small to be usable. The image in question is only 468px wide, i.e. less than half the width of my Android screen even in portrait mode, which I think was the size you said the system was limited to? Great work on including it anyway though, just needs the scaling looking at.

Andre

Kostya Vasilyev

  • Hero Member
  • *****
  • Posts: 12740
Re: 1.3.27
« Reply #8 on: May 25, 2014, 10:31:07 pm »
Yes, there is resizing.

Since going over the -- arbirary -- limit in system code makes inline images not show at all, I'd rather be safe than sorry.

So, the appropriate use case is not 20Mpix photos of cute kittens, but corporate logos, links to twitter, etc.
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/

andrewilley

  • Jr. Member
  • **
  • Posts: 91
Re: 1.3.27
« Reply #9 on: May 25, 2014, 11:56:25 pm »
Thanks. So what limits should we keep to in order to ensure that the "Original Size" scaling option works as selected then? I must admit that I regard 468x60 (18k file size) as a pretty small signature image already (it's the standard one I've been using for about 5 years) and it already looks tiny on even my Note 3 phone screen. I did avoid kittens though. :)

Andre

Kostya Vasilyev

  • Hero Member
  • *****
  • Posts: 12740
Re: 1.3.27
« Reply #10 on: May 26, 2014, 12:08:19 am »
The exact limit is 280 by 280 px. The automatic resize cuts both sizes in half until they both fit.

I may be able to make the code a bit smarter about it, but the hard limit is the screen width -- which is guaranteed to be below 320 logical units (less some padding on the sides of the edit area's content).

Then there is display density (actual pixels per inch) -- so a 100px image will be displayed while editing as 300px (on a modern full HD 5" or so device), to match how it will be displayed in actual HTML content.
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/

Kostya Vasilyev

  • Hero Member
  • *****
  • Posts: 12740
Re: 1.3.27
« Reply #11 on: May 26, 2014, 01:43:54 am »
Yes, handling cases like 300 -> 150 (280 would be better) is what I had in mind. I'll think about sqrt(2) scaling.
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/

g6agarwal

  • Jr. Member
  • **
  • Posts: 70
Re: 1.3.27
« Reply #12 on: May 26, 2014, 10:57:29 pm »
If i write something near image it  go below an image.. Two lines can't be write near image??

Sent from my GT-I9500 using Tapatalk


Kostya Vasilyev

  • Hero Member
  • *****
  • Posts: 12740
Re: 1.3.27
« Reply #13 on: May 26, 2014, 11:10:04 pm »
Sorry, no can do.

Don't have a "real" HTML editor that could handle "CSS { float: left; }" for an image while editing.
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/