Skip to content

Conversation

@0x5bfa
Copy link
Member

@0x5bfa 0x5bfa commented Jul 4, 2025

Resolved / Related Issues

Steps used to test these changes

When I type in this box, it flashes the results screen every time I type or erase a letter. Pretty annoying. The preview version doesn't do that.

  1. Open Files app
  2. Switch modes between Path and Palette multiple times.

I think some padding for the key symbols on the command pallet should be added so it not cut off partially when the scrollbar hovered/always out states.

  1. Go to the Palette mode
  2. See the suggestions UI

One thing I noticed is the height of the mode buttons is a bit smaller

  1. See the Omnibar mode button UI

@0x5bfa 0x5bfa force-pushed the 5bfa/CQ-OmnibarSearch branch from 1fa5953 to dba4123 Compare July 4, 2025 04:58
@0x5bfa 0x5bfa changed the title Fixed an issue where the UI thread can fall into dead-lock state when switching Omnibar modes Code Quality: Improved Omnibar 14 Jul 4, 2025
{
var dispatcherQueue = Microsoft.UI.Dispatching.DispatcherQueue.GetForCurrentThread();

dispatcherQueue.TryEnqueue(() =>
Copy link
Member

Choose a reason for hiding this comment

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

I found that DispatcherQueue is required for actions to work properly. Unfortunately, we can't do any further testing in this area right now because the experimental API doesn't seem to work in the latest Insider build.

Copy link
Member Author

Choose a reason for hiding this comment

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

Please look at the L439 of NavigationToolbar.xaml.cs, I've wrapped the whole method with it.

Copy link
Member

Choose a reason for hiding this comment

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

I see, thanks.

Copy link
Member

Choose a reason for hiding this comment

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

It looks like it's missing from the Omnibar_TextChanged event. To prevent this from being missed in the future, it would be safer to revert this change.

@yaira2 yaira2 added the ready for review Pull requests that are ready for review label Jul 4, 2025
@yaira2 yaira2 force-pushed the main branch 2 times, most recently from 42c8207 to 4c7493f Compare July 6, 2025 15:16
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 ready to merge Pull requests that are approved and ready to merge and removed ready for review Pull requests that are ready for review labels Jul 8, 2025
@yaira2 yaira2 merged commit fe52157 into files-community:main Jul 8, 2025
6 checks passed
@0x5bfa 0x5bfa deleted the 5bfa/CQ-OmnibarSearch branch July 8, 2025 03:37
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