Bug 464722 - "File Extension" column value should be empty for folders
Summary: "File Extension" column value should be empty for folders
Status: CONFIRMED
Alias: None
Product: dolphin
Classification: Applications
Component: view-engine: details mode (show other bugs)
Version: 22.12.1
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: Dolphin Bug Assignee
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-01-24 03:42 UTC by tustamido
Modified: 2023-05-10 14:43 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 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.