Bug 479240

Summary: Dolphin does not always show subdirectories/files
Product: [Applications] dolphin Reporter: Kerry N <mothlight>
Component: panels: foldersAssignee: Dolphin Bug Assignee <dolphin-bugs-null>
Status: RESOLVED DUPLICATE    
Severity: normal CC: akselmo, kfm-devel
Priority: NOR    
Version: 23.08.4   
Target Milestone: ---   
Platform: Fedora RPMs   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: Screenshot after creating a sub directory
Screenshot a few minutes after creating a sub directory

Description Kerry N 2024-01-01 07:23:22 UTC
Created attachment 164588 [details]
Screenshot after creating a sub directory

SUMMARY
***
NOTE: If you are reporting a crash, please try to attach a backtrace with debug symbols.
See https://community.kde.org/Guidelines_and_HOWTOs/Debugging/How_to_create_useful_crash_reports
***


STEPS TO REPRODUCE
1. Open dolphin in /tmp
2. Open console window
3. [nice@politemadness tmp]$ mkdir test_dir
[nice@politemadness tmp]$ cd test_dir/
[nice@politemadness test_dir]$ touch test_file
[nice@politemadness test_dir]$ mkdir test_dir_2
Screenshot_20240101_144702.png is from immediately after this.
Screenshot_20240101_144846.png is a few minutes later.
OBSERVED RESULT
After creating files in a directory, as well as a subdirectory, dolphin does not display a open directory caret so that the files and directories can be accessed. You have to use F5 to refresh or sometimes after a while (30 seconds?) it finally displays a caret.

Other times (not this test case), opening a directory, it doesn't always draw the caret for all the subdirectories that have something in them.

Also, if you delete the file and subdirectory (in the console), the caret does not disappear. You can even click the caret and it will rotate 90 degrees but it won't disappear.

EXPECTED RESULT
There should be a open directory caret when a directory has something in it and it should disappear when the directory is empty.

SOFTWARE/OS VERSIONS
Windows: 
macOS: 
Linux/KDE Plasma: 
(available in About System)
KDE Plasma Version: 
KDE Frameworks Version: 
Qt Version: 

ADDITIONAL INFORMATION
[nice@politemadness test_dir]$ rpm -q dolphin
dolphin-23.08.4-1.fc39.x86_64
[nice@politemadness test_dir]$ uname -a
Linux politemadness 6.6.8-200.fc39.x86_64 #1 SMP PREEMPT_DYNAMIC Thu Dec 21 04:01:49 UTC 2023 x86_64 GNU/Linux
Comment 1 Kerry N 2024-01-01 07:24:08 UTC
Created attachment 164589 [details]
Screenshot a few minutes after creating a sub directory
Comment 2 Kerry N 2024-01-17 07:21:15 UTC
This is probably a duplicate of 474713 and 478291.
Comment 3 Akseli Lahtinen 2024-01-18 15:45:32 UTC
This should be fixed in Plasma 6. If it still happens when you update to Plasma 6, please report it again, thank you.

*** This bug has been marked as a duplicate of bug 477607 ***