# Opening file in editor after download causes "Slow operations are prohibited"

**URL:** <https://platform.jetbrains.com/t/opening-file-in-editor-after-download-causes-slow-operations-are-prohibited/1918>\
**Category:** IntelliJ Platform\
**Created:** [June 5, 2025, 11:11am UTC](https://platform.jetbrains.com/t/opening-file-in-editor-after-download-causes-slow-operations-are-prohibited/1918 "2025-06-05T11:11:23Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![marcin.xvsg](https://sea1.discourse-cdn.com/flex001/user_avatar/platform.jetbrains.com/marcin.xvsg/32/311_2.png) [@marcin.xvsg](https://platform.jetbrains.com/u/marcin.xvsg)\
**Post date:** [June 5, 2025, 11:11am UTC](https://platform.jetbrains.com/t/opening-file-in-editor-after-download-causes-slow-operations-are-prohibited/1918/1 "2025-06-05T11:11:23Z")

</div>

Use case:

- User invokes action from UI (project wizard)
- Plugin downloads zip file using `FileDownloader::downloadWithBackgroundProgress`
- Unzip when downloaded
- Find file inside unzipped files using `VfsUtil::findFileByIoFile`
- Open it in editor using `FileEditorManager.getInstance(project).openEditor(descriptor, true)`

Download is done in background but opening in editor requires EDT. I always end up with `Slow operations are prohibited` error.

Any advice how to use proper threads in that case?
