Skip to content

Moving nested folders does not cleanup after move operation #102

Description

@piu130

Checklist

  • I can reproduce the bug with the latest version given here.
  • I made sure that there are no existing issues - open or closed - to which I could contribute my information.
  • I made sure that there are no existing discussions - open or closed - to which I could contribute my information.
  • I have read the FAQs inside the app (Menu -> About -> FAQs) and my problem isn't listed.
  • I have taken the time to fill in all the required details. I understand that the bug report will be dismissed otherwise.
  • This issue contains only one bug.
  • I have read and understood the contribution guidelines.

Affected app version

1.0.1

Affected Android/Custom ROM version

LineageOS 21

Affected device model

OnePlus 6

How did you install the app?

F-Droid / IzzyOnDroid

Steps to reproduce the bug

  • Create a folder a and b.
  • Create a folder c inside a folder b.
  • Create a file d.txt inside folder c. (./b/c/d.txt).
  • Move folder ./b to ./a.

Expected behavior

Folder structure of . is ./a/b/c/d.txt.

Actual behavior

Folder structure of . is ./a/b/c/d.txt but ./b/c still exists.
./b and ./b/c should be removed after the moving operation.

Screenshots/Screen recordings

No response

Additional information

When moving a folder with depth one (eg. ./a/b.txt) the folder (./a) is removed and it works correctly.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething is not working

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions