[Bug] Contacts: Same avatar is used for various contacts

Tracked by Jolla

asked 2019-02-25 23:26:20 +0200

Alex gravatar image

Description

Setting an avatar image for a contact will override other avatars, that already has been set, and create duplicate avatars. This issue occurrs for all avatar images that has been created from an image with the same name.

Affected devices and versions

I discovered this bug on Sailfish OS 3.0.1.14 running on Xperia XA2.

How to reproduce

  1. Create two contacts in the native people app: Contact A and contact B
  2. Take a screenshot of an image
  3. Set this screenshot as an avatar in contact A
  4. Delete the screenshot taken in step 2
  5. Take a new screenshot of another image
  6. Set this new screenshot as an avatar in contact B
  7. Close the people app and reopen it
  8. Result: Both contact A and contact B will have the same avatar, that has been set in step 6 (the second screenshot)

The issue occurs due to the identical name of the source images.

The screenshots have the naming policy Screenshot_Year_Date_Count and as shown above it is easily possible to get two different source images with the same name.

edit retag flag offensive close delete

Comments

Same on JollaC (3.0.1.11).

peterleinchen ( 2019-02-25 23:49:34 +0200 )edit
1

Issue reported, Thanks :)

Nrsisti ( 2019-02-26 10:38:19 +0200 )edit