novelWriter icon indicating copy to clipboard operation
novelWriter copied to clipboard

Missing icons on raspberry Pi OS

Open anne-hart opened this issue 1 week ago • 3 comments

I installed Novelwriter 2.8RC on my Raspberry Pi 500 (running Raspberry Pi OS Trixie) using the .deb package. The installation went smoothly, and the program is running correctly, except for one small problem: some icons are missing, especially in the sidebar. I don't know if it's an ARM bug, a Raspberry Pi OS dependency issue, or a bug in version 2.8. If anyone could help me fix this, I would appreciate it

Image

anne-hart avatar Dec 10 '25 21:12 anne-hart

I checked the .deb files, and the icons are included, so the issue is likely to be an issue with rendering SVG. I've updated the requirements in the deb file to include the PyQt SVG package. It currently lists:

Depends: python3-enchant (>= 2.0), python3-pyqt6 (>= 6.4), python3:any (>= 3.11~), python3 (>= 3.11), python3-pyqt6.qtsvg (>= 6.4), qt6-image-formats-plugins (>= 6.4)

However, it may need some system Qt SVG package in addition to the above. On Ubuntu 24.04 I have the following installed. Could you check if you are missing this? I may need to explicitly add it as a dependency.

libqt6svg6/noble,now 6.4.2-4ubuntu3 amd64 [installed,automatic]
  Qt 6 SVG library

Also, did you see the image on the Welcome dialog when you started? It too depends on image libraries since it's a webp image.

Image

vkbo avatar Dec 11 '25 08:12 vkbo

I hadn't noticed, but the welcome dialog shows the image, but not the icons. Since the buttons have text, I didn't notice the missing icons. I am not a technical person, and I don't know if I did it correctly, but I put the following command in the terminal: sudo apt install python3-enchant python3-pyqt6 python3 python3-pyqt6.qtsvg qt6-image-formats-plugins libqt6svg6 I received the response that everything is up to date: python3-enchant is already the newest version (3.3.0~rc1-1). python3-pyqt6 is already the newest version (6.9.0-2). python3 is already the newest version (3.13.5-1). python3 set to manually installed. python3-pyqt6.qtsvg is already the newest version (6.9.0-2). qt6-image-formats-plugins is already the newest version (6.8.2-4) libqt6svg6 is already the newest version (6.8.2-3) Summary: Upgrading: 0, Installing: 0, Removing: 0, Not upgrading: 0 Should I do something different?

Image

anne-hart avatar Dec 11 '25 13:12 anne-hart

Should I do something different?

No, that sounds about right. Installing libqt6svg6 should have done the trick. There is clearly a dependency that isn't installed by default on your OS, but is on Debian/Ubuntu. I will have to dig a little deeper here.

vkbo avatar Dec 11 '25 13:12 vkbo

Thank you very much. Although the Raspberry Pi OS is based on Debian, it has been stripped down to be lightweight, so some dependencies may be missing. I installed Novelwriter 2.8 on an additional SD card with Raspberry Pi OS based on Debian 12, and the icons worked. Therefore, the issue is specific to the latest version of the OS, which is based on Debian 13. Unfortunately, as I am not an advanced user and only bought the PI a week ago, I have no idea what the issue could be. Nevertheless, I can still use Novelwriter, because when I hover the mouse over where the icon should be, the area is shaded, and I can click on it.

anne-hart avatar Dec 11 '25 17:12 anne-hart

Thanks for testing that. It confirms my suspicion that it's a dependency. I will try to find out what that is, and see if I can update the .deb file to ensure it's installed with novelWriter.

vkbo avatar Dec 11 '25 19:12 vkbo

Could you run the commands apt search qt6-svg and apt search libqt6svg and put the output in a comment here?

vkbo avatar Dec 13 '25 12:12 vkbo

$ apt search qt6-svg qt6-svg-dev/stable 6.8.2-3 arm64
Qt 6 SVG - development files

qt6-svg-doc/stable,stable 6.8.2-3 all Qt 6 SVG documentation

qt6-svg-doc-dev/stable,stable 6.8.2-3 all Qt 6 svg tags files

qt6-svg-doc-html/stable,stable 6.8.2-3 all Qt 6 SVG HTML documentation

qt6-svg-plugins/stable 6.8.2-3 arm64 Qt 6 SVG library plugins

qt6-svg-private-dev/stable 6.8.2-3 arm64 Qt 6 SVG - private development files

$ apt search libqt6svg libqt6svg6/stable,now 6.8.2-3 arm64 [installed] Qt 6 SVG library

libqt6svgwidgets6/stable,now 6.8.2-3 arm64 [installed,automatic] Qt 6 SVG Widgets library

anne-hart avatar Dec 14 '25 00:12 anne-hart

Thanks! Can you try to install qt6-svg-plugins?

vkbo avatar Dec 14 '25 08:12 vkbo

I installed qt6-svg-plugins and it solved the problem. Thank you very much! It's perfect now.

anne-hart avatar Dec 14 '25 16:12 anne-hart

Excellent! I will add the package as a dependency then so it's installed automatically.

vkbo avatar Dec 14 '25 17:12 vkbo