I’m having the same issue. When I change the view settings (specifically disable grouping) and click apply, the output of getfattr --dump ~/folder doesn’t change, and it shows grouping is still enabled.
I have already tried that. I have narrowed it down to happening ONLY when I both deactivate grouping AND change sorting from descending to ascending. Either change by itself makes it save properly. But when setting both at once or both one at a time, it reverts to the previous setup with sorting set to descending and grouping enabled once both settings are set.
I eventually used setfattr to manually set it to what I wanted, and that worked and as long as I don’t change the view properties from within dolphin, it stays.
[…Navigate away from home in Dolphin first…]
> setfattr --remove=user.kde.fm.viewproperties#1 ~
> getfattr --dump ~
[…Nothing…]
[…Navigate back to home in Dolphin…]
> getfattr --dump ~
getfattr: Removing leading '/' from absolute path names
# file: home/carlen
user.kde.fm.viewproperties#1="[…]"
I’ve also heard the logic for the view settings when saving is that the file attributes are the differences from the global which might explain @alk’s case, where if I set the view settings to match the global it just drops the entire file attribute before Dolphin restores it when visiting the folder again.
I set the view close to what I want before using setfattr with the values hand-tweaked to get around the issue.