Bug 509826

Summary: Dolphin: Sorting & Display Error after Renaming Folders
Product: [Applications] dolphin Reporter: Frank <frastef>
Component: view-engine: generalAssignee: Dolphin Bug Assignee <dolphin-bugs-null>
Status: REPORTED ---    
Severity: major CC: dolphin-bugs-null
Priority: NOR    
Version First Reported In: 25.04.3   
Target Milestone: ---   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: Screenshots

Description Frank 2025-09-23 14:05:10 UTC
Created attachment 185187 [details]
Screenshots

Working with Dolphin 25.04.3 with Setting: Sort alphabetic Filename.

To help understand what I was doing:
I add some new music to my music library, which ist organizied in folders with: album-artist, album ...
Therefore i use album-artist-name, album-artist-prename. So it happens, that i have to change the folder names to my preferences. 
In my example you see a directory with new music and a correct order (Screen-1)
Here "Mike Zito & Albert Castiglia" is at position 1, and the last folder I have to rename.
After renaming to "Zito, Mike & Castiglia, Albert" it should be at the last position, but it stays at position 1 (Screen-2). 
I create a new subfolder "Help Yourself" into "Zito, Mike & Castiglia, Albert" and this one will be displayed
as a subfolder of "Yorn, Pete" (Screen-3).
In fact this is not correct too, because the subfolder is created into "Zito, Mike & Castiglia, Albert". Only the
displayed result is incorrect.

STEPS TO REPRODUCE
1.  Choose a Folder with a couple of Subfolders sorted alphbetic. (see Screenshot-1)
2.  Rename a Folder so that it's position should change (see Screenshot-2)
      The renamed Folder should be a the last position of the display list, but it stays at first position
3.  Mark the renamed Folder a select a action for this folder (Choose: create a new subfolder here)
4.  The action seems to be executed for a complete different folder and not the renamed folder
      (see Screen-3). In my example the new subfolder ("TestACtion") seems to be created in the last displayed
      folder.
5.  Refresh by choosing another folder anywhere else and go back to see what really happend (See Screen-4)

OBSERVED RESULT

Sorting Order will not be refreshed and displays a non-alphabetic/wrong sorting order
An action on the renamed folder will displayed in another different folder (this is the folder, which
is display at the place where the renamed folder should be display if everything wwould be correct.

EXPECTED RESULT

Correct order of all folders after renaming one.

SOFTWARE/OS VERSIONS

Linux/KDE Plasma: Tuxedo-OS, rolling release
KDE Plasma Version: 6.4.4
KDE Frameworks Version: 6.17.4
Qt Version: 6.8.2

ADDITIONAL INFORMATION
Comment 1 Frank 2025-09-23 14:16:55 UTC
I forget to mention: this doesn't happen all the time when renaming folders; I also did sessions where everything works well with renaming.

My guess is: when I change some system settings before I start renaming then it will happen.
In the reported case I changed the occurance of my task bar.
In other cases I try out if the behaviour changes when I uses the sorting order for all windows (it does not).

In fact I'm new to plasma and still try to figure out what fits best to me.