Skip to content

common: refresh session/language cache when writing .dmrc (#325) - #493

Open
Franklin-Qi wants to merge 1 commit into
ubuntu:mainfrom
Franklin-Qi:fix/325-dmrc-session-cache
Open

Franklin-Qi wants to merge 1 commit into
ubuntu:mainfrom
Franklin-Qi:fix/325-dmrc-session-cache

Conversation

@Franklin-Qi

@Franklin-Qi Franklin-Qi commented Oct 12, 2026 •

Copy link
Copy Markdown

Summary

  • Without AccountsService, load_dmrc runs once; common_user_set_session compared against the stale in-memory value and skipped rewriting .dmrc when returning to the originally loaded session.
  • Update the in-memory session/language cache when writing .dmrc.
  • Add test-login-remember-original-session with AccountsService disabled.

Closes: #325

Without AccountsService, load_dmrc runs once so comparing against the
stale in-memory session skipped rewriting .dmrc when returning to the
originally loaded desktop.

Closes: ubuntu#325
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.

.dmrc is not always rewritten when it should

1 participant