Bug 464722

Summary: "File Extension" column value should be empty for folders
Product: [Applications] dolphin Reporter: tustamido
Component: view-engine: details modeAssignee: Dolphin Bug Assignee <dolphin-bugs-null>
Status: CONFIRMED ---    
Severity: normal CC: kfm-devel, meven
Priority: NOR    
Version: 22.12.1   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed In:

Description tustamido 2023-01-24 03:42:35 UTC
I use File Extension column instead of Type to prevent the cost of parsing file metadata.

But this produces very weird results for folders with dots in their names. It's a folder, so Dolphin shouldn't try to extract file extension.
Comment 1 Méven 2023-05-10 14:42:25 UTC
Git commit 629a5d44ddd89defb86c7fe9025735d00d8f0738 by Méven Car.
Committed on 10/05/2023 at 14:41.
Pushed by meven into branch 'master'.

Add a TODO KF6 to solve bug 464722

M  +1    -0    src/kitemviews/kfileitemmodel.cpp
M  +1    -0    src/kitemviews/kfileitemmodelrolesupdater.cpp

https://invent.kde.org/system/dolphin/commit/629a5d44ddd89defb86c7fe9025735d00d8f0738
Comment 2 Méven 2023-05-10 14:43:20 UTC
Will be fixed after dolphin starts running under KF6.