Signal-Android icon indicating copy to clipboard operation
Signal-Android copied to clipboard

Message selection is unreliable for non-plaitext messages

Open i7u opened this issue 11 years ago • 9 comments

Not sure if this is a regression of the latest release, but I just noticed this behaviour on my Samsung SIII (GT-I9300) and wife's GT-I9305, both with stock Android 4.3 - both with latest TextSecure.

When looking at a contact's thread, long pressing on messages that include:

  • a photo or
  • a number that has been auto-recognized by Android (therefore underlined) ... does not work as expected:
  • Such messages cannot be selected (they will not be highlighted), even though the "info", "delete", "copy" and "forward" buttons will show up.
  • Performing any action on them (like copy or forward) makes it obvious (when pasting or sending the forwarded message) that a different message has actually been copied to the clipboard! Example: I long-press on msg number 10 in a thread, click the "copy" icon, then paste in the text input area and a different message (usually 11 or 14 ) is pasted! The same effect is seen with copy/paste, forward and message deletion.

To test whether you're affected by this bug:

  1. Find a TextSecure message that meets the above criteria (has underlined numbers or a photo)
  2. Long-press to select it
  3. Tap the "copy" icon
  4. Long-press in the message composition area
  5. Tap "paste"

If a different message (or nothing) is pasted, you're bitten by the bug.

i7u avatar Dec 04 '14 23:12 i7u

I can confirm the bug, I've noticed it, too!

Mihahn avatar Dec 07 '14 22:12 Mihahn

This is keeping at least one of my friends from using this app.

jeremymasters avatar Dec 08 '14 02:12 jeremymasters

+1 for fixing this

seppi91 avatar Dec 08 '14 10:12 seppi91

I just wanted to file this issue and found this bug report.

The "different message" is always the last message of the thread. Very annoying: If I try to delete such an unelectable message, the last message of the thread is deleted!

==> Data loss! Needs to be fixed asap.

Norbert80 avatar Dec 09 '14 16:12 Norbert80

Typo: "unelectable" ==> "unselectable"

Norbert80 avatar Dec 09 '14 16:12 Norbert80

@Norbert80 you can always just edit your post too instead of creating a new one.

jeremymasters avatar Dec 09 '14 16:12 jeremymasters

I've also experienced it. This needs a 'bug' label at the very least.

deutrino avatar Dec 29 '14 19:12 deutrino

Awesome! :+1:

deutrino avatar Dec 30 '14 03:12 deutrino

Confirmed fixed with today's release on Google Play. Great job!

i7u avatar Jan 13 '15 22:01 i7u