Bug 458092 - Dolphin does not display previews for plain text files if their extension is ".log"
Summary: Dolphin does not display previews for plain text files if their extension is ...
Status: REPORTED
Alias: None
Product: dolphin
Classification: Applications
Component: general (show other bugs)
Version: 22.04.3
Platform: Neon Linux
: NOR normal
Target Milestone: ---
Assignee: Dolphin Bug Assignee
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-08-20 10:27 UTC by Sadi
Modified: 2022-08-21 09:37 UTC (History)
2 users (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 Sadi 2022-08-20 10:27:00 UTC
Dolphin nicely displays previews of many file types selected by user in Settings as thumbnails, but when text files are selected almost all plain text files are displayed with some exceptions, like those with extension "log".
The same file can be previewed as expected if the extension ".log" is removed or appended with ".txt"

Such behavior may be understandable for extensions like ".bak", ".old", ".eml", ".html", ".xml" etc. but I think files with extension ".log" should be treated the same as ".txt". 

SOFTWARE/OS VERSIONS
Operating System: KDE neon 5.25
KDE Plasma Version: 5.25.4
KDE Frameworks Version: 5.96.0
Qt Version: 5.15.5
Comment 1 Méven Car 2022-08-20 20:33:24 UTC
I don't reproduce this issue.

With a file containing the text "toto" named test.log
(echo "toto" > test.log)

I am guessing something else is afoot, mimetype association configuration, previews settings...

Operating System: Kubuntu 22.04
KDE Plasma Version: 5.25.80
KDE Frameworks Version: 5.98.0
Qt Version: 5.15.3
Graphics Platform: X11
Comment 2 Sadi 2022-08-21 09:37:01 UTC
Tested (In reply to Méven Car from comment #1)
> I don't reproduce this issue.

Might this issue be KDE-neon-specific or fixed somehow in KDE Plasma 5.25.80 / KDE Frameworks 5.98.0 under Kubuntu?
Tested again this time in a newly created user session: same
Tested again this time in a KDE neon live session:  same
Operating System: KDE neon 5.25
KDE Plasma Version: 5.25.0
KDE Frameworks Version: 5.95.0
Qt Version: 5.15.4