AquaMail Forum

English - Android => Development builds => Topic started by: Kostya Vasilyev on August 27, 2013, 01:51:00 am

Title: Version 1.2.4.41
Post by: Kostya Vasilyev on August 27, 2013, 01:51:00 am
http://www.aqua-mail.com/download/AquaMail-market-1.2.4.41.apk

- Fixed cursor jumping to end of body text when replying (past the signature)

- Made newline before signature to work exactly as in previous versions
Title: Re: Version 1.2.4.41
Post by: fatappel on August 27, 2013, 02:45:57 am
Thank you for the update.  Been anticipating rich text composing for some time and very happy to see it added in the beta.  It's working very well and I thank you for your work.  I know you put a lot of work and effort into the way .eml files are handled.  I can see the convenience many users would find with these files/attachments being view-able in the body of the email.  I however need the ability to open, edit and forward .eml files in my profession and this new in-line format does not allow me to do so.  Would it be possible to add this as a user option.  ".eml viewing" 1] In body of message.  2] As attachment?

I really want to use the latest testing version of the client with rich text editing but can not lose the eml's as attachment handling per the latest play store version.  Thank you for your consideration.  I look forward to your many upcoming and much appreciated developments.
Title: Re: Version 1.2.4.41
Post by: kaczor on August 27, 2013, 03:09:49 am
Thanks Kostya!

edit [2013-08-27 01:22]
It seems everything works as expected. Except one thing, Kostya, is it possible to change the font of messages? It looks very pretty when composing, as Aqua uses sans-serif font family... unfortunately, the messages are sent without any CSS styles, and when receiving through web or Outlook for example, mails are displayed in serif family - which looks crapy in my opinion :/

Take a look (a screen from Outlook. Mail sent with sans-serif CSS on the left and from Aqua, no stylesheet on right):
(http://imageshack.com/a/img818/7963/at97.png)

What do you think Kostya?
Title: Re: Version 1.2.4.41
Post by: dans on August 27, 2013, 02:24:22 pm
Any idea when the final version will be released on Google play? It is been a while since April I think.

Sent from my GT-I9505 using Tapatalk 4

Title: Re: Version 1.2.4.41
Post by: thathipasanna on August 27, 2013, 03:35:56 pm
Sorry Kostya for mistyping your name.

Hello Joshua,

Thanks for adding rich text format.

I came across an issue which I request to resolve. While trying to print an email by selecting send/share/print message text I am getting other options in pop up menu but am not able to fine my WiFi printer in the list, could you please resolve it.
Title: Re: Version 1.2.4.41
Post by: kaczor on August 27, 2013, 03:47:15 pm
Kostya,

I have a mail which I'm not able to respond to :) Each time I click reply button Aqua crashes :)

Here (https://docs.google.com/file/d/0Bx9NKFcWBpjieW9UcWVmVVpRa28/edit?usp=sharing) is the crash log.

cheers!

EDIT: Kostya, the funny thing is that this mail causes also my web mail interface crash :) Do not bother yourself with it. Strange thing is that this mail is a standard correspondence within ebay account :)
Title: Re: Version 1.2.4.41
Post by: Kostya Vasilyev on August 29, 2013, 02:20:48 am
@dans - Hopefully very soon. Yes it's been a while, I know. I also posted information on this forum about why it's taking so long. Not happy about it either.

Hopefully whatever version you already have installed is not working any worse than it did when released.

@thathipasanna - Do not expect to see your actual printer (e.g. "Samsung CX200" or something).... This is the list of *apps*, not devices. Please install a printing app, which will then talk to the printer.

My favorite is Cloud Print by Paolo Fernandes, it can print HTML messages with images.

@kaczor - I would like to fix this. And since it's from ebay (I worked there ages ago, btw), other users might run into it. The crash log indicates an issue in my code (although it's likely that there is something strange about the message).

Please send the original message source as an attachment to kmansoft / at sign / gmail / dot com. You know how to get it in Gmail / web or other web mail services, or desktop mail apps?

And please try the build below (maybe I'm telepathic after all):

http://www.aqua-mail.com/download/AquaMail-market-1.2.4.41.1.apk

If this works, I still would like to get the message's source if at all possible :)
Title: Re: Version 1.2.4.41
Post by: Kostya Vasilyev on August 29, 2013, 02:34:51 am
@kaczor - about fonts (typefaces)... I had it working, then ran into some ugly device specific issues, so had to remove it for now.

There is no font specified anywhere in outgoing messages, so the actual assigned typeface depends on the receiving app and its default HTML styles.
Title: Re: Version 1.2.4.41
Post by: thathipasanna on August 29, 2013, 01:40:10 pm
I got it, Thanks Kostya


@thathipasanna - Do not expect to see your actual printer (e.g. "Samsung CX200" or something).... This is the list of *apps*, not devices. Please install a printing app, which will then talk to the printer.

My favorite is Cloud Print by Paolo Fernandes, it can print HTML messages with images.

Title: Re: Version 1.2.4.41
Post by: Kostya Vasilyev on August 29, 2013, 02:49:15 pm
@kaczor

sans-serif font:

http://www.aqua-mail.com/download/AquaMail-market-1.2.4.41.2.apk
Title: Re: Version 1.2.4.41
Post by: fatappel on August 29, 2013, 08:58:10 pm
Love the new font style when receiving.  Nice job.  It's big though .  Comes in as 12 pt which is big for this style in my opinion.  Think 10 or 11 would be better. 
Title: Re: Version 1.2.4.41
Post by: Kostya Vasilyev on August 29, 2013, 08:59:25 pm
I do not have a font size setting in outgoing mail either.... So whatever you're seeing is Outlook's default font size for HTML.
Title: Re: Version 1.2.4.41
Post by: kaczor on August 29, 2013, 09:12:35 pm
@kaczor - I would like to fix this. And since it's from ebay (I worked there ages ago, btw), other users might run into it. The crash log indicates an issue in my code (although it's likely that there is something strange about the message).

Please send the original message source as an attachment to kmansoft / at sign / gmail / dot com. You know how to get it in Gmail / web or other web mail services, or desktop mail apps?

And please try the build below (maybe I'm telepathic after all):

http://www.aqua-mail.com/download/AquaMail-market-1.2.4.41.1.apk

If this works, I still would like to get the message's source if at all possible :)

Hi Kostya, message source sent, 1.2.4.41.1 solves the problem though.

You know how to get it in Gmail / web or other web mail services, or desktop mail apps?

I believe I do, I'm a programmer btw ;)

I do not have a font size setting in outgoing mail either.... So whatever you're seeing is Outlook's default font size for HTML.

The font size is not specified in the mail html styles... but in fact it looks quite big (for example in Outlook, comparing to other messages). I don't think it would be a good idea to add a font size to the body style also... you would then probably get request to increase it :|

What I've thought is maybe we could add an advanced option to edit sent HTML mail template, for example we could add a file into some aqua folder (or just an advanced option with area to copy a html text into) with content similar to this one:
<html>
<head>
<meta http-equiv="Content-Type" content="text/html"/>
</head>
<body style="font-family: sans-serif;">
<!-- BODY -->
<!-- SIGNATURE -->
</body>
</html>


You'll only need to change the <!-- BODY --> with the written email content and <!-- SIGNATURE --> with signature set in settings (or, if SIGNATURE comment is not there - do not add any signature). This would allow to fully customise sent emails, even making own HTML signature version, without using internal settings signature editor, etc.

Anyone would then be able also to change the size of the whole message font... just anything :)

For example:
<html>
<head>
<meta http-equiv="Content-Type" content="text/html"/>
</head>
<body style="font-family: sans-serif;">
<!-- BODY -->
<p>
   <span style="font-size: 75%;">--</span><br>
   <b><font color ="#0070c0">Krzysztof Kaczor</font></b><br>
   <span style="font-size: 75%;">mailto: </span><span style="font-size: 75%;"><b>somemail@someserver</b></span><br>
   <span style="font-size: 75%;">mob: 666555444</span><br>
</p>
</body>
</html>
Title: Re: Version 1.2.4.41
Post by: Kostya Vasilyev on August 29, 2013, 09:21:20 pm
Wow, that message has, like, a dozen <body>... </body> parts inside!

I'll take a look to make sure my code handles it in a sensible way, and not only doesn't crash.

Weird. You'd think the people at eBay knew something about HTML :)
Title: Re: Version 1.2.4.41
Post by: kaczor on August 29, 2013, 09:34:46 pm
I believe not, as this message causes also my web mail client to crash the whole browser when responding :) But Outlook survives :)

Wow, that message has, like, a dozen <body>... </body> parts inside!

It is made of three joined <html>...</html> sections :\ weird, indeed! :):):)

I'll take a look to make sure my code handles it in a sensible way, and not only doesn't crash.

I can see the original message, when responding looks okay, so it is handled somehow :)

PS. are you aware that when responding, embedded pictures are loaded into original message, attached below the response?

and

PS2. I've modified my previous post a little bit - take a look ;)
Title: Re: Version 1.2.4.41
Post by: Kostya Vasilyev on August 29, 2013, 09:38:54 pm
Ok, templates won't happen soon, I guarantee it :)

Will take a look at setting font size in the body style. Really am not prepared to deal with parsing and changing CSS data (for referenced messages).

I just made some changes to handle the ebay message as best as I can...
Title: Re: Version 1.2.4.41
Post by: kaczor on August 29, 2013, 10:00:16 pm
Ok, templates won't happen soon, I guarantee it :)
:( Are there any reasons I'm not aware of (security, etc?) :)
Title: Re: Version 1.2.4.41
Post by: Kostya Vasilyev on August 29, 2013, 10:02:48 pm
No, much more simple: my having only two arms (and two legs), one brain, and even that is still not working too good :)
Title: Re: Version 1.2.4.41
Post by: kaczor on August 29, 2013, 10:11:10 pm
Sounds reasonable :P

PS. you can always search for additional hands. Programming on 4 hands is always more pleasant than alone :)
Title: Re: Version 1.2.4.41
Post by: Rachel Ambler on September 01, 2013, 06:09:15 pm
No, much more simple: my having only two arms (and two legs), one brain, and even that is still not working too good :)

Sent from my SCH-I535 using Tapatalk 2

Time to launch a kickstarter fund to grow Kostya a third arm and an extra brain... ;D
Title: Re: Version 1.2.4.41
Post by: kaczor on September 01, 2013, 10:27:42 pm
+1
Title: Re: Version 1.2.4.41
Post by: Kostya Vasilyev on September 02, 2013, 01:11:32 am
@Rachel -- haha, good idea, but kickstarter just recently stopped working with biotech projects :)

---

This fixes the "more and more blank lines before signature" issue:

http://www.aqua-mail.com/forum/index.php?topic=1524.0

Big thanks to @kaczor for that one, he's a genuis :)
Title: Re: Version 1.2.4.41
Post by: kaczor on September 02, 2013, 07:17:37 am
 8)