Bug 511819 - 3.46 -> 4.1.1 : no display thumbnail if all picture are only stored in database
Summary: 3.46 -> 4.1.1 : no display thumbnail if all picture are only stored in database
Status: REPORTED
Alias: None
Product: tellico
Classification: Applications
Component: general (other bugs)
Version First Reported In: 4.1.1
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: Robby Stephenson
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2025-11-08 12:30 UTC by Sébastien Maza
Modified: 2025-12-30 14:32 UTC (History)
0 users

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Sébastien Maza 2025-11-08 12:30:29 UTC
***
If you're not sure this is actually a bug, instead post about it at https://discuss.kde.org

If you're reporting a crash, attach a backtrace with debug symbols; see https://community.kde.org/Guidelines_and_HOWTOs/Debugging/How_to_create_useful_crash_reports

Please remove this comment after reading and before submitting - thanks!
***

SUMMARY

After migrating from Tellico 3.4.6 to Tellico 4.1.1, when opening my old collection, no thumbnails are displayed for picture fields.
In this collection, all pictures are set to "Save link only".

If I edit just one entry and uncheck "Save link only", its thumbnail appears, and after saving and reopening the collection, all thumbnails become visible.

If I create a new collection, even with all images marked as "Save link only", thumbnails display correctly.

How can I make my old collection show the thumbnails without having to manually edit an entry?

STEPS TO REPRODUCE
1. Create a collection in Tellico 3.4.6 with image fields set to “Save link only”.
2. Upgrade Tellico to version 4.1.1.
3. Open the old collection.
4. Observe that no thumbnails are displayed.
5. Edit one entry, uncheck “Save link only”, save the collection, and reopen it.

OBSERVED RESULT
Thumbnails are not displayed for any entry when opening the old collection.
After unchecking "Save link only" for a single entry and saving, all thumbnails reappear.

EXPECTED RESULT
Thumbnails for linked images should display automatically when opening collections created in older versions of Tellico, without requiring any manual modification.

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: linux Mint LMDE 7

ADDITIONAL INFORMATION
Thanks in advance, and thanks for your continued work on Tellico!
Comment 1 Sébastien Maza 2025-11-09 19:21:03 UTC
I just see that in terminal if I launch Tellica by command line :

~$ tellico 
[19:39:45] WARNING empty xslt file
[19:39:45] WARNING QWidget::repaint: Recursive repaint detected
[19:39:45] WARNING image not found: "file:///home/[path of first item picture].jpg"
[19:39:45] WARNING image not found: "file:///home/[path of second item picture].jpg"
...
...

But all paths are correct ... and if I edit just one entry and uncheck "Save link only", its thumbnail appears, and after saving and reopening the collection, all thumbnails become visible.

And terminal display only
~$ tellico 
[20:07:10] WARNING empty xslt file
[20:07:11] WARNING writing "gif" as PNG
[20:07:12] WARNING writing "gif" as PNG
[20:07:12] WARNING writing "gif" as PNG
Comment 2 Robby Stephenson 2025-11-09 20:09:29 UTC
This was fixed in 4.1.2. Can you use a newer version than 4.1.1?
Comment 3 Robby Stephenson 2025-11-09 20:10:17 UTC

*** This bug has been marked as a duplicate of bug 503645 ***
Comment 4 Sébastien Maza 2025-11-09 20:14:18 UTC
thank for your answer
I just tested it with Tellico 4.1.4. flatpak.

And no thumbnails display  If I edit just one entry and uncheck "Save link only", its thumbnail appears, and after saving and reopening the collection, all thumbnails become visible.

Only the modified item is display.
The result is, for my case, worse than with 4.1.1. :/
Comment 5 Robby Stephenson 2025-11-16 19:36:42 UTC
(In reply to Sébastien Maza from comment #4)
> thank for your answer
> I just tested it with Tellico 4.1.4. flatpak.
> 
> And no thumbnails display  If I edit just one entry and uncheck "Save link
> only", its thumbnail appears, and after saving and reopening the collection,
> all thumbnails become visible.
> 
> Only the modified item is display.
> The result is, for my case, worse than with 4.1.1. :/

The errors if you run v4.1.4 from the terminal are the same? So far, I can't reproduce that. I could reproduce your issue with the older version; with the current release, I can't. Please provide additional info if you can (terminal messages, qt version. and so on.) I also don't use flatpak so I don't know if that is related or not.
Comment 6 Sébastien Maza 2025-11-16 19:44:00 UTC
(In reply to Robby Stephenson from comment #5)
> (In reply to Sébastien Maza from comment #4)
> > thank for your answer
> > I just tested it with Tellico 4.1.4. flatpak.
> > 
> > And no thumbnails display  If I edit just one entry and uncheck "Save link
> > only", its thumbnail appears, and after saving and reopening the collection,
> > all thumbnails become visible.
> > 
> > Only the modified item is display.
> > The result is, for my case, worse than with 4.1.1. :/
> 
> The errors if you run v4.1.4 from the terminal are the same? So far, I can't
> reproduce that. I could reproduce your issue with the older version; with
> the current release, I can't. Please provide additional info if you can
> (terminal messages, qt version. and so on.) I also don't use flatpak so I
> don't know if that is related or not.

Wtih Tellico 4.1.4 in flatpak terminal return

flatpak run org.kde.tellico
Gtk-Message: 20:39:33.301: Failed to load module "xapp-gtk3-module"
Qt: Session management error: Could not open network socket
[20:39:33] WARNING GBM is not supported with the current configuration. Fallback to Vulkan rendering in Chromium.
[2:15:1116/203934.079766:ERROR:bus.cc(407)] Failed to connect to the bus: Failed to connect to socket /run/dbus/system_bus_socket: Aucun fichier ou dossier de ce nom
[20:39:34] WARNING empty xslt file
[20:39:34] "applications.menu"  not found in  QList()"file:///home/[path of first item picture].jpg"
[20:39:34] "applications.menu"  not found in  QList()"file:///home/[path of second item picture].jpg"
....
Comment 7 Sébastien Maza 2025-11-16 19:47:15 UTC
sorry miss copied output from temrinal


flatpak run org.kde.tellico
Gtk-Message: 20:39:33.301: Failed to load module "xapp-gtk3-module"
Qt: Session management error: Could not open network socket
[20:39:33] WARNING GBM is not supported with the current configuration. Fallback to Vulkan rendering in Chromium.
[2:15:1116/203934.079766:ERROR:bus.cc(407)] Failed to connect to the bus: Failed to connect to socket /run/dbus/system_bus_socket: Aucun fichier ou dossier de ce nom
[20:39:34] WARNING empty xslt file
[20:39:34] "applications.menu"  not found in  QList()"
[20:39:35] WARNING "Tellico ne peut pas charger l'image - file:///home/[path of first item picture].jpg."
[20:39:35] WARNING "Tellico ne peut pas charger l'image - file:///home/[path of second item picture].jpg."
....
Comment 8 Robby Stephenson 2025-12-30 14:32:31 UTC
(In reply to Sébastien Maza from comment #7)
> flatpak run org.kde.tellico
> [20:39:34] WARNING empty xslt file
> [20:39:34] "applications.menu"  not found in  QList()"
> [20:39:35] WARNING "Tellico ne peut pas charger l'image - file:///home/[path
> of first item picture].jpg."
> [20:39:35] WARNING "Tellico ne peut pas charger l'image - file:///home/[path
> of second item picture].jpg."
> ....

Thanks for the additional output. So far, I still can't reproduce the issue on 4.1.4 unfortunately. To confirm, you're using the flatpak version from flathub? Based on the output, I don't think it's a sandboxing issue, but also to confirm that, what's the output of
$ flatpak info --show-permissions org.kde.tellico
specifically, the filesystems line which should include 'home'

How many images are in the collection? If I'm trying to eliminate an issue between the image cache and the relative link, I might need to make sure the cache size is not an issue. Could you add the --log option and provide the output again?
$ flatpak run org.kde.tellico --log
Then open the the log from the Help menu...