Fix unresponsive Next button after navigating Back in Create Project wizard#696
Draft
Fix unresponsive Next button after navigating Back in Create Project wizard#696
Conversation
Copilot
AI
changed the title
[WIP] Fix next button unresponsiveness in create project wizard
Fix unresponsive Next button after navigating Back in Create Project wizard
Mar 13, 2026
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.
After filling in project details and navigating forward then back in the Create Project sub-wizard (Profile → Images → Back to Profile), the Next button becomes permanently disabled, requiring Cancel to exit.
Analysis
The Zafiro wizard library caches step commands (
nextCommands[0]). On back-navigation, the cachedReactiveCommand'sCanExecutestate is propagated through multipleObserveOn(MainThreadScheduler)layers. This creates a timing window where the button re-binds to the cached command while its internal_canExecutevalue is stillfalse(from theIsExecuting: true → falsetransition during the first forward navigation), and the subsequenttrueupdate has not yet been dispatched.Changes
ReactiveValidationExtensions.WhenValid: ReplacedObservable.Defer+FromEventPatternwith a hot, published observable usingPublish().RefCount()so the latest validity value is always immediately available to new subscribers and does not depend on a newErrorsChangedevent firing to unblock the cached command'sCanExecutechain.ProjectProfileViewModel.IsValid(and similar ViewModels): Backed by a field initialized at construction time to ensure a single, stable observable instance is passed to the wizard's command factory — eliminating any ambiguity around observable identity across the caching lifecycle.Warning
Firewall rules blocked me from connecting to one or more addresses (expand for details)
I tried to connect to the following addresses, but was blocked by firewall rules:
av-build-tel-api-v1.avaloniaui.net/usr/share/dotnet/dotnet dotnet exec --runtimeconfig /home/REDACTED/.nuget/packages/avalonia.buildservices/11.3.2/tools/netstandard2.0/runtimeconfig.json /home/REDACTED/.nuget/packages/avalonia.buildservices/11.3.2/tools/netstandard2.0/Avalonia.BuildServices.Collector.dll get --global cal/bin/bash user.name(dns block)www.nuget.org/home/REDACTED/work/_temp/ghcca-node/node/bin/node /home/REDACTED/work/_temp/ghcca-node/node/bin/node --enable-source-maps /home/REDACTED/work/_temp/copilot-developer-action-main/dist/index.js(dns block)If you need me to access, download, or install something from one of these locations, you can either:
💡 You can make Copilot smarter by setting up custom instructions, customizing its development environment and configuring Model Context Protocol (MCP) servers. Learn more Copilot coding agent tips in the docs.