Skip to content

Conversation

@zadjii
Copy link
Collaborator

@zadjii zadjii commented Mar 15, 2025

  • Issue the first: This hit with the media controls sample. I'm not really sure how it happened, with the menu changing which we were initializing it? But it happens, and now it doesn't
  • Issues the second: Tags was an ObservableCollection, and that was getting created off the UI thread, then updated on the UI thread, and everyone was upset, and there was a pile of COM WRONG_THREAD issues.
  • ISSUE THE THIRD: FIXES THE TAG COLORS! Closes Tags don't reset their color when changed back to not having a color #365

zadjii added 5 commits March 15, 2025 06:33
This hit with the media controls sample. I'm not really sure how it happened, with the menu changing which we were initializing it? But it happens, and now it doesnt
this fixes the tag color thing!!!!!
The ObservableCollection was getting created off the UI thread, then only updated ON the UI thread
@zadjii zadjii changed the title Fixes an error when toplevelitems change their menu A pair of threading issues: MoreCommands and Tags Mar 16, 2025
@zadjii
Copy link
Collaborator Author

zadjii commented Mar 16, 2025

image

We don't want the border visible if the tag has a BG
@zadjii zadjii merged commit 16650db into main Mar 16, 2025
6 checks passed
@zadjii zadjii deleted the dev/migrie/b/fix-toplevel-context-changes branch March 16, 2025 01:02
zadjii-msft added a commit to microsoft/PowerToys that referenced this pull request Mar 19, 2025
Windows Command Palette ("CmdPal") is the next iteration of PowerToys Run. With extensibility at its core, the Command Palette is your one-stop launcher to start _anything_.

By default, CmdPal is bound to <kbd>Win+Alt+Space</kbd>.

![cmdpal-pr-002](https://github.com/user-attachments/assets/5077ec04-1009-478a-92d6-0a30989d44ac)
![cmdpal-pr-003](https://github.com/user-attachments/assets/63b4762a-9c19-48eb-9242-18ea48240ba0)

----

This brings the current preview version of CmdPal into the upstream PowerToys repo. There are still lots of bugs to work out, but it's reached the state we're ready to start sharing it with the world. From here, we can further collaborate with the community on the features that are important, and ensuring that we've got a most robust API to enable developers to build whatever extensions they want. 

Most of the built-in PT Run modules have already been ported to CmdPal's extension API. Those include:
* Installed apps
* Shell commands
* File search (powered by the indexer)
* Windows Registry search
* Web search
* Windows Terminal Profiles
* Windows Services
* Windows settings


There are a couple new extensions built-in
* You can now search for packages on `winget` and install them right from the palette. This also powers searching for extensions for the palette
* The calculator has an entirely new implementation. This is currently less feature complete than the original PT Run one - we're looking forward to updating it to be more complete for future ingestion in Windows
* "Bookmarks" allow you to save shortcuts to files, folders, and webpages as top-level commands in the palette. 

We've got a bunch of other samples too, in this repo and elsewhere

### PowerToys specific notes

CmdPal will eventually graduate out of PowerToys to live as its own application, which is why it's implemented just a little differently than most other modules. Enabling CmdPal will install its `msix` package. 

The CI was minorly changed to support CmdPal version numbers independent of PowerToys itself. It doesn't make sense for us to start CmdPal at v0.90, and in the future, we want to be able to rev CmdPal independently of PT itself. 


Closes #3200, closes #3600, closes #7770, closes #34273, closes #36471, closes #20976, closes #14495
  
  
-----

TODOs et al


**Blocking:**
- [ ] Images and descriptions in Settings and OOBE need to be properly defined, as mentioned before
  - [ ] Niels is on it
- [x] Doesn't start properly from PowerToys unless the fix PR is merged.
  - zadjii-msft#556 merged
- [x] I seem to lose focus a lot when I press on some limits, like between the search bar and the results.
  - This is zadjii-msft#427
- [x] Turned off an extension like Calculator and it was still working.
  - Need to get rid of that toggle, it doesn't do anything currently
- [x] `ListViewModel.<FetchItems>` crash
  - Pretty confident that was fixed in zadjii-msft#553

**Not blocking / improvements:**
- Show the shortcut through settings, as mentioned before, or create a button that would open CmdPalette settings.
- When PowerToys starts, CmdPalette is always shown if enabled. That's weird when just starting PowerToys/ logging in to the computer with PowerToys auto-start activated. I think this should at least be a setting.
- Needing to double press a result for it to do the default action seems quirky. If one is already selected, I think just pressing should be enough for it to do the action.
  - This is currently a setting, though we're thinking of changing the setting even more: zadjii-msft#392
- There's no URI extension. Was surprised when typing a URL that it only proposed a web search.
- [x] There's no System commands extension. Was expecting to be able to quickly restart the computer by typing restart but it wasn't there.
  - This is in PR zadjii-msft#452  
  
---------

Co-authored-by: joadoumie <[email protected]>
Co-authored-by: Jordi Adoumie <[email protected]>
Co-authored-by: Mike Griese <[email protected]>
Co-authored-by: Niels Laute <[email protected]>
Co-authored-by: Michael Hawker <[email protected]>
Co-authored-by: Stefan Markovic <[email protected]>
Co-authored-by: Seraphima <[email protected]>
Co-authored-by: Jaime Bernardo <[email protected]>
Co-authored-by: Kristen Schau <[email protected]>
Co-authored-by: Eric Johnson <[email protected]>
Co-authored-by: Ethan Fang <[email protected]>
Co-authored-by: Yu Leng (from Dev Box) <[email protected]>
Co-authored-by: Clint Rutkas <[email protected]>
colin-tso pushed a commit to colin-tso/PowerToys that referenced this pull request Apr 8, 2025
Windows Command Palette ("CmdPal") is the next iteration of PowerToys Run. With extensibility at its core, the Command Palette is your one-stop launcher to start _anything_.

By default, CmdPal is bound to <kbd>Win+Alt+Space</kbd>.

![cmdpal-pr-002](https://github.com/user-attachments/assets/5077ec04-1009-478a-92d6-0a30989d44ac)
![cmdpal-pr-003](https://github.com/user-attachments/assets/63b4762a-9c19-48eb-9242-18ea48240ba0)

----

This brings the current preview version of CmdPal into the upstream PowerToys repo. There are still lots of bugs to work out, but it's reached the state we're ready to start sharing it with the world. From here, we can further collaborate with the community on the features that are important, and ensuring that we've got a most robust API to enable developers to build whatever extensions they want.

Most of the built-in PT Run modules have already been ported to CmdPal's extension API. Those include:
* Installed apps
* Shell commands
* File search (powered by the indexer)
* Windows Registry search
* Web search
* Windows Terminal Profiles
* Windows Services
* Windows settings

There are a couple new extensions built-in
* You can now search for packages on `winget` and install them right from the palette. This also powers searching for extensions for the palette
* The calculator has an entirely new implementation. This is currently less feature complete than the original PT Run one - we're looking forward to updating it to be more complete for future ingestion in Windows
* "Bookmarks" allow you to save shortcuts to files, folders, and webpages as top-level commands in the palette.

We've got a bunch of other samples too, in this repo and elsewhere

CmdPal will eventually graduate out of PowerToys to live as its own application, which is why it's implemented just a little differently than most other modules. Enabling CmdPal will install its `msix` package.

The CI was minorly changed to support CmdPal version numbers independent of PowerToys itself. It doesn't make sense for us to start CmdPal at v0.90, and in the future, we want to be able to rev CmdPal independently of PT itself.

Closes microsoft#3200, closes microsoft#3600, closes microsoft#7770, closes microsoft#34273, closes microsoft#36471, closes microsoft#20976, closes microsoft#14495

-----

TODOs et al

**Blocking:**
- [ ] Images and descriptions in Settings and OOBE need to be properly defined, as mentioned before
  - [ ] Niels is on it
- [x] Doesn't start properly from PowerToys unless the fix PR is merged.
  - zadjii-msft#556 merged
- [x] I seem to lose focus a lot when I press on some limits, like between the search bar and the results.
  - This is zadjii-msft#427
- [x] Turned off an extension like Calculator and it was still working.
  - Need to get rid of that toggle, it doesn't do anything currently
- [x] `ListViewModel.<FetchItems>` crash
  - Pretty confident that was fixed in zadjii-msft#553

**Not blocking / improvements:**
- Show the shortcut through settings, as mentioned before, or create a button that would open CmdPalette settings.
- When PowerToys starts, CmdPalette is always shown if enabled. That's weird when just starting PowerToys/ logging in to the computer with PowerToys auto-start activated. I think this should at least be a setting.
- Needing to double press a result for it to do the default action seems quirky. If one is already selected, I think just pressing should be enough for it to do the action.
  - This is currently a setting, though we're thinking of changing the setting even more: zadjii-msft#392
- There's no URI extension. Was surprised when typing a URL that it only proposed a web search.
- [x] There's no System commands extension. Was expecting to be able to quickly restart the computer by typing restart but it wasn't there.
  - This is in PR zadjii-msft#452

---------

Co-authored-by: joadoumie <[email protected]>
Co-authored-by: Jordi Adoumie <[email protected]>
Co-authored-by: Mike Griese <[email protected]>
Co-authored-by: Niels Laute <[email protected]>
Co-authored-by: Michael Hawker <[email protected]>
Co-authored-by: Stefan Markovic <[email protected]>
Co-authored-by: Seraphima <[email protected]>
Co-authored-by: Jaime Bernardo <[email protected]>
Co-authored-by: Kristen Schau <[email protected]>
Co-authored-by: Eric Johnson <[email protected]>
Co-authored-by: Ethan Fang <[email protected]>
Co-authored-by: Yu Leng (from Dev Box) <[email protected]>
Co-authored-by: Clint Rutkas <[email protected]>
sadirano pushed a commit to sadirano/PowerToys that referenced this pull request Jun 10, 2025
Windows Command Palette ("CmdPal") is the next iteration of PowerToys Run. With extensibility at its core, the Command Palette is your one-stop launcher to start _anything_.

By default, CmdPal is bound to <kbd>Win+Alt+Space</kbd>.

![cmdpal-pr-002](https://github.com/user-attachments/assets/5077ec04-1009-478a-92d6-0a30989d44ac)
![cmdpal-pr-003](https://github.com/user-attachments/assets/63b4762a-9c19-48eb-9242-18ea48240ba0)

----

This brings the current preview version of CmdPal into the upstream PowerToys repo. There are still lots of bugs to work out, but it's reached the state we're ready to start sharing it with the world. From here, we can further collaborate with the community on the features that are important, and ensuring that we've got a most robust API to enable developers to build whatever extensions they want. 

Most of the built-in PT Run modules have already been ported to CmdPal's extension API. Those include:
* Installed apps
* Shell commands
* File search (powered by the indexer)
* Windows Registry search
* Web search
* Windows Terminal Profiles
* Windows Services
* Windows settings


There are a couple new extensions built-in
* You can now search for packages on `winget` and install them right from the palette. This also powers searching for extensions for the palette
* The calculator has an entirely new implementation. This is currently less feature complete than the original PT Run one - we're looking forward to updating it to be more complete for future ingestion in Windows
* "Bookmarks" allow you to save shortcuts to files, folders, and webpages as top-level commands in the palette. 

We've got a bunch of other samples too, in this repo and elsewhere

### PowerToys specific notes

CmdPal will eventually graduate out of PowerToys to live as its own application, which is why it's implemented just a little differently than most other modules. Enabling CmdPal will install its `msix` package. 

The CI was minorly changed to support CmdPal version numbers independent of PowerToys itself. It doesn't make sense for us to start CmdPal at v0.90, and in the future, we want to be able to rev CmdPal independently of PT itself. 


Closes microsoft#3200, closes microsoft#3600, closes microsoft#7770, closes microsoft#34273, closes microsoft#36471, closes microsoft#20976, closes microsoft#14495
  
  
-----

TODOs et al


**Blocking:**
- [ ] Images and descriptions in Settings and OOBE need to be properly defined, as mentioned before
  - [ ] Niels is on it
- [x] Doesn't start properly from PowerToys unless the fix PR is merged.
  - zadjii-msft#556 merged
- [x] I seem to lose focus a lot when I press on some limits, like between the search bar and the results.
  - This is zadjii-msft#427
- [x] Turned off an extension like Calculator and it was still working.
  - Need to get rid of that toggle, it doesn't do anything currently
- [x] `ListViewModel.<FetchItems>` crash
  - Pretty confident that was fixed in zadjii-msft#553

**Not blocking / improvements:**
- Show the shortcut through settings, as mentioned before, or create a button that would open CmdPalette settings.
- When PowerToys starts, CmdPalette is always shown if enabled. That's weird when just starting PowerToys/ logging in to the computer with PowerToys auto-start activated. I think this should at least be a setting.
- Needing to double press a result for it to do the default action seems quirky. If one is already selected, I think just pressing should be enough for it to do the action.
  - This is currently a setting, though we're thinking of changing the setting even more: zadjii-msft#392
- There's no URI extension. Was surprised when typing a URL that it only proposed a web search.
- [x] There's no System commands extension. Was expecting to be able to quickly restart the computer by typing restart but it wasn't there.
  - This is in PR zadjii-msft#452  
  
---------

Co-authored-by: joadoumie <[email protected]>
Co-authored-by: Jordi Adoumie <[email protected]>
Co-authored-by: Mike Griese <[email protected]>
Co-authored-by: Niels Laute <[email protected]>
Co-authored-by: Michael Hawker <[email protected]>
Co-authored-by: Stefan Markovic <[email protected]>
Co-authored-by: Seraphima <[email protected]>
Co-authored-by: Jaime Bernardo <[email protected]>
Co-authored-by: Kristen Schau <[email protected]>
Co-authored-by: Eric Johnson <[email protected]>
Co-authored-by: Ethan Fang <[email protected]>
Co-authored-by: Yu Leng (from Dev Box) <[email protected]>
Co-authored-by: Clint Rutkas <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Tags don't reset their color when changed back to not having a color

2 participants