Martchus / syncthingtray

Tray application and Dolphin/Plasma integration for Syncthing
https://martchus.github.io/syncthingtray/
Other
1.68k stars 44 forks source link

Icons missing in widgets and menus on Gentoo #122

Closed CaseOf closed 2 years ago

CaseOf commented 2 years ago

Relevant components

Environment and versions

Bug description A clear and concise description of what the bug is.

I am building syncthingtray from my own Gentoo’s ebuilds from my overlay: https://framagit.org/Case_Of/gentoo-overlay/-/blob/master/x11-plugins/syncthingtray/syncthingtray-1.1.13.ebuild Since version 1.1.13, some icons are missing on widgets and on context menu. I’m using XFCE desktop environment with Arc Dark theme provided to Qt with qt5ct and qtstyleplugins.

Steps to reproduce

  1. On Gentoo system, install syncthingtray 1.1.13 from my overlay
  2. Start syncthingtray

Expected behavior A clear and concise description of what you expected to happen.

Missing icons should be shown.

Screenshots If applicable, add screenshots to help explain your problem. Screenshot of the widget Screenshot of the context menu Additional context Add any other context about the problem here. If you find any mistakes in my build process, dont hesitate to tell me.

Martchus commented 2 years ago

These icons should be provided by qtforkawesome. There's likely a packaging issue. You've configured it to use the woff2 icon file. This won't work if freetype2 isn't configured with brotli support (see https://github.com/Martchus/qtforkawesome/#providing-the-font-file). It could also be that the icon engine plugin from the qtforkawesome package cannot be located at runtime. It should be installed under the same directory as Qt's SVG icon plugin. Checkout Qt's official documentation for debugging plugin loading (https://doc.qt.io/qt-5/deployment-plugins.html#debugging-plugins).

CaseOf commented 2 years ago

Hi, I just rebuilt freetype with brotli support via its use flag, and now icons are shown. I’ll fix the dependency in my ebuild then.

Martchus commented 2 years ago

Glad to hear it was that simple. By the way, it would make sense to mention your packages in the download section of the README.