Bug 410268 - kdeglobals file preview limit for images too small
Summary: kdeglobals file preview limit for images too small
Status: RESOLVED DOWNSTREAM
Alias: None
Product: dolphin
Classification: Applications
Component: view-engine: icons mode (show other bugs)
Version: unspecified
Platform: Manjaro Linux
: NOR wishlist
Target Milestone: ---
Assignee: Dolphin Bug Assignee
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-07-27 10:01 UTC by nognosis
Modified: 2019-07-30 07:37 UTC (History)
1 user (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description nognosis 2019-07-27 10:01:23 UTC
SUMMARY

took me ages as a user to find why my friend's computer wouldn't show image previews in dolphin and filechooser-dialog for images that were taken with a smartphone. The current limit on manjaro anyways is too small ~3MB (don't know what neon uses, couldn't find the info). It should be at least 15MB for today's needs for local images.

EXPECTED RESULT

Local images would show previews regardless of size (or some more sane file size default) as long as the image isn't corrupt. This is how windows does it I believe. Users should not have to spend time looking for a config file or change the behaviour themselves.

SOFTWARE/OS VERSIONS
Windows: 
macOS: 
Linux/KDE Plasma: kernel 4.x/Plasma 5.x
(available in About System)
KDE Plasma Version: 5.x
KDE Frameworks Version: 5 
Qt Version: 5

ADDITIONAL INFORMATION
Comment 1 Kai Uwe Broulik 2019-07-29 08:22:32 UTC
Local images do show a preview regardless of size. Only for remote locations is it limited to 5 MiB by default.

Can you provide the output of the following commands:
    kreadconfig5 --group "PreviewSettings" --key "MaximumSize"
    kreadconfig5 --group "PreviewSettings" --key "MaximumRemoteSize"
Comment 2 nognosis 2019-07-29 18:54:11 UTC
kreadconfig5 --group "PreviewSettings" --key "MaximumSize": 

3145728

kreadconfig5 --group "PreviewSettings" --key "MaximumRemoteSize"

prints no output

when I changed the MaximumSize value to a bigger number, previews for local images would appear in dolphin but not before
Comment 3 Kai Uwe Broulik 2019-07-30 06:34:15 UTC
Did you change any of those settings yourself?
MaximumSize is empty by default, meaning no limit for local files.
MaximumRemoteSize is 5 MiB by default, an empty value means no previews for remote files.

What URL does the folder have that doesn't show previews?
Comment 4 nognosis 2019-07-30 07:33:19 UTC
It's a clean install so I haven't changed any of those values.

The url is /home/$USERNAME$/Pictures
Comment 5 Kai Uwe Broulik 2019-07-30 07:37:37 UTC
Then your distribution changed those values, report this issue to them.
The maximum value of 3145728 corresponds to 3 MiB which could be too little for previewing pictures.