fix(apps): preserve focus and permission sessions - #306
Merged
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
This is a Home 2.0.0 prerelease blocker fix for desktop focus theft, repeated app-permission prompts, locked-send retry, Android route instability, and automatic Qortium private-group key bootstrap observed during Chat acceptance.
Checking Qortium…orChecking Qortal…while a restored tab's first node check is pending instead of briefly reporting the chain unavailablekeyAvailablestate on desktop and Android, distinct from Core's protocol-levelavailableflagstage: "key-announcement", provemessageSubmitted: false, do not cache the key, and allow the original message to be retried safely/chat/private/...call through the generic app read allowlistCompanion Chat PR QortiumDev/qortium-chat#101 removes the mistaken manual Qortium recovery UI, handles key-setup-only uncertainty as safe to retry, reconciles its journal entry once a usable key is observed, and adds group ID labels. Older Chat builds ignore the added state and result fields.
Verification
npm test— 117/117 test scripts passed, including the full 64-trial MemoryPoW differential/known-answer runnpm run build— renderer and Electron type/build checks passedChatResourceTests#testPrivateGroupSendAndDecryptpassed and confirms Core's automatic first-send lifecyclenpm run dist:linux:x64from the earlier PR head — hardened AppImage check passed with 23,628 ASAR entriesnpm run smoke:desktop:home-v2-nodes— packaged AppImage passed against local Qortium, public Qortium, and public Qortalnpm run smoke:desktop:widgets— complete native widget flow passedChecking Qortium…while the initial check was pending, not a false unavailable stateAndroidTimeoutFix0017remainedSending…for roughly 54 seconds, then rendered normally with Reply/React/Edit/Delete; node1 and node2 independently confirmed signature5sDmPa2Er8TLt4BmDsiXFvhzNQ2jFnXVd3wHhg3RoJwojBc1usaxYSfWZTY2jMqXZmyg5U4UuDn5g2orYNtiUg5y, with no matching unconfirmed transactionAndroidPublicFix0020rendered normally in General Chat; both nodes confirmed exact payload and signature26aX76vHjkN5BJHJaK8S1r9kH93c2tFTjARt2RDBAvVCNPSrkvy6Aoo7whiuErra4QALkV29w4x7APHg1xbzpHDe, with no matching unconfirmed transactionFinal local signed APK from
03acdc9:dist-release/Qortium-Home-2.0.0-android-release.apk47c9109cd221ddac09b55f80b363ca06bb528fa556afd0dd2f7434f33ac225235b7b85b93e2d1955eacde68b51cc8d51b06fa65102e30c150885ebaa3c43eb8fThe local artifacts are acceptance evidence only. The existing prerelease draft and its assets have not been changed.
Remaining companion-app acceptance
Home behavior in this PR is accepted on desktop and Android. Chat #101 still needs two companion fixes before release acceptance is complete:
Use selected accountclick;*.qdn.androidplatform.netframe origin, which cannot resolve; use the existing bounded HTTP polling path there.After those Chat fixes land, repeat a cold-start account-read/private-history smoke in the final non-debuggable APK before merging and rebuilding prerelease artifacts.