Bug 411061 - Tree view expanding under incorrect parent folder when sorting by last access date
Summary: Tree view expanding under incorrect parent folder when sorting by last access...
Status: RESOLVED FIXED
Alias: None
Product: dolphin
Classification: Applications
Component: view-engine: details mode (show other bugs)
Version: 19.08.0
Platform: Neon Linux
: NOR normal
Target Milestone: ---
Assignee: Hernan Schmidt
URL:
Keywords: usability
Depends on:
Blocks:
 
Reported: 2019-08-19 14:00 UTC by Hernan Schmidt
Modified: 2023-10-17 23:44 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments
Tree view expanding under incorrect parent folder (119.67 KB, image/jpeg)
2019-08-19 14:00 UTC, Hernan Schmidt
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Hernan Schmidt 2019-08-19 14:00:30 UTC
Created attachment 122243 [details]
Tree view expanding under incorrect parent folder

SUMMARY
When expanding a folder in details view, instead of showing the tree immediately below the clicked element, the tree expands at the end of the file list, as seen in the attached screen show. This poses an obvious risk since one is unable to accurately determine the actual folder structure in a visual way.

This bug only happens with certain folders, and so far I have been unable to identify a pattern or reproduce the problem on other folders.

Unfortunately I cannot outline any steps to reproduce the problem, so it boils down to expanding random folder trees until the bug shows up.


SOFTWARE/OS VERSIONS
Windows: 
macOS: 
Linux/KDE Plasma: KDE Neon User 5.16
(available in About System)
KDE Plasma Version: 5.16.4
KDE Frameworks Version: 5.61.0
Qt Version: 5.12.3
Comment 1 Hernan Schmidt 2019-08-19 14:15:04 UTC
On further inverstigation, i have found that it seems to be a problem related to sorting. The bug presents itself When sorting by Last Accesed, and goes back to normal when reverting to Name Sorting.

STEPS TO REPRODUCE

1. Select details view with expandable folders turned on.

2. Sort by Last Accessed

3. From Home folder, expand a folder by clicking on its tree arrow.


OBSERVED RESULT

The folder contents tree are shown at the bottom of the list under the wrong folder.


EXPECTED RESULT

The contents should expand immediately under the clicked element, and be sorted by date of last access.
Comment 2 Justin Zobel 2020-11-05 08:19:16 UTC
Thanks for the report Hernan, I've followed the steps in Comment 1 and can't reproduce this issue on Dolphin from git master.

Can you please test and confirm that this issue is now resolved, thanks.
Comment 3 Bug Janitor Service 2020-11-20 04:33:47 UTC
Dear Bug Submitter,

This bug has been in NEEDSINFO status with no change for at least
15 days. Please provide the requested information as soon as
possible and set the bug status as REPORTED. Due to regular bug
tracker maintenance, if the bug is still in NEEDSINFO status with
no change in 30 days the bug will be closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

If you have already provided the requested information, please
mark the bug as REPORTED so that the KDE team knows that the bug is
ready to be confirmed.

Thank you for helping us make KDE software even better for everyone!
Comment 4 Hernan Schmidt 2020-11-23 14:22:51 UTC
In the end, I figured out that the problem was that, on update, newly accessed files were being shown at the end of the file list when showing expandable folders, instead of being sorted by Access Date inside their parent folder branch.

Anyway, as of Plasma 5.20.3 and Dolphin 20.08.3, the bug seems to have been fixed.

Closing as RESOLVED.