Why does the Dolphin Git plugin work everywhere except my home folder?

Git initialised folders under my home folder don’t show the Git status badges on the files and don’t have the Git context menu items. The same folders copied outside my home folder work OK. What could be ‘special’ about my home directory to cause this effect?

I’m seeing a similar effect but not consistently, I have a Fedora 40 KDE laptop where I activated the dolphin git context and do see git attributes under home folders but on another laptop also with Fedora 40 KDE the only git related thing I see in folders under my home directory is “git clone …”

I do have the dolphin-plugins package installed:

rpm -qi dolphin-plugins
Name        : dolphin-plugins
Version     : 24.05.2
Release     : 1.fc40

Okay, I think I have a fix/workaround but this really shouldn’t be necessary.

But what I found is that if I change the view in dolphin, like from “Detailed” to “Icon” view, then suddenly all the git contexts show. Then if I go back to Detailed they are all there too. So the problem is we’re seeing some kind of stale view. Note that I did try moving from one git clone folder to another but that didn’t seem to help, you have to actually change the view mode.

So the bug seems to be that when you change a dolphin configuration in a way that changes what you’d see(checking the “git” context), the view isn’t automatically refreshed. By my manually changing the view from the menu it was forcing the view to redraw and it probably refers to the configuration and draws the view correctly.
The quirky way the one laptop worked and the other did not is I bet I randomly changed with the view on there and didn’t even notice. Like I think I was annoyed that the zoom was too much so I might have fooled with the view type as well and thus avoided the bug by accident.

So I suspect you got fooled, it’s not a home vs non-home, it’s just that in the “home” case you didn’t happen to change the view?

1 Like

Thanks for your suggestion @moschlegbz I tried changing the view mode between all three options, several times, and refreshing the view with F5 but the git stuff still did not appear.

I then copied the git-initialised folder outside of my home to confirm it worked OK there (it did) and when I went back to the original folder it was working there too! Weird. Hoping it will continue working now!