-
Notifications
You must be signed in to change notification settings - Fork 7.2k
CmdPal: experiments with the great context menu #40721
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
…element and allow it to overlap the root window boundaries
…e app by adding a border brush matching the window border and section separators
@michaeljolley Do you find something from this useful? |
The separator colors is using different theme resource for the separator brush. See https://github.com/microsoft/microsoft-ui-xaml/blob/2aa50f0dff795cbd948588ee0e62cac7da3a396f/src/controls/dev/CommonStyles/MenuFlyout_themeresources.xaml#L592C22-L592C41
… default (veeery rought, needs mooooore polish)
|
||
[DllImport("user32.dll")] | ||
private static extern int ToUnicode( | ||
uint wVirtKey, |
Check failure
Code scanning / check-spelling
Unrecognized Spelling Error
@check-spelling-bot Report🔴 Please reviewSee the 📂 files view, the 📜action log, or 📝 job summary for details.Unrecognized words (1)Virt These words are not needed and should be removedfffSome files were automatically ignored 🙈These sample patterns would exclude them:
You should consider adding them to:
File matching is via Perl regular expressions. To check these files, more of their words need to be in the dictionary than not. You can use To accept these unrecognized words as correct, update file exclusions, and remove the previously acknowledged and now absent words, you could run the following commands... in a clone of the [email protected]:jiripolasek/PowerToys.git repository curl -s -S -L 'https://raw.githubusercontent.com/check-spelling/check-spelling/c635c2f3f714eec2fcf27b643a1919b9a811ef2e/apply.pl' |
perl - 'https://github.com/microsoft/PowerToys/actions/runs/16401993410/attempts/1' &&
git commit -m 'Update check-spelling metadata' Warnings
|
Count | |
---|---|
3 |
See
If the flagged items are 🤯 false positives
If items relate to a ...
-
binary file (or some other file you wouldn't want to check at all).
Please add a file path to the
excludes.txt
file matching the containing file.File paths are Perl 5 Regular Expressions - you can test yours before committing to verify it will match your files.
^
refers to the file's path from the root of the repository, so^README\.md$
would exclude README.md (on whichever branch you're using). -
well-formed pattern.
If you can write a pattern that would match it,
try adding it to thepatterns.txt
file.Patterns are Perl 5 Regular Expressions - you can test yours before committing to verify it will match your lines.
Note that patterns can't match multiline strings.
That "show filter on top vs bottom" was actually discussed. The reason we ended up putting it on the top for right-clicks is that if you filter, the list will jump around. It's visually jarring as the filter box jumps up and down based on your typing. |
|
this is pretty hot ngl |
Summary of the Pull Request
This is not expected to be a production-worthy branch—consider it more of a dumping ground for sharing ideas.
Always place the context menu in its natural position when invoked by mouse 🐭
Mouse cursor changes to a resize arrow after opening the context menu 🐭
Prominent search box
Fluent menu items don't have pills (only list items do)
If ListView in context menu has focus, cyclic navigation won't work
Match CmdPal aesthetics
Contextual context menu
Recording.2025-07-20.141129.mp4
Updated separator brush:
PR Checklist
Detailed Description of the Pull Request / Additional comments
Validation Steps Performed