Bug 495637

Summary: Permit disabling previews at sizes below a threshold and/or in views
Product: [Applications] dolphin Reporter: Roke Julian Lockhart Beedell <4wy78uwh>
Component: view-engine: details modeAssignee: Dolphin Bug Assignee <dolphin-bugs-null>
Status: RESOLVED INTENTIONAL    
Severity: wishlist CC: kde, kfm-devel
Priority: NOR    
Version First Reported In: 24.08.2   
Target Milestone: ---   
Platform: Fedora RPMs   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Roke Julian Lockhart Beedell 2024-10-31 12:42:29 UTC
SUMMARY
-------

Currently, I have my preview preferences set as [this screenshot](https://discuss-cdn.kde.org/uploads/default/original/2X/3/32dea4b70f46721f931f145a8ee7fbd2a10a0ad0.png) depicts - all are enabled.

Although I’d like having a simple toggle to enable or disable all of them, having all options individually enabled works incredibly well in the Icons view. However, it’s actually an annoyance in Compact and Details, because the icons which it replaces would alternatively provide a more obvious distinction between file types than the incredibly small - and consequently useless - previews do.

STEPS TO REPRODUCE
------------------

1. Invoke `dolphin`.
2. Access the "Configure" entry of its menu bar.
3. Access the "Configure Dolphin..."-labelled context menu entry.
4. Access the "Interface" sidebar tab.
5. Access the "Previews" tab bar tab.
6. Enable all.
7. Close the "Configure" window.
8. Switch to the "Details" view.
9. Configure the "Details" view to render icons at their smallest size (for me, 16 px).

OBSERVED RESULT
---------------

Previews render at 16 pixels of size, which is useless.

EXPECTED RESULT
---------------

I should be able to disable previews for this view at this icon size, so that I can instead see the icons of the file types (since the previews are too small to be readable).

SOFTWARE/OS VERSIONS
--------------------

> ```YAML
> Operating System: Fedora Linux 40
> KDE Plasma Version: 6.2.2
> KDE Frameworks Version: 6.7.0
> Qt Version: 6.7.2
> Kernel Version: 6.11.5-200.fc40.x86_64 (64-bit)
> Graphics Platform: Wayland
> Processors: 12 × AMD Ryzen 5 7600X 6-Core Processor
> Memory: 30.4 GiB of RAM
> Graphics Processor: AMD Radeon RX 5700
> Manufacturer: ASRock
> Product Name: X670E Taichi
> ```

ADDITIONAL INFORMATION
----------------------

I originally asked whether this was possible to achieve without modifications to Dolphin's source code at [`discuss.kde.org`](https://discuss.kde.org/t/can-previews-in-dolphin-be-disabled-when-theyre-too-small-to-be-of-use/24508?u=rokejulianlockhart).
Comment 1 David Edmundson 2024-10-31 14:09:17 UTC
It can be easily toggled with F12, which a user can press when changing modes if they want it off.
Comment 2 Roke Julian Lockhart Beedell 2024-10-31 14:12:58 UTC
(In reply to David Edmundson from comment #1)
Thanks.