Package: imv

Version: 5.0.1-3

Tags: sid

Severity: normal


In the currently available version of imv on Debian Trixie (4.5.0-1+b4), using a command such as, in the case of a hyprland environment:

$ `grim -c -t ppm -o "$(hyprctl monitors | awk '/Monitor/{mon=$2} /focused: yes/{print mon}')" - | imv-wayland -w ForceFullscreen -`

Shows correctly pretty much instantly a screenshot of the currently focused monitor. This is useful as you can then run grim again to select just a small portion of the screen while taking as long as you want to do so, useful when your screen is moving around a lot.

However, in imv from Debian SID (5.0.1-3), the very same command no longer works and instead shows a black screen, presumably as PPM support was removed(?).

It is simple to replace the `-t ppm` part with `-t png -l 0` to achieve almost the same result, however this is in my experience slower and not as fast as PPM.

This is a really minor regression and I'm sure there's a good reason for the removal of PPM but in my (very likely unique case), it causes some headaches.


I am using Debian Experimental on Linux 6.18-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.18.2-1~exp1 (2025-12-18), however the kernel does not make a difference, manually downgrading imv to 4.5.X does the trick to fix temporarily the problem.

$ `dpkg --status imv # Debian Unstable`

```

Package: imv
Status: install ok installed
Priority: optional
Section: graphics
Installed-Size: 285
Maintainer: Debian PhotoTools Maintainers <[email protected]>
Architecture: amd64
Multi-Arch: foreign
Version: 5.0.1-3
Depends: libc6 (>= 2.34), libcairo2 (>= 1.2.4), libegl1, libgl1, libglib2.0-0t64 (>= 2.12.0), libheif1 (>= 1.13.0), libicu76 (>= 76.1-1~), libinih1 (>= 40), libjxl0.11 (>= 0.7.0), libpango-1.0-0 (>= 1.14.0), libpangocairo-1.0-0 (>= 1.14.0), libpng16-16t64 (>= 1.6.46), librsvg2-2 (>= 2.14.4), libtiff6 (>= 4.0.3), libturbojpeg0 (>= 1:2.0.2), libwayland-client0 (>= 1.20.0), libwayland-cursor0 (>= 1.0.2), libwayland-egl1 (>= 1.15.0), libwebpdecoder3 (>= 1.5.0), libx11-6, libxcb1, libxkbcommon-x11-0 (>= 0.5.0), libxkbcommon0 (>= 0.5.0)
Conffiles:
 /etc/imv_config 423653b9da72cce8cddf969b01e1286b
Description: X11/Wayland image viewer intended for use with tiling window managers
 imv is a command line image viewer for X11 and Wayland aimed at users of
 tiling window managers. It has native Wayland and X11 support and can handle
 dozens of image formats, including: PNG, BMP, JPEG, TIFF, SVG, HEIF.
 .
 The package provides the imv-x11 and imv-wayland binaries. The `imv` wrapper
 script is installed in /usr/libexec/imv/ due to a file name clash.
Homepage: https://sr.ht/~exec64/imv

```

$ `dpkg --status imv # Debian Trixie (last tried and working)`

```

Package: imv
Status: install ok installed
Priority: optional
Section: graphics
Installed-Size: 339
Maintainer: Debian PhotoTools Maintainers <[email protected]>
Architecture: amd64
Multi-Arch: foreign
Source: imv (4.5.0-1)
Version: 4.5.0-1+b4
Depends: libc6 (>= 2.34), libcairo2 (>= 1.14.0), libegl1, libfreeimage3 (>= 3.18.0+ds2), libgl1, libglib2.0-0t64 (>= 2.12.0), libheif1 (>= 1.3.2), libicu76 (>= 76.1-1~), libinih1 (>= 40), libjxl0.11 (>= 0.7.0), libpango-1.0-0 (>= 1.14.0), libpangocairo-1.0-0 (>= 1.14.0), libpng16-16t64 (>= 1.6.46), librsvg2-2 (>= 2.14.4), libtiff6 (>= 4.0.3), libturbojpeg0 (>= 1.2.90), libwayland-client0 (>= 1.20.0), libwayland-egl1 (>= 1.15.0), libx11-6, libxcb1, libxkbcommon-x11-0 (>= 0.5.0), libxkbcommon0 (>= 0.5.0)
Conffiles:
 /etc/imv_config 423653b9da72cce8cddf969b01e1286b
Description: X11/Wayland image viewer intended for use with tiling window managers
 imv is a command line image viewer for X11 and Wayland aimed at users of
 tiling window managers. It has native Wayland and X11 support and can handle
 dozens of image formats, including: PNG, BMP, JPEG, TIFF, SVG, HEIF.
 .
 The package provides the imv-x11 and imv-wayland binaries. The `imv` wrapper
 script is installed in /usr/libexec/imv/ due to a file name clash.
Homepage: https://sr.ht/~exec64/imv

```


(Apologies if this is a poorly formatted bug report, this is my first time doing this and couldn't get the reportbug utility to work)

Attachment: OpenPGP_0xA9CA09FB12D9DCB5.asc
Description: OpenPGP public key

Reply via email to