Skip to content

Renaming or moving the home folder silently resets it to internal storage #534

Backlog

Description

@PropertyGen

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.6.5 (versionCode 17; also observed in 1.6.1–1.6.3)

Affected Android/Custom ROM version

Android 11 (API 30), Google APIs emulator image

Affected device model

Android emulator (x86, 1080×1920)

How did you install the app?

GitHub releases

Steps to reproduce the bug

Rename

  1. Open Internal/Notes and use Set as home folder. From the Internal root, verify that the Home button opens Notes.
  2. Go back to Internal, long-press Notes, and rename it to Notes2.
  3. Open Notes2 and tap Go to home folder.

Move

  1. Set Test/Dest/HomeA as the home folder. Restart the app and verify it opens there.
  2. Long-press HomeA and use Move to to move it to Test.
  3. Open Test/HomeA and tap Go to home folder.

Expected behavior

The home folder follows the renamed or moved folder.

Actual behavior

The setting resets to the Internal storage root without a message. The Home button disappears at the root and opens the root from the renamed or moved folder. Renaming Notes2 back to Notes does not restore the setting. Both cases reproduced twice on 1.6.5.

Screenshots/Screen recordings

Screenshots

Home button at root Configured home folder
Home button at root Configured home folder
Home button gone after rename Home opens Internal
Home button gone after rename Home opens Internal
Renaming back still opens Internal
Renaming back still opens Internal

Additional information

The home-folder setting is stored by path. In-app rename and move leave the old path behind, so the getter falls back to internal storage.

var homeFolder: String
get(): String {
var path = prefs.getString(HOME_FOLDER, "")!!
if (path.isEmpty() || !File(path).isDirectory) {
path = context.getInternalStoragePath()
homeFolder = path
}
return path
}
set(homeFolder) = prefs.edit().putString(HOME_FOLDER, homeFolder).apply()

Activity

  1. added
    bug
    needs triage
    on Nov 30, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugneeds triage

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions