Deltachat-desktop: receiving a message with an email duplicates content before the mail

Created on 21 Jan 2019  路  15Comments  路  Source: deltachat/deltachat-desktop

On: Ubuntu Bionic
screenshot_delta_desktop_contact

The Name is shown twice.

To reproduce: Open Deltachat on different system (e.G. Android) and attach a Contact to a chat.

bug uux polish

All 15 comments

How did you send the contact? I can't reproduce this behavior currently.

Its probably in this file: src/renderer/components/conversations/EmbeddedContact.js
But I need to know how to send contacts in a way that triggers this.

I chatted from my Delta Android to Delta Desktop.
Attach -> Contact.

just tested this, for me this works :)

in fact, the "send contacts" are just plain texts, two lines, name+address, there is nothing special with them on the receiving site.
(so it might also be a bug on the sender site that is fixed in between)

@r10s No. It is Desktop, just tested it again.

(I didn't update Desktop before, so might be that it was solved already).

Desktop Version 0.98.2-PREVIEW

@r10s I can report that the text that was sent is exactly as you describe it: Just a name, a newline and an e-mail. Still Desktop displays it as shown in the screenshot above.

On Sun, Feb 10, 2019 at 10:27 -0800, Angelo Fuchs wrote:

@r10s I can report that the text that was sent is exactly as you describe it: Just a name, a newline and an e-mail. Still Desktop displays it as shown in the screenshot above.

seems like desktop is haunted with "double" showing of text.

It is super weird. It is triggered by the combination some lines, one newline, one line with an email

Triggers

Bla
[email protected]

Doesn't trigger:

Bla
Blubb

Surprisingly also doesn't trigger:

Bla
[email protected]

It seems that when there is an email, the sections above are displayed twice so:

Bla
Blubb
[email protected]

gets displayed as:

Bla
Blubb
Bla
Blubb
[email protected]

It is multipliedd also by the amount of emails present so

One
Two
Three
[email protected]
[email protected]

gets displayed as

One
Two
Three
One
Two
Three
[email protected]
[email protected]
One
Two
Three
[email protected]
[email protected]

I just noticed that the newline is not needed as well.

Foo [email protected]

gets displayed as

Foo Foo [email protected]

On Mon, Feb 11, 2019 at 03:52 -0800, Angelo Fuchs wrote:

I just noticed that the newline is not needed as well.

Foo [email protected]

gets displayed as

Foo Foo [email protected]

For the record, there were earlier problems when mail addresses
are contained in messages -- they would double the whole message.
Is this maybe another case of parsing e-mail addresses interfering
with the rendering?

@angelo-fuchs was this solved with #617 ? Does it happen in an recent version, too?

I'll close this now, as I'm 99% sure that we solved it with #617.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

Jikstra picture Jikstra  路  3Comments

ralphtheninja picture ralphtheninja  路  6Comments

hpk42 picture hpk42  路  6Comments

r10s picture r10s  路  6Comments

ralphtheninja picture ralphtheninja  路  6Comments