F43 Dolphin assign folder color not working on smb mount?

Fedora Linux 43 (KDE Plasma Desktop Edition) x86_64
Linux 6.17.9-300.fc43.x86_64

I can assign a color to a local folder via right click/Actions as well as in Dolphin. When doing this in Dolphin on a folder on a smb mount it will not assign the color. There is no error, it just does nothing.

Is there any settings I need to set to allow this to happen? Either in Dolphin, the remote server, or in fstab?

My fstab is:

//192.168.1.22/myshare   /mnt/myshare   cifs   x-systemd.automount,x-systemd.idle-timeout=1min,rw,uid=1000,gid=1000,credentials=/home/me/.smbcredentials,iocharset=utf8,vers=3.0   0 0

Thanks

Edid to add:
File Indexing is activated..

Welcome to Fedora @aries223

Have you tried on the share it selves, to colorize?

/mnt/myshare

This does not work either..

Regardless, either way I do it, the ‘modification date’ is changed to ‘just now’… The color does not change however.

How and where do I report bugs to Fedora?

The bug tracker is https://bugzilla.redhat.com/. See How to file a bug :: Fedora Docs for some helpful information about filing bugs.

1 Like

Does it really do nothing? When assigning a color to a directory locally, Dolphin creates a .directory file in the folder, pointing to a colored version of the icon:

[Desktop Entry]
Icon=folder-orange

When you do it in a Samba share, does it create the hidden .directory file? Dolphin might not create it or might ignore it for non-local filesystems.

This person on the KDE forum had a potentially similar problem on an rclone mount:

However, on my end, I’ve been trying desperately to add a custom folder icon to a dolphin rclone fuse mount, and have not been successful what so ever. No matter how I manipulate that .directory file it just does not work. As I try to change the icon from the ui, It even creates a .directory.directory.lock.directory.lock.rmlock files, alongside ones that are just named random numbers, so I think it’s trying.. something.

So maybe Dolphin indeed doesn’t support this properly on non-local filesystems.

Yes, it does indeed create that “.directory” file when assigning the color to a folder on the remote share. It DOES NOT actually change the folder color though.

I am not sure it is a bug at all. It might simply be a design decision to only read the contents of .directory files locally, not from remote directories.

I would probably report it upstream. If it was indeed a design decision, they should know best. And if it is a bug that Fedora introduced, they also know and will refer you back to Fedora’s bugtracker in that case.

I reported it just now.. If it is a design decision, its not a good one. Its standard to be able to label/color folders/files even on remote shares…

I could imagine that smb in between is the problem. Have you tried with an NFS share?

It states:

NFS (Network File System)#

NFS is a distributed file system protocol that allows a user on a client machine to access files over a network as if they were local

It does work via the NFS mount method actually.. But then you lose the ability to Tag files…

So here is what we have so far:
SMB:
-No assign color
-Can add tags
NFS:
-Can assign color
-No add tags