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

Changing group avatar results in strange behavior.

Open halb9 opened this issue 9 years ago • 5 comments

I have:

  • [X] searched open and closed issues for duplicates
  • [X] read https://github.com/WhisperSystems/Signal-Android/wiki/Submitting-useful-bug-reports

Bug description

This is a follow up to https://github.com/WhisperSystems/Signal-Android/issues/7225. While https://github.com/WhisperSystems/Signal-Android/commit/a350106f7d73182934babf019e24f61b6e7de8e6 did fix the crash. It did not fix issue with the group avatar.

Steps to reproduce

The avatar you see in this image below is in fact the old avatar. I already replaced it with the new one (Buddy Jesus). However it is not displayed. signal-2017-11-27-220005

In the group view the old avatar is still shown as well. Although a recent change is recognized. signal-2017-11-27-220009

The recent chat overview shows an even older avatar. Restart of phone doesn't help. signal-2017-11-27-220012

However if I go to the settings again, there is Buddy Jesus in full glory. signal-2017-11-27-220710

Actual result: Avatar setting is mixed up. This is not limited to the phone that changes the avatar. It applies to the receiving phone(s) as well. Expected result: None of the above

Device info

Device: see log Android version: see log Signal version: see log

Link to debug log

https://gist.github.com/9a6a03113c7322da2315803e3108abc3

halb9 avatar Nov 27 '17 21:11 halb9

Could you provide steps to reproduce?

moxie0 avatar Nov 28 '17 01:11 moxie0

  • Create a new group. Add two more people to it. No Avatar yet.
  • Add avatar1 to the group. avatar1 will be 'synced' to the other group members. Nothing strange yet.
  • Change avatar1 to avatar2. The new set avatar2 will be correctly displayed in the group edit menu. However if you go back to the chat avatar1 is displayed. In the recent chat list as well.

Taking a look at one of the phones that was added passively to the group. After avatar1 was set it works fine. Everything is displayed correctly. After the change from avatar1 to avatar2 in the recent chat list avatar1 is displayed. In the chat avatar2 is displayed. And in the group edit menu avatar2 is displayed as well.

https://gist.github.com/bba4f36634f550d2fb22ffb102aebd44

I hope this helps. If not I will do a complete screenshot work flow tour ;)

halb9 avatar Nov 28 '17 07:11 halb9

With the 4.14.0 release this seems to be fixed. I was unable to reproduce after all three participants updated their version to 4.14.0.

halb9 avatar Dec 01 '17 16:12 halb9

sorry this is not 100% accurate. This is fixed for groups when they are freshly generated. In old groups I still have avatar1 in the edit menu. And avatar2 in the group chat.

However this is easily fixed by just adding the same picture again and therefore refreshing the group.

It seems like this bug only applies to you if you happened to change the avatar of a group while at the same time be on the beta channel of the app. I don't know how likely this is. But I'll reopen this since it is not completely resolved and please @moxie0 close it again if you are fine with it. Thanks anyways!

halb9 avatar Dec 01 '17 16:12 halb9

GitHub Issue Cleanup: See #7598 for more information.

automated-signal avatar Apr 03 '18 04:04 automated-signal