Signal-desktop: Custom avatar choosen from contact won't appear in desktop app (macOS) once own picture was removed from iOS

Created on 15 Jan 2020  路  7Comments  路  Source: signalapp/Signal-Desktop

  • [x] I have searched open and closed issues for duplicates

Bug Description


I recently removed some picture avatars from contacts in iOS. In Signal for iOS the correct avatar, the one selected by each contact, appears for the contact in the chat; but in the desktop app (macOS) it shows the old avatar picture (located in Users/[current]/Library/Application Support/Signal/attachments.noindex/[...]/[...])
I tryed importing contacts, but nothing changed.
I also tryed removing the image from the location above, but then an error shows in the logs "Failed to load resource: net::ERR_FILE_NOT_FOUND". If I put back the image, the error is gone, but the image is of course not the correct one.

Steps to Reproduce

  1. In iOS > Contacts > (select one) > Edit > Add picture
  2. Start Signal for iOS, and check that the new picture shows correctly.
  3. Start Singal desktop for macOS, and check that the new picture shows correctly.
  4. Go to iOS and delete the image from the contact. To remove, edit and select the Letter with the GREY background (choosing a different bg color won't do the trick!).
  5. Open Signal for iOS. The image is now gone there, and the one chossed by the contact appears.
  6. Open Signal desktop for macOS. The previous image (deleted in iOS) is still there!

Actual Result:


The removed image in iOS still shows in Signal dektop for macOS

Expected Result:


Once an avatar image is deleted from iOS, the custom image choose by the contact should appear instead in Signal for macOS (as happens in iOS).

Platform Info

Signal Version:
Signal for iOS 3.1.1.1
Signal desktop for macOS 1.29.4

Operating System:
iOS 13.3
macOS 10.15.2

Bug

Most helpful comment

It seems the latest update (Signal-desktop macOS), has addressed this issue. Good work!

All 7 comments

Hi, @aguavisual. I ran through your steps but everything worked as expected for me. Can you provide us with a debug log for both Desktop and your primary device?

Hello @kenpowers-signal, thanks for checking. So in Signal-Desktop for macOS you are getting the "selected by contact avatar" when you delete your own custom avatar for that contact. That's odd, I can reproduce the problem in two MacBooks. My contacts are in iCloud in case that makes any difference.
What kind of log would you like to see? I am new with Signal, I was able to open the debug panel and also the logs in the desktop, but I see that there is lots of information in there.
Thank you.

@aguavisual We do need that log to help us understand what your Desktop instance is doing regarding profiles and avatars. Is it getting new contact information? One thing you can do to force that is to go to Settings, then click the Import Now button.

As I said:

I tryed importing contacts, but nothing changed.

The image gets updated only when I set a custom avatar to the contact:

INFO  2020-01-17T13:23:51.247Z Sending a keepalive message
INFO  2020-01-17T13:23:55.502Z SQL channel job 282 (saveUnprocesseds) succeeded in 24ms
INFO  2020-01-17T13:23:55.504Z queueing envelope +[REDACTED]899.1 1579267434048 (8af63edb-9cd8-4d3e-b820-334d36182a33)
INFO  2020-01-17T13:23:55.504Z message from +[REDACTED]899.1 1579267434048 (8af63edb-9cd8-4d3e-b820-334d36182a33)
INFO  2020-01-17T13:23:55.514Z contact sync
INFO  2020-01-17T13:23:55.519Z GET https://cdn.signal.org/attachments/2084656859237122624
INFO  2020-01-17T13:23:56.039Z GET https://cdn.signal.org/attachments/2084656859237122624 200 Success
INFO  2020-01-17T13:23:56.042Z Got sync message with our own profile key
INFO  2020-01-17T13:23:56.044Z handleContacts: finished
INFO  2020-01-17T13:23:56.045Z got verified sync for +[REDACTED]899 DEFAULT via contact sync
INFO  2020-01-17T13:23:56.046Z incrementProgress: Message count is 110
INFO  2020-01-17T13:23:56.046Z got verified sync for +[REDACTED]761 DEFAULT via contact sync
INFO  2020-01-17T13:23:56.047Z got verified sync for +[REDACTED]514 DEFAULT via contact sync
INFO  2020-01-17T13:23:56.048Z got verified sync for +[REDACTED]806 DEFAULT via contact sync
INFO  2020-01-17T13:23:56.078Z got verified sync for +[REDACTED]686 VERIFIED via contact sync
INFO  2020-01-17T13:23:56.741Z SQL channel job 287 (updateConversations) succeeded in 159ms
INFO  2020-01-17T13:23:58.896Z Remove all notifications
INFO  2020-01-17T13:24:08.405Z Loaded this list of log files from logPath: log.log, log.log.0, log.log.1

On the other hand if I remove the avatar for the contact, leaving it blank. I open first Signal iOS the avatar reverts to the original set by the contact, as expected.

But when I check Signal-desktop, the avatar does not update:

INFO  2020-01-17T13:25:45.378Z Sending a keepalive message
INFO  2020-01-17T13:25:55.501Z getAllFromCache
INFO  2020-01-17T13:25:55.504Z getAllFromCache loaded 0 saved envelopes
INFO  2020-01-17T13:26:05.355Z queueing envelope +[REDACTED]899.1 1579267564395 (e1630b81-db52-4df1-813f-9b5a71af96dc)
INFO  2020-01-17T13:26:05.355Z message from +[REDACTED]899.1 1579267564395 (e1630b81-db52-4df1-813f-9b5a71af96dc)
INFO  2020-01-17T13:26:05.357Z contact sync
INFO  2020-01-17T13:26:05.364Z GET https://cdn.signal.org/attachments/8858002072711536598
INFO  2020-01-17T13:26:05.364Z Cycling agent for type -auth
INFO  2020-01-17T13:26:05.793Z GET https://cdn.signal.org/attachments/8858002072711536598 200 Success
INFO  2020-01-17T13:26:05.795Z Got sync message with our own profile key
INFO  2020-01-17T13:26:05.797Z handleContacts: finished
INFO  2020-01-17T13:26:05.798Z got verified sync for +[REDACTED]899 DEFAULT via contact sync
INFO  2020-01-17T13:26:05.801Z got verified sync for +[REDACTED]761 DEFAULT via contact sync
INFO  2020-01-17T13:26:05.801Z got verified sync for +[REDACTED]514 DEFAULT via contact sync
INFO  2020-01-17T13:26:05.801Z incrementProgress: Message count is 120
INFO  2020-01-17T13:26:05.802Z got verified sync for +[REDACTED]806 DEFAULT via contact sync
INFO  2020-01-17T13:26:05.802Z got verified sync for +[REDACTED]686 VERIFIED via contact sync
INFO  2020-01-17T13:26:10.447Z Loaded this list of log files from logPath: log.log, log.log.0, log.log.1

Is very strange you are not able to reproduce this, it happen all the time in my two computers.

I think we fully understand it now. Thanks for all the information you've provided.

I have the same issue on all of my macs!

It seems the latest update (Signal-desktop macOS), has addressed this issue. Good work!

Was this page helpful?
0 / 5 - 0 ratings