Bug 466871 - unable to lower preview size limit below 1MiB (insufficient precision)
Summary: unable to lower preview size limit below 1MiB (insufficient precision)
Status: REPORTED
Alias: None
Product: dolphin
Classification: Applications
Component: general (show other bugs)
Version: 22.12.3
Platform: Arch Linux Linux
: NOR normal
Target Milestone: ---
Assignee: Dolphin Bug Assignee
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-03-05 08:20 UTC by SC
Modified: 2023-03-05 08:38 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 SC 2023-03-05 08:20:47 UTC
In Dolphin > Configure > General > Previews, there is an option for "Skip previews for remote files above", where the user can specify a size limit. However it seems like the minimum increment (and therefore the minimum size) is 1MiB, which in my opinion is insufficient precision for many remote connections.

I for example own several VPSes on another continent over not-so-fast connections, so I actually want to set this value to something like 50KiB. But currently this is not possible, at least not on the GUI. It's either 1MiB or no previews at all.

Ideally these dialogs can accept arbitrary units. Maybe have two fields instead of one (first accepts a number, second accepts a unit)?
Comment 1 SC 2023-03-05 08:38:08 UTC
And in case anyone else comes across this need before it's fixed, the corresponding config entry is `MaximumRemoteSize` in `~/.config/kdeglobals`. You can edit this value in the file directly and it does seem to work, but it will be reset to 0 the next time you change any dolphin configurations graphically.