[Bug 2017420] Re: Cannot open HEIF/HEIC images in 23.04/lunar anymore
Łukasz Zemczak
2017420 at bugs.launchpad.net
Mon Jun 5 09:59:00 UTC 2023
Hello Marian, or anyone else affected,
Accepted libheif into lunar-proposed. The package will build now and be
available at
https://launchpad.net/ubuntu/+source/libheif/1.14.2-1ubuntu1 in a few
hours, and then in the -proposed repository.
Please help us by testing this new package. See
https://wiki.ubuntu.com/Testing/EnableProposed for documentation on how
to enable and use -proposed. Your feedback will aid us getting this
update out to other Ubuntu users.
If this package fixes the bug for you, please add a comment to this bug,
mentioning the version of the package you tested, what testing has been
performed on the package and change the tag from verification-needed-
lunar to verification-done-lunar. If it does not fix the bug for you,
please add a comment stating that, and change the tag to verification-
failed-lunar. In either case, without details of your testing we will
not be able to proceed.
Further information regarding the verification process can be found at
https://wiki.ubuntu.com/QATeam/PerformingSRUVerification . Thank you in
advance for helping!
N.B. The updated package will be released to -updates after the bug(s)
fixed by this package have been verified and the package has been in
-proposed for a minimum of 7 days.
** Changed in: libheif (Ubuntu Lunar)
Status: New => Fix Committed
** Tags added: verification-needed verification-needed-lunar
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to libheif in Ubuntu.
https://bugs.launchpad.net/bugs/2017420
Title:
Cannot open HEIF/HEIC images in 23.04/lunar anymore
Status in eog package in Ubuntu:
Invalid
Status in gdk-pixbuf package in Ubuntu:
Invalid
Status in libheif package in Ubuntu:
Fix Released
Status in eog source package in Lunar:
Invalid
Status in gdk-pixbuf source package in Lunar:
Invalid
Status in libheif source package in Lunar:
Fix Committed
Bug description:
* Impact
The libheif loader is bailing out due to a missing plugin directory
which leads to image viewer as eog not being able to open pictures in
that format anymore
* Testcase
Install libheif1 and heif-gdk-pixbuf and try to open a .heif file in
eog
* Where problems could occur
The package build is using the option to not split the codec in
separate plugins but the version of Lunar doesn't handle the missing
plugins directory and bails out. The code of the version in mantic has
been refactored in a way which fixes this problem. For lunar it's
easier to just create the directory. The directory is included in the
libheif1 binary but that should not create any conflict, it's a
temporary situation for lunar only and even if the soname changed dpkg
allows for several deb packages to provide the same directory.
----------------------------------------------
In previous Ubuntu versions, including 22.10, I was able to open
HEIF/HEIC files by installing libheif1 and heif-gdk-pixbuf. This does
not work anymore in 23.04.
Running eog in a terminal displays:
$ eog IMG_9996.HEIC
** (eog:44492): WARNING **: 14:29:17.537: Cannot read plugin
directory.
(eog:44492): GdkPixbuf-CRITICAL **: 14:29:17.537:
gdk_pixbuf_animation_is_static_image: assertion
'GDK_IS_PIXBUF_ANIMATION (animation)' failed
(eog:44492): GdkPixbuf-CRITICAL **: 14:29:17.538:
gdk_pixbuf_animation_get_iter: assertion 'GDK_IS_PIXBUF_ANIMATION
(animation)' failed
(eog:44492): GdkPixbuf-CRITICAL **: 14:29:17.538:
gdk_pixbuf_animation_iter_get_pixbuf: assertion
'GDK_IS_PIXBUF_ANIMATION_ITER (iter)' failed
** (eog:44492): WARNING **: 14:29:17.543: Cannot read plugin
directory.
(eog:44492): GdkPixbuf-CRITICAL **: 14:29:17.543:
gdk_pixbuf_animation_is_static_image: assertion
'GDK_IS_PIXBUF_ANIMATION (animation)' failed
(eog:44492): GdkPixbuf-CRITICAL **: 14:29:17.543:
gdk_pixbuf_animation_get_iter: assertion 'GDK_IS_PIXBUF_ANIMATION
(animation)' failed
(eog:44492): GdkPixbuf-CRITICAL **: 14:29:17.543:
gdk_pixbuf_animation_iter_get_pixbuf: assertion
'GDK_IS_PIXBUF_ANIMATION_ITER (iter)' failed
eog then shows "Could not load image “IMG_9996.HEIC”. Image loading
failed."
gpicview even crashes immediately:
$ gpicview IMG_9996.HEIC
Gtk-Message: 14:30:30.216: Failed to load module "canberra-gtk-module"
** (gpicview:44624): WARNING **: 14:30:30.260: Cannot read plugin
directory.
** (gpicview:44624): WARNING **: 14:30:30.265: Cannot read plugin directory.
Segmentation fault (core dumped)
The problem concerns all HEIF/HEIC images I tested.
The installed versions of the (possibly) relevant packages are:
libheif1: 1.14.2-1
heif-gdk-pixbuf: 1.14.2-1
libgdk-pixbuf-2.0-0: 2.42.10+dfsg-1build1
eog: 44.0-1
gpicview: 0.2.5-3build1
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/eog/+bug/2017420/+subscriptions
More information about the foundations-bugs
mailing list