nixpkgs icon indicating copy to clipboard operation
nixpkgs copied to clipboard

Plasma 6 installation module missing qt6.qtimageformats by default

Open mailbun opened this issue 2 years ago • 0 comments

Describe the bug

Plasma 6 installation module is missing qt6.qtimageformats by default, which causes default image viewer, Gwenview, to not display some image formats.

Steps To Reproduce

Steps to reproduce the behavior:

  1. Build a system with services.xserver.desktopManager.plasma6.enable = true;
  2. Try to open .webp file in Gwenview
  3. It gives an error that format is not supported, which is caused by lack of qtimageformats corresponding to qt version application uses (Gwenview was presumably updated to use qt6)

Expected behavior

Gwenview is a standard image viewer of KDE, and it's expected to support as much formats as it can.

Screenshots

Gwenview errors when trying to open webp image. It says "Loading ‘おりん 2024.png.webp’ failed
Gwenview cannot display documents of type image/webp."

Additional context

Installing qt6.imageformats in environment.systemPackages fixes this issue, and I don't know of reason to not include it into standard installation.

Notify maintainers

Metadata

Please run nix-shell -p nix-info --run "nix-info -m" and paste the result.

[user@system:~]$ nix-shell -p nix-info --run "nix-info -m"
 - system: `"x86_64-linux"`
 - host os: `Linux 6.7.6, NixOS, 24.05 (Uakari), 24.05.20240229.575147a`
 - multi-user?: `yes`
 - sandbox: `yes`
 - version: `nix-env (Nix) 2.18.1`
 - channels(root): `"nixos-23.05, nixos-hardware"`
 - nixpkgs: `/etc/channels/nixpkgs`


Add a :+1: reaction to issues you find important.

mailbun avatar Feb 29 '24 18:02 mailbun