GeezerVisonThe World Wide Web, restored to 800 pixels of glory. |
| Home|About|Gaming cabinet|Archives|How it works|Starter sites |
GeezerVison is showing github.com — Android: Frame navigation stalls after activity.recreate() · Issue #11591 · NativeScript/NativeScript Open Labels DescriptionEnvironment
Describe the bugAfter the activity is recreated programmatically with Activity recreation caused by a system configuration change (for example, a font scale change) does not have this problem. CauseThe recreated activity attaches the Frame's new native view while its lifecycle is still const lifecycleState = activity?.getLifecycle?.()?.getCurrentState() || androidx.lifecycle.Lifecycle.State.CREATED; if ((this._manager && this._manager.isDestroyed()) || !lifecycleState.isAtLeast(androidx.lifecycle.Lifecycle.State.CREATED)) { return; } this._attachedToWindow = true; this._isReset = false; this._processNextNavigationEntry(); No other attach event follows, so Trace from wrapping the Frame methods ( With a font-scale change instead, the attach arrives once the activity is To reproduce
Expected: the frame navigates back. Possible fixWhen the guard rejects the attach because the activity isn't Additional contextI found this while testing nativescript-vue's handling of recreated windows (nativescript-vue/nativescript-vue#1187). The traces above come from that demo app, but the stall is in core and plain ActivityMetadataMetadataAssigneesLabelsTypeProjectsMilestoneRelationshipsDevelopmentIssue actions |
| You are visitor 01402503 — GeezerVison does not store the pages you look up. Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required. |