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

Multi-row messages jumping to the left when opening a thread

Open ComeGitSome opened this issue 11 years ago • 21 comments

Send a message with at least two rows, like XXXXXXX XXXXXXX

The new row has to be made with the enter key, not by writing a long message. Open the thread and press back a few times. The text inside the message will jump to the left

ComeGitSome avatar Jul 09 '15 16:07 ComeGitSome

Tried to reproduce this:

  1. I send a message:
XXXXXXX
XXXXXXX
  1. I close the thread???
  2. I open the thread
  3. I press back a few times
  4. Now I'm in Android's home screen
  5. wut?

Nexus 4, Android 5.1.1, TS 2.21.0

2-4601 avatar Jul 09 '15 16:07 2-4601

Sorry, I meant keep opening the thread. It doesn't happen every time (but almost) and it also makes it easier to spot if you do it over and over again.

ComeGitSome avatar Jul 09 '15 17:07 ComeGitSome

What is your device? And which Android and TextSecure versions are you running? Could you post a video of the glitch?

2-4601 avatar Jul 09 '15 17:07 2-4601

Samsung Galaxy S4 GT-I9509 Android 5.0.1 Textsecure 2.21.0 (beta)

I recorded a short video but haven't figured out how to remove all personal info using OpenShot.

ComeGitSome avatar Jul 09 '15 18:07 ComeGitSome

Thanks for taking the time to record a video.

Covering personal data in a video might be a little bit tedious. Another way would be to create so many new groups that they cover the whole conversation list thus hiding all your personal conversations below. And then reproduce the glitch in one of those group conversations. ~~This requires at least one other person to test with.~~ You can create as many groups with the same person as you wish.

2-4601 avatar Jul 09 '15 18:07 2-4601

It seems you can also create a group with yourself (as long as you have your own number in your contacts) so you don't need to bug your friends for this.

2-4601 avatar Jul 09 '15 18:07 2-4601

screen-recording

ComeGitSome avatar Jul 09 '15 19:07 ComeGitSome

:+1: very nice, thanks!

It might help to also submit a debug log. Immediately after the glitch go to Settings --> Advanced --> Submit debug log and then paste the url here.

I'm not sure if the glitch will be caught in the log but then you have at least done pretty much everything you can to help fix this.

2-4601 avatar Jul 09 '15 19:07 2-4601

I can't see the jumping but sometimes the whitespace on the right is bigger than normal:

N4, 5.1.1, master

normal: normal bigger: bigger

agrajaghh avatar Jul 09 '15 19:07 agrajaghh

I experience this like @agrajaghh Didn't notice before. Nexus 4, Android 5.1.1, TS 2.21.0

2-4601 avatar Jul 09 '15 20:07 2-4601

I'm not experiencing this anymore with TS 2.23.2

2-4601 avatar Jul 24 '15 12:07 2-4601

Still happens for me on version 2.23.2. Did you try a couple of times?

ComeGitSome avatar Jul 24 '15 21:07 ComeGitSome

Not just a couple of times but 10 times for each contact :) I will try tomorrow again even more thoroughly. But as I've said before I couldn't reproduce this exactly as @ComeGitSome. Only @agrajaghh​-style So I think @ComeGitSome should have the final say when this is fully solved.

2-4601 avatar Jul 24 '15 22:07 2-4601

Sorry, it's still there for me too. Just requires a lot of tries.

Here are three pictures to demonstrate. The pictures are composed of two separate cases: top has no issue; bottom has the padding issue (but the bug is not necessarily manifested)

multiple lines, but no newline characters: no bug wrappednonewlines


one line (no newline characters): no bug nonewlines


multiple lines, two newline characters: bug newlines

tl;dr @ComeGitSome's gif is very concise and clear and demonstrates the bug much better than my still shots.

2-4601 avatar Jul 25 '15 11:07 2-4601

I don't see it every time either. I'm guessing either it happens too fast or more likely due to lag that hides the effect, because the same is true when watching the gif I posted.

ComeGitSome avatar Jul 25 '15 11:07 ComeGitSome

I can see the jump if I open "conversation settings" and then press back. Works only the first time though.

2-4601 avatar Sep 19 '15 16:09 2-4601

just tried to repro this and can't - assuming fixed

mcginty avatar Nov 16 '15 21:11 mcginty

@mcginty Try harder :stuck_out_tongue_winking_eye: jump

3.4.2, Nexus 4, 5.1.1

2-4601 avatar Nov 16 '15 22:11 2-4601

Still no repro on the two devices I tried on, but will keep it open I guess!

mcginty avatar Nov 16 '15 22:11 mcginty

Yeah, this is a cockroach issue. When you think it's gone, it comes back. This was closed July when I thought I couldn't reproduce it any more but I just hadn't tried hard enough :) I can only reproduce this on Nexus 4, not with my other device (Huawei U8800)

2-4601 avatar Nov 17 '15 15:11 2-4601