Skip to content

Conversation

@workbysaran
Copy link
Contributor

Resolved / Related Issues

Partially addresses #16029

Steps used to test these changes

  • Opened the Files app and navigated to one of the available folders.
  • Used the Ctrl + Shift + P keyboard shortcut to open the command palette.
  • Before the command appeared, performed other actions such as maximize, resize the window, or right-click.
  • Verified that the window did not freeze and resizing still worked as expected.

The fix prevents UI freezing during command palette population
  - Process commands individually with Task.Yield()
  - Maintains responsive UI while command palette is loading
  - Follows async patterns
@yaira2 yaira2 changed the title Fix: Command Palette sometimes freezes the UI (#16029) Code Quality: Fixed issue where Command Palette sometimes froze the UI Aug 26, 2025
@yaira2 yaira2 self-requested a review August 26, 2025 14:07
Copy link
Member

@yaira2 yaira2 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@yaira2 yaira2 added the ready to merge Pull requests that are approved and ready to merge label Aug 26, 2025
@yaira2 yaira2 merged commit e743f70 into files-community:main Aug 26, 2025
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ready to merge Pull requests that are approved and ready to merge

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants