Trying to set up a HEIF/HEIC image as a wallpaper silently fails
Affected version
- Fedora 35
- gnome-shell-41.0-1.fc35.x86_64
- libheif-1.12.0-2.fc35.x86_64
Tested on Xorg session, result on Wayland would most probably be the same.
Bug summary
GNOME Shell fails to set up a wallpaper in HEIC format and fails to display a user-facing message that it failed to do so.
Steps to reproduce
- Download an image in heic format
- Right click the image (thumbnail is normally visible)
- Set As wallpaper
What happened
Background is solid black.
What did you expect to happen
Either have the desired image as a wallpaper, or get some error notification explaining that it's not possible to set this image as a wallpaper because the format is not supported.
Relevant logs, screenshots, screencasts etc.
Sep 27 15:52:01 fanys-laptop gnome-shell[5275]: Failed to load background 'file:///home/fanys/Pictures/Wallpapers/20210908_150553.heic': Unrecognized image file format