Skip to content

Command Palette crashes when a gallery extension manifest omits the optional homepage field #48917

Description

@ScymicX

Microsoft PowerToys version

0.100.1

Installation method

GitHub

Area(s) with issue?

Command Palette

Steps to reproduce

  1. Install or build PowerToys with Command Palette enabled.
  2. Add a gallery extension whose extension.json does not contain a homepage field.
  3. Open Command Palette.
  4. Open the extension gallery.

For example, the Game Library Dock extension manifest previously omitted the homepage property.

✔️ Expected Behavior

Command Palette should handle a missing homepage field gracefully.

The homepage link can be hidden or left empty, but opening the gallery should not crash Command Palette.

❌ Actual Behavior

Due to a crash when opening the extension from the gallery:

[18:12:45.4391623] [Error] GlobalErrorHandler.cs::HandleException::69 System.ArgumentException: De parameter is onjuist.
   at ExtensionGalleryItemPage_obj1_Bindings.Update_ViewModel_Homepage(String, Int32) @ @

Upload Bug Report ZIP-file

No response

Additional Information

  • OS version: Windows 11, build 26200.8655
  • CmdPal v0.11.117.33
  • .NET runtimes installed:
    • Microsoft.NETCore.App: 6.0.36, 8.0.28, 9.0.17, 10.0.9
    • Microsoft.WindowsDesktop.App: 6.0.36, 8.0.28, 9.0.17, 10.0.9
  • System language: nl-NL
  • Installation scope: Per-user installation
  • Running as administrator: Unknown

I fixed the affected gallery manifest by adding a homepage URL:
microsoft/CmdPal-Extensions#99

Other Software

No external software is required to reproduce this issue.

The crash was triggered while loading the Command Palette Gallery entry for the Game Library Dock extension. Its extension.json did not contain the optional homepage property.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Issue-BugSomething isn't workingNeeds-TriageFor issues raised to be triaged and prioritized by internal Microsoft teamsProduct-Command PaletteRefers to the Command Palette utility

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions