Bug 503075 - Thumbnails for text/plain files become posterised ≤ 22 px
Summary: Thumbnails for text/plain files become posterised ≤ 22 px
Status: REPORTED
Alias: None
Product: dolphin
Classification: Applications
Component: view-engine: general (other bugs)
Version First Reported In: 25.04.0
Platform: Fedora RPMs Linux
: NOR minor
Target Milestone: ---
Assignee: Dolphin Bug Assignee
URL: https://discuss.kde.org/t/is-this-wha...
Keywords:
Depends on:
Blocks:
 
Reported: 2025-04-20 17:57 UTC by Roke Julian Lockhart Beedell
Modified: 2025-06-27 23:31 UTC (History)
2 users (show)

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


Attachments
A Screenshot of Details Mode at 16 px (75.63 KB, image/png)
2025-04-20 17:57 UTC, Roke Julian Lockhart Beedell
Details
A Screenshot of Details Mode at 22 px (79.65 KB, image/png)
2025-04-20 17:58 UTC, Roke Julian Lockhart Beedell
Details
A Screenshot of Details Mode at 32 px (86.44 KB, image/png)
2025-04-20 18:00 UTC, Roke Julian Lockhart Beedell
Details
A Screenshot Of Details Mode At 16 px In 25.04.2-1.fc42 (69.31 KB, image/png)
2025-06-27 23:31 UTC, Roke Julian Lockhart Beedell
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Roke Julian Lockhart Beedell 2025-04-20 17:57:45 UTC
Created attachment 180451 [details]
A Screenshot of Details Mode at 16 px

SUMMARY

With thumbnails enabled for text/plain, at the size of ≤ 22 px (confirmed at 16, 22, and 32), the thumbnails are posterised. This occurs in any view mode, for solely the size matters.

STEPS TO REPRODUCE

1. Enable previews for text/plain files.
2. Create such a file.
3. Set the icon size to ≤ 22 px.

OBSERVED RESULT

The thumbnails are posterised.

EXPECTED RESULT

They shouldn't be.

SOFTWARE/OS VERSIONS

> Operating System: Fedora Linux 42
> KDE Plasma Version: 6.3.4
> KDE Frameworks Version: 6.13.0
> Qt Version: 6.9.0
> Kernel Version: 6.14.2-300.fc42.x86_64 (64-bit)
> Graphics Platform: Wayland

Dolphin is dolphin-25.04.0-3.fc42.x86_64.

ADDITIONAL INFORMATION

This occurs in any view mode.
Comment 1 Roke Julian Lockhart Beedell 2025-04-20 17:58:01 UTC
Created attachment 180452 [details]
A Screenshot of Details Mode at 22 px
Comment 2 Roke Julian Lockhart Beedell 2025-04-20 18:00:00 UTC
Created attachment 180453 [details]
A Screenshot of Details Mode at 32 px

I've also tested the "Icons" view mode. It's identical. Additionally, this doesn't occur for text/markdown files, hence why I specified "text/plain".
Comment 3 Roke Julian Lockhart Beedell 2025-04-20 18:02:10 UTC
Originally posted at https://discuss.kde.org/t/33109/4?u=rokejulianlockhart.
Comment 4 Méven 2025-04-21 08:46:08 UTC
I don't reproduce this with Dolphin 25.04, with breeze or breeze dark (with Arch) with 175% ratio.

Does it resolve itself after F5 ?

Does it happen in any folders ?

Did you reboot or kill all your dolphin instances after updating ?

What is your kio-extras version (certainly 25.04) ?
Comment 5 Roke Julian Lockhart Beedell 2025-04-21 08:55:08 UTC
> Does it resolve itself after F5 ?

No.

> Does it happen in any folders ?

Yes. However, whilst evaluating this, I realised that there is another component to the problem:

If I *duplicate* my `$HOME/.bash_history` to another directory (I've tested `$HOME/Documents`), the problem remains. However, when I create a new file, the problem does not reproduce. Even more strangely, if I modify the aforementioned duplicate (at `$HOME/Documents/.bash_history`), the thumbnail recomputes, yet remains posterised. Consequently, the size of the file may matter.

> Did you reboot or kill all your dolphin instances after updating ?

I performed an offline reboot (the PackageKit equivalent to `sudo dnf5 offline reboot`) via Discover, so yes.

> What is your kio-extras version (certainly 25.04) ?

`rpm -qa kio-extras` returns `kio-extras-25.04.0-2.fc42.x86_64`.
Comment 6 Bug Janitor Service 2025-05-06 03:47:14 UTC
🐛🧹 ⚠️ This bug has been in NEEDSINFO status with no change for at least 15 days. Please provide the requested information, then set the bug status to REPORTED. If there is no change for at least 30 days, it will be automatically closed as RESOLVED WORKSFORME.

For more information about our bug triaging procedures, please read https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging.

Thank you for helping us make KDE software even better for everyone!
Comment 7 Roke Julian Lockhart Beedell 2025-05-06 10:39:23 UTC
(In reply to Bug Janitor Service from comment #6)

This remains applicable, and I've answered the questions that constituted the NEEDSINFO, so reveting to REPORTED.
Comment 8 Roke Julian Lockhart Beedell 2025-06-27 23:31:22 UTC
Created attachment 182747 [details]
A Screenshot Of Details Mode At 16 px In 25.04.2-1.fc42

This also applies to new thumbnails. For future reference, I'm utilising https://koji.fedoraproject.org/koji/rpminfo?rpmID=42997615. If, like me, you can't see it, watch https://discussion.fedoraproject.org/t/why-cant-i-access-koji-builds/156646. Though, it's:

> ~~~
> Name            : dolphin
> Epoch           : 0
> Version         : 25.04.2
> Release         : 1.fc42
> Architecture    : x86_64
> Installed size  : 12.7 MiB
> Source          : dolphin-25.04.2-1.fc42.src.rpm
> From repository : <unknown>
> URL             : https://invent.kde.org/system/dolphin
> Vendor          : Fedora Project
> ~~~

Considering that this is graphical (ignore https://bugs.kde.org/show_bug.cgi?id=505439), undermentioned is relevant environment information:

> ~~~
> Operating System: Fedora Linux 42
> KDE Plasma Version: 6.4.0
> KDE Frameworks Version: 6.15.0
> Qt Version: 6.9.1
> Kernel Version: 6.14.11-300.fc42.x86_64 (64-bit)
> Graphics Platform: Wayland
> Graphics Processor 1: AMD Radeon RX 5700
> Graphics Processor 2: AMD Radeon Graphics
> ~~~

I neglected to originally include this.