Skip to content

Revert "Added support for dismissing the toolchain path selector via … (#49504) (cherry-pick to preview)#49528

Merged
zed-zippy[bot] merged 1 commit intov0.225.xfrom
cherry-pick-v0.225.x-f03691e2
Feb 18, 2026
Merged

Revert "Added support for dismissing the toolchain path selector via … (#49504) (cherry-pick to preview)#49528
zed-zippy[bot] merged 1 commit intov0.225.xfrom
cherry-pick-v0.225.x-f03691e2

Conversation

@zed-zippy
Copy link
Contributor

@zed-zippy zed-zippy bot commented Feb 18, 2026

Cherry-pick of #49504 to preview


esc (#48201)"

This reverts commit 174fc51.

Select toolchain path dialog immediately dismisses upon selecting a
path, preventing the addition of new toolchains

  • OpenPathDelegate emits DismissEvents in the confirm function too
  • when the selection is confirmed, DismissEvent is emitted
  • ToolchainSelector calls cancel because it receives the DismissEvent,
    and it goes to the Search State
  • This prevents the selected toolchain from being resolved and the
    ScopePicker being presented

cc: @JosephTLyons

Release Notes:

  • Fixed a regression where the toolchain path selector would immediately
    dismiss upon selecting a path, preventing the addition of new
    toolchains.

#49504)

…`esc` (#48201)"

This reverts commit 174fc51.

Select toolchain path dialog immediately dismisses upon selecting a
path, preventing the addition of new toolchains

- OpenPathDelegate emits DismissEvents in the `confirm` function too
- when the selection is confirmed, DismissEvent is emitted
- ToolchainSelector calls cancel because it receives the DismissEvent,
and it goes to the Search State
- This prevents the selected toolchain from being resolved and the
ScopePicker being presented

cc: @JosephTLyons 

Release Notes:

- Fixed a regression where the toolchain path selector would immediately
dismiss upon selecting a path, preventing the addition of new
toolchains.
@zed-zippy zed-zippy bot requested a review from a team as a code owner February 18, 2026 22:09
@cla-bot cla-bot bot added the cla-signed The user has signed the Contributor License Agreement label Feb 18, 2026
@zed-community-bot zed-community-bot bot added the bot Pull requests authored by a bot label Feb 18, 2026
@zed-zippy zed-zippy bot merged commit fe23d45 into v0.225.x Feb 18, 2026
37 checks passed
@zed-zippy zed-zippy bot deleted the cherry-pick-v0.225.x-f03691e2 branch February 18, 2026 22:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bot Pull requests authored by a bot cla-signed The user has signed the Contributor License Agreement

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant