Skip to content

Fix: Fixed issue where Command Palette had duplicate entries#18496

Merged
yair100 merged 1 commit into
files-community:mainfrom
KrisVandermotten:Fix-UpdateCommandPaletteSuggestions
Jun 21, 2026
Merged

Fix: Fixed issue where Command Palette had duplicate entries#18496
yair100 merged 1 commit into
files-community:mainfrom
KrisVandermotten:Fix-UpdateCommandPaletteSuggestions

Conversation

@KrisVandermotten

Copy link
Copy Markdown
Contributor

Resolved / Related Issues

The new code is much simpler than the old code, more straightforward and more efficient.

Steps used to test these changes

This only fixes the bug mentioned above. It does not attempt to fix any of the other issues in the command palette.

This was tested using the same steps as in #18486, on a machine running in nl-BE. No new issues are introduced compared to main.

@yair100 yair100 self-requested a review May 17, 2026 15:41
@yair100 yair100 added the ready for review Pull requests that are ready for review label May 17, 2026
@yair100

yair100 commented May 17, 2026

Copy link
Copy Markdown
Member

Thanks! I'll try to take a look and test these changes sometime this week or next week.

@yair100

yair100 commented May 25, 2026

Copy link
Copy Markdown
Member

I'm having a hard time testing these changes since I still can't reproduce the issue. @Josh65-2201 did you have any luck on your end?

@Josh65-2201

Copy link
Copy Markdown
Member

Haven't reproduce it, @KrisVandermotten Whats your Files set language, Windows language and keyboard layout? I can only think it would be one of those settings causing it to not be consistent.

@KrisVandermotten

Copy link
Copy Markdown
Contributor Author

Whats your Files set language, Windows language and keyboard layout?

Windows language is nl-BE. I don't think keyboard layout can affect the code in question, but it's "Belgian (Period)".

Files is set to use the system language.

@Josh65-2201

Josh65-2201 commented May 28, 2026

Copy link
Copy Markdown
Member

I can reproduce it in 4.1.1, with Files language set to Nederlands (Nederland). It is fixed by this PR

@KrisVandermotten

Copy link
Copy Markdown
Contributor Author

Is something blocking this PR from being merged? Can I help?

@yair100

yair100 commented Jun 12, 2026

Copy link
Copy Markdown
Member

Is something blocking this PR from being merged? Can I help?

This is on my list of things to look at.

@yair100 yair100 force-pushed the Fix-UpdateCommandPaletteSuggestions branch from 0b21087 to 6ac86fd Compare June 21, 2026 15:42

@yair100 yair100 left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

LGTM

@yair100 yair100 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 Jun 21, 2026
@yair100

yair100 commented Jun 21, 2026

Copy link
Copy Markdown
Member

@KrisVandermotten @Josh65-2201 thank you for your work on this issue. I was able to reproduce it by changing the language as suggested above. I made a couple of changes to the fix and confirmed that everything still works as expected.

@yair100 yair100 changed the title Fix UpdateCommandPaletteSuggestions Fix: Fixed issue where Command Palette had duplicate entries Jun 21, 2026
@yair100 yair100 merged commit c1dc375 into files-community:main Jun 21, 2026
5 of 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.

Bug: Duplicate entries in command list

3 participants