Deltachat-android: preserve selection when new messages come in

Created on 19 Oct 2019  路  8Comments  路  Source: deltachat/deltachat-android

  • You don't see what messages you have selected
  • Bug: you can select the same message multiple times and the counter of selected messages will increase indefinitely.
bug

Most helpful comment

actually I face this bug quite often, and it is easy to reproduce:

  1. Select some messages
  2. Receive a new message from any chat
  3. Current selection disappears, but selection counter is preserved and top bar still is in select mode
  4. Select previously selected messages again

All 8 comments

how can you reproduce this bug?
if i try to select a selected message a second time, it gets deselected and the counter decreases.

select message a then message b then message a again and so on

then message a again

hm, this deselects message a for me.
can you reproduce this on different devices? maybe it happens on some android versions?

It's a very rare bug that appears sometimes after spam touching.
The more common bug with spam touching is that the counter stays at a higher number even when all messages look deselected.
I would say this could be a reason to review that code part again, but it's nothing urgent.

actually I face this bug quite often, and it is easy to reproduce:

  1. Select some messages
  2. Receive a new message from any chat
  3. Current selection disappears, but selection counter is preserved and top bar still is in select mode
  4. Select previously selected messages again

@adbenitez thanks for clarifying, this is pretty useful :)

Another way to cause the same effect.
. Select a memsage
. Then scroll through many messages
. Then flies at the beginning

This causes the same effect
v1.0.3

Also when you click send, and when the message is sent,
Apparently anything that causes an update of the chat view causes this error in the selection of a message.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

travisfw picture travisfw  路  5Comments

r10s picture r10s  路  4Comments

webratte picture webratte  路  4Comments

luisfsr picture luisfsr  路  5Comments

gerroon picture gerroon  路  3Comments