Bug 477364

Summary: "Folder Type" shows "Git Folder" for each folder
Product: [Applications] dolphin Reporter: bjordanov <jordanov.borislav>
Component: panels: foldersAssignee: Dolphin Bug Assignee <dolphin-bugs-null>
Status: REPORTED ---    
Severity: normal CC: fanzhuyifan, kfm-devel
Priority: NOR    
Version: 22.12.3   
Target Milestone: ---   
Platform: Kubuntu   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: This screenshot is part of the GUI where type shows Git Folder

Description bjordanov 2023-11-22 12:40:20 UTC
Created attachment 163360 [details]
This screenshot is part of the GUI where type shows Git Folder

SUMMARY
***
NOTE: If you are reporting a crash, please try to attach a backtrace with debug symbols.
See https://community.kde.org/Guidelines_and_HOWTOs/Debugging/How_to_create_useful_crash_reports
***

STEPS TO REPRODUCE
1. One day I opened my Dolphin and chose the option to display "type". For some reason now all my folders are "Git Folder" according to dolphin. I checked if I have .git files inside them and obviously I don't. I went back to the partition folder to make sure there's no .git file inside it and I was correct - no such file.

OBSERVED RESULT
Choosing to display "Type" in Dolphin shows "Git Folder" for every folder

EXPECTED RESULT
Type -> Folder

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: Kubuntu latest kernel & firmware
KDE Plasma Version: 5.24.7
KDE Frameworks Version: 5.92.0
Qt Version: 5.15.3
Kernel Version: 6.5.7-060507-generic (64bit)

Notes:
The bug may not be related to KDE or Dolphin but I'm new to KDE & Dolphin so I'm unsure how to debug. I've tried changing my git config --global --get core.symlinks false/true, restarting dolphin service and even clearing dolphin cache. Sadly none if this worked.