Skip to content

Preserve home screen data when grid migration fails - #577

Open
KonTy wants to merge 1 commit into
NeoApplications:mainfrom
KonTy:work-preserve-grid-migrations
Open

KonTy wants to merge 1 commit into
NeoApplications:mainfrom
KonTy:work-preserve-grid-migrations

Conversation

@KonTy

@KonTy KonTy commented Oct 5, 2026 •

Copy link
Copy Markdown

Keep the saved home screen when a grid migration fails instead of resetting it. Only switch databases and update migration state after success. On failure, stop loading before defaults or widget cleanup can replace saved data, and show an error message.

Related reports: #284, #308, #337, #343, #359, #362, #378, #385, #473, #505 and #515. These include older versions and different triggers; this change addresses migration failures, not every reported reset.

All 11 regression tests pass. The debug build was also installed and checked on Android 16.

Oh I've been running this on my phone for some time and i haven't seen crashes and layout resets so far, so it seems like this issue is fixed, filnally :)

@machiav3lli

Copy link
Copy Markdown
Member

Can you please confirm LLM involvement in this MR and contribute it respectively.

@KonTy

KonTy commented Oct 7, 2026

Copy link
Copy Markdown
Author

Yes, I used Claude Opus and GPT to help trace the migration code and draft the patch. I reviewed every line, ran the regression tests, and have been running it on my Android 16 phone with no layout resets. The change is my responsibility either way.

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants