-
-
Notifications
You must be signed in to change notification settings - Fork 2.4k
Closed
matrix-org/matrix-react-sdk
#8288Labels
A-AvatarA-Room-SettingsA-Spaces-SettingsO-OccasionalAffects or can be seen by some users regularly or most users rarelyAffects or can be seen by some users regularly or most users rarelyS-MinorImpairs non-critical functionality or suitable workarounds existImpairs non-critical functionality or suitable workarounds existT-Defect
Description
Steps to reproduce
- Create a PNG with a transparent background
- Start creating a new space and upload PNG for the space image
- Realise that you accidentally have a transparent background and generate a new PNG with the same name in the same location, overwriting the original PNG
- Click on the image preview in the space creation dialog to upload new PNG and select it
- See the preview not update
Can also be reproduced in user settings with the user avatar and room settings with the room avatar.
Outcome
What did you expect?
Preview updates every time a new image is uploaded.
What happened instead?
Preview is not updated if the filename is the same. The correct image is uploaded if I proceed with space creation.
Browser information
Chromium 96.0.4664.45
URL for webapp
chat.fosdem.org
develop.element.io
Application version
FOSDEM 2021 version: 1.9.6, Olm version: 3.2.3
Element version: b0abbfa-react-697b5d28b3bf-js-72bc13eb395e, Olm version: 3.2.3
Metadata
Metadata
Assignees
Labels
A-AvatarA-Room-SettingsA-Spaces-SettingsO-OccasionalAffects or can be seen by some users regularly or most users rarelyAffects or can be seen by some users regularly or most users rarelyS-MinorImpairs non-critical functionality or suitable workarounds existImpairs non-critical functionality or suitable workarounds existT-Defect