** Description changed:

+ * 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

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to gdk-pixbuf 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

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


-- 
Mailing list: https://launchpad.net/~touch-packages
Post to     : touch-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~touch-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to