Skip to content

Run Windows shell COM work on OLE thread#58735

Open
Veykril wants to merge 2 commits into
mainfrom
lukaswirth/push-nknvuumvqtxy
Open

Run Windows shell COM work on OLE thread#58735
Veykril wants to merge 2 commits into
mainfrom
lukaswirth/push-nknvuumvqtxy

Conversation

@Veykril
Copy link
Copy Markdown
Member

@Veykril Veykril commented Jun 6, 2026

File dialogs and shell APIs can block or require COM/OLE initialization. Notably the file dialog change fixes us blocking the main thread while having the dialog open which caused us to record hangs.

Release Notes:

  • Fixed zed's windows becoming unresponsive on windows when having a file dialog open

File dialogs and shell APIs can block or require COM/OLE initialization.
Notably the file dialog change fixes us blocking the main thread while having the dialog open which caused us to record hangs.
@cla-bot cla-bot Bot added the cla-signed The user has signed the Contributor License Agreement label Jun 6, 2026
@Veykril Veykril requested a review from reflectronic June 6, 2026 11:20
@zed-community-bot zed-community-bot Bot added the staff Pull requests authored by a current member of Zed staff label Jun 6, 2026
TaskDialogIndirect is modal and blocks until the user responds. Run it on a dedicated OLE-initialized thread so prompts do not stall GPUI's foreground executor.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

cla-signed The user has signed the Contributor License Agreement staff Pull requests authored by a current member of Zed staff

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant