Bug 485225 - Krusader issue with mime types after P6 update
Summary: Krusader issue with mime types after P6 update
Status: REPORTED
Alias: None
Product: krusader
Classification: Applications
Component: krviewer (show other bugs)
Version: 2.8.1
Platform: Neon Linux
: NOR major
Target Milestone: ---
Assignee: Krusader Bugs Distribution List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-04-08 10:45 UTC by Denis
Modified: 2024-04-21 17:06 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
result of pressing F3 button win PNG file (252.02 KB, image/png)
2024-04-20 05:14 UTC, Denis
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Denis 2024-04-08 10:45:01 UTC
After update to Plasma 6, krusader internal viewer lost its ability to recognize mime-types. It does not highlight text inline with file extension, when attempting to open image file it opens ASCII-text instead… when running from command line there is the warning output: kf.service.services unknown@0 # KMimeTypeTrader: MIME type “all/allfiles” not found. Purging/Reinstalling krusader did not solve the problem. on plasma 5 all worked fine. 
made a post on it: https://discuss.kde.org/t/krusader-issue-with-mime-types-after-p6-update/13712

STEPS TO REPRODUCE
1. install latest kdeneon userediton
2. install latest krusader (2.8.1)
3. open krusader
4. try to open .xml, .cpp, ... or try to open any image file .png, .jpeg, ... with internal viewer (press F3)
5. behold

OBSERVED RESULT
in case of text file - it is plain text (no highlighting)
in case of image file - it is ASCII code (no image)

EXPECTED RESULT
in case of text file it should be highlighted text
in case of image file it should be image

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: kdeneon useredition / plasma 6
KDE Plasma Version: 6.0.3
KDE Frameworks Version: 6.0.0
Qt Version: 6.6.3

ADDITIONAL INFORMATION
kernel version: 6.5.0-26-generic (64-bit)
graphics platform: X11
Comment 1 Denis 2024-04-20 05:14:37 UTC
Created attachment 168705 [details]
result of pressing F3 button win PNG file

just added illustration of the problem
Comment 2 Denis 2024-04-21 17:06:36 UTC
Hallelujah, i found that it has something to do with libkf5khtml-bin package, once it is installed Internal Editor starts to open images (with F3) !!  But unfortunately there is no image scaling button... see my last comment at https://discuss.kde.org/t/krusader-issue-with-mime-types-after-p6-update/13712