NixOS / nixpkgs

Nix Packages collection & NixOS
MIT License
16.69k stars 13.14k forks source link

Lost icons, cannot change fonts in foliate. #294533

Closed 0xDkXy closed 4 months ago

0xDkXy commented 4 months ago

Describe the bug

Lots of icons were lost and the font it used cannot be changed in foliate. But I tested it in other distro like Archlinux, it worked well. So I am wondering whether it is packed wrong?

Steps To Reproduce

Steps to reproduce the behavior:

  1. nix-shell -p foliate --pure
  2. foliate to start it

Expected behavior

All icons are normal and you can change the fonts, and what you change will be store so next time you wouldn't set it again.

I will show some screenshots I got on archlinux.

20240310_00h53m06s_grim

20240310_00h43m12s_grim 20240310_00h42m38s_grim

Screenshots

20240310_00h29m30s_grim 20240310_00h55m04s_grim

Additional context

Did it work normally on yours?

Notify maintainers

@onny

Metadata

[user@system:~]$ nix-shell -p nix-info --run "nix-info -m"
 - system: `"x86_64-linux"`
 - host os: `Linux 6.6.19, NixOS, 24.05 (Uakari), 24.05pre591063.b8697e57f102`
 - multi-user?: `yes`
 - sandbox: `yes`
 - version: `nix-env (Nix) 2.18.1`
 - channels(root): `"home-manager, nixos"`
 - nixpkgs: `/nix/var/nix/profiles/per-user/root/channels/nixos`

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

Aleksanaa commented 4 months ago
> nix-shell -p libadwaita.devdoc --pure
> adwaita-1-demo

image

An icon theme should be present to allow displaying icons in GTK apps. See related discussions here: https://github.com/NixOS/nixpkgs/pull/43150#issuecomment-450058333