Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 650588 - xfce-base/thunar depend on xfce-extra/tumbler to display thumbnails
Summary: xfce-base/thunar depend on xfce-extra/tumbler to display thumbnails
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal with 1 vote (vote)
Assignee: XFCE Team
Depends on:
Reported: 2018-03-15 19:01 UTC by schmitt953
Modified: 2023-10-18 18:06 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---

I attached a patched ebuild (thunar-1.6.13-r1.ebuild,2.00 KB, text/plain)
2018-03-15 19:01 UTC, schmitt953

Note You need to log in before you can comment on or make changes to this bug.
Description schmitt953 2018-03-15 19:01:26 UTC
Created attachment 524068 [details]
I attached a patched ebuild

xfce-base/thunar does not pull in xfce-extra/tumbler. Tumbler is required to display thumbnails in thunar. We may want to make it a use flag if this dependency is optional however most people probably want thumbnail support if there is no standard use flag besides may be "png".
Comment 1 Joe Kappus 2023-10-18 07:47:17 UTC
I hit this. Had a convo on #gentoo-chat IRC tonight about it. TL;DR: desktop stuff complex, stuff like this expected to happen when cherry-picking desktop apps.

My thought was to use thumbnail USE flag by default and depend on tumbler with it. Immediately received pushback because this isn't how Gentoo handles optional runtime deps. Ebuilds usually include optfeature or if it's critical enough for core functionality just hard depend on it. Optfeature doesn't change dependencies, just prints a notice when installing if things are missing. I don't like it since its unlikely users will read it, but I concede it's better than current situation. 

Second issue is tumbler needs to be built with the filetype support you want to have thumbnails generated for. So needs multiple optfeature (eg. jpg, pdf, ffmpeg for video)

Third issue discussed is is a potential privacy concern having local thumbnails stored from any new media added. (think plugging a client's usb drive, tumbler would generate thumbnails and store locally even after the drive is removed).

Unfortunately I don't have a better solution other than requesting thunar's upstream add a message saying something around the lines of 'thumbnails not found, install thumbnailer or another thumbnail generation package to display thumbnails'.
Comment 2 genBTC 2023-10-18 18:06:22 UTC
yes agreed. I have been a part of that conversation and I brought up an example or two for why people would not want thumbnails on, privacy, or a minimalist use case.

I have improved the Thunar wiki page for documentation on thumbnailers.

Its not correct to say Thunar does not display thumbnails. It does display.
What it doesnt do is automatically generate.
So yes Tumbler, or another thumbnailer, is needed for that.

But its not proper to say its a dependency. Any number of thumbnailer programs can be chosen instead. 

If we want people to know about this,
 best bet is to create an optfeature in thunar, to mention tumbler.

thunar ebuild should get this inserted into the bottom of pkg_postinst(){
    optfeature "thumbnail auto-generation service" 'xfce-extra/tumbler'

Thats my suggestion here, it feels more like a user awareness thing