Bug 507950 - SVG thumbnails are not presented
Summary: SVG thumbnails are not presented
Status: REPORTED
Alias: None
Product: gwenview
Classification: Applications
Component: general (other bugs)
Version First Reported In: 25.04.3
Platform: NixOS Linux
: NOR normal
Target Milestone: ---
Assignee: Gwenview Bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2025-08-06 17:52 UTC by Doron Behar
Modified: 2025-08-22 11:19 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed/Implemented In:
Sentry Crash Report:


Attachments
screenshot (111.09 KB, image/png)
2025-08-06 17:52 UTC, Doron Behar
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Doron Behar 2025-08-06 17:52:33 UTC
Created attachment 183837 [details]
screenshot

Report is pretty simple, and an example of a screenshot is attached. If you think this is due to something with the way the package is compiled, please help me figure this out. The build log is available here:

https://cache.nixos.org/log/k0sr796a0b4rh7f3m1xh52dskmm22hgv-gwenview-25.04.3.drv
Comment 1 A Linux User 2025-08-18 11:36:47 UTC
Cannot reproduce on 
Gwenview: 25.08.0
KDE Frameworks: 6.17.0
Fedora 42

So this is probably NixOS related. Do you have access to the newer 25.08 version?
Comment 2 Doron Behar 2025-08-21 09:38:33 UTC
Hey so thanks for the reply and for sorry for my late reply. Indeed Nixpkgs has updated all KDE packages etc. to 25.08.0 here:

https://github.com/NixOS/nixpkgs/commit/ccc31df75e0d5dbac91c20bbd264cc8610d1fc59

And with it, I still don't see an SVG thumbnail. Maybe it is relevant, I'm seeing this in the terminal when opening an SVG file:

```
org.kde.kdegraphics.gwenview.lib: Unresolved raw mime type  "image/x-samsung-srw"
```
Comment 3 A Linux User 2025-08-21 14:03:24 UTC
(In reply to Doron Behar from comment #2)

> I still don't see an SVG thumbnail.
Thanks for checking, I had the small hope that it got fixed right away..

> Maybe it is relevant, I'm seeing this in the terminal when opening an SVG file:
> org.kde.kdegraphics.gwenview.lib: Unresolved raw mime type "image/x-samsung-srw"
Probably not, this is a pretty standard debuginfo.

The problem is that this seems to be a NixOS-exclusive issue. Most people here don't run it, so we cannot reproduce the bug, which is important for testing and fixing it.
As NixOS is a rather arcane distro (no offense), could it be that this is a bug from downstream, i.e. NixOS doing something wrong?

I don't wanna shift the blame to NixOS, but am unsure on how to proceed here. Probably we would just leave this report open as REPORTED or NEEDSINFO WORKSFORME/DOWNSTREAM and wait, if it disappears by itself or others chime in with similar problems.

What do you think?
Comment 4 Doron Behar 2025-08-21 16:17:00 UTC
OK I see. I might ask for help from the NixOS forums. In anycase, is there no way I can debug this? I won't mind recompiling this package with debug info, or add debug prints or whatever - I just wish to get a bit of help for this.
Comment 5 A Linux User 2025-08-22 11:19:05 UTC
(In reply to Doron Behar from comment #4)
> OK I see. I might ask for help from the NixOS forums. In anycase, is there
> no way I can debug this? I won't mind recompiling this package with debug
> info, or add debug prints or whatever - I just wish to get a bit of help for
> this.

I am not a Gwenview dev, so I cannot really help you there.