Bug 458092

Summary: Dolphin does not display previews for plain text files if their extension is ".log"
Product: [Applications] dolphin Reporter: Sadi <sadiyumusak>
Component: generalAssignee: Dolphin Bug Assignee <dolphin-bugs-null>
Status: REPORTED ---    
Severity: normal CC: dolphin-bugs-null, meven29
Priority: NOR    
Version First Reported In: 22.04.3   
Target Milestone: ---   
Platform: Neon   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

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