Bug 450720 - rename folder interferes with tree structure
Summary: rename folder interferes with tree structure
Status: REPORTED
Alias: None
Product: gwenview
Classification: Applications
Component: general (show other bugs)
Version: 21.08.1
Platform: Ubuntu Linux
: NOR normal
Target Milestone: ---
Assignee: Gwenview Bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-02-22 22:33 UTC by Holger
Modified: 2022-02-22 22:33 UTC (History)
0 users

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


Attachments
screencast (2.02 MB, video/ogg)
2022-02-22 22:33 UTC, Holger
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Holger 2022-02-22 22:33:44 UTC
Created attachment 147061 [details]
screencast

SUMMARY

On renaming a folder, the tree-view sorts the children, but does not move subtrees of children

STEPS TO REPRODUCE
1. mkdir -p test/subfolder/subsub; mkdir test/xxx
2. navigate to subsub, so the tree is fully unfolded
3. go up to test and rename "xxx" into "aaa", so that it now sorts before subfolder
4. move the mouse over the tree to make it update

OBSERVED RESULT

The tree-structure is messed up, subsub now shows a child of aaa.
See video

EXPECTED RESULT

On sorting the tree, subsub shall move along with subfolder.
Also, as Gwenview creates/renames the folder, it might trigger a repaint of the tree, not waiting for a mouse-over.

SOFTWARE/OS VERSIONS
Operating System: Kubuntu 21.10
KDE Plasma Version: 5.22.5
KDE Frameworks Version: 5.86.0
Qt Version: 5.15.2
Kernel Version: 5.13.0-28-generic (64-bit)
Graphics Platform: X11
Processors: 8 × Intel® Core™ i7-4700MQ CPU @ 2.40GHz
Memory: 15.5 GiB of RAM
Graphics Processor: Mesa DRI Intel® HD Graphics 4600

ADDITIONAL INFORMATION