Bug 447530 - Untracked empty folders in a git repo are wrongly shown with the 'up-to-date' icon
Summary: Untracked empty folders in a git repo are wrongly shown with the 'up-to-date'...
Status: CONFIRMED
Alias: None
Product: dolphin
Classification: Applications
Component: plugins: git (show other bugs)
Version: 21.12.0
Platform: Arch Linux Linux
: NOR normal
Target Milestone: ---
Assignee: Sebastian Dörner
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-12-26 08:58 UTC by Kishore Gopalakrishnan
Modified: 2024-04-04 09:00 UTC (History)
4 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Kishore Gopalakrishnan 2021-12-26 08:58:04 UTC
STEPS TO REPRODUCE
1. In Settings > Configure Dolphin > Context menu, enable 'Git'
2. Open any git repo in Dolphin
3. Create a new folder

OBSERVED RESULTS
Even though the new folder contains no tracked files, it is shown with the 'green tick' icon. Also note that its context menu shows items such as 'git remove'.

EXPECTED RESULTS
Similar to untracked files, empty (untracked) folders should be shown without the tick. 'git remove' in the context menu should be greyed-out for such folders.

SOFTWARE VERSIONS
Operating System: Arch Linux
KDE Plasma Version: 5.23.4
KDE Frameworks Version: 5.89.0
Qt Version: 5.15.2
Kernel Version: 5.15.11-arch2-1 (64-bit)
Graphics Platform: X11

ADDITIONAL INFORMATION
Comment 1 Kishore Gopalakrishnan 2021-12-26 09:00:54 UTC
Ooops, forgot the summary

SUMMARY
When a git repo contains an empty (untracked) folder, Dolphin wrongly shows it with the 'green tick' icon that is used to signify tracked files/folders that have no uncommitted changes.
Comment 2 Aldo Latino 2024-03-10 06:28:52 UTC
I confirm this bug also in Plasma 6.0.1
Comment 3 Ivan Jurišić 2024-04-04 09:00:39 UTC
I confirm this bug also in Debian 12 Bookworm,

KDE Plasma Version: 5.27.5
KDE Frameworks Version: 5.103.0
Qt Version: 5.15.8
Kernel Version: 6.1.0-18-amd64
Debian package name: dolphin-plugins, Version: 22.12.3-1