Skip to content

[Bug]: Unable to open applications with button #268

@kyjones03

Description

@kyjones03

Checklist

  • I have verified this is the correct repository for opening this issue.
  • I have verified no other issues exist related to my problem.
  • I have, to the best of my knowledge, that this isn't an environmental issue (Sorry, we can't help troubleshoot your infrastructure).

Steps to Reproduce

$button = New-BTButton -Content "Go to NotePad++" -Arguments "C:\Program Files\Notepad++\notepad++.exe" -ActivationType Background
New-BurntToastNotification -Text "Try this out" -Button $button

Expected Behavior

What is to be expected is the Toast Notification to appear (which it does), with a button to open NotePad (which is does), and then open NotePad++.

Actual Behavior

Nothing happens when clicking the button outside of the notification disappearing.

Experience with Toast

None

Environment data: PowerShell

Name                           Value
----                           -----
PSVersion                      7.5.2
PSEdition                      Core
GitCommitId                    7.5.2
OS                             Microsoft Windows 10.0.26100
Platform                       Win32NT
PSCompatibleVersions           {1.0, 2.0, 3.0, 4.0…}
PSRemotingProtocolVersion      2.3
SerializationVersion           1.1.0.1
WSManStackVersion              3.0

Environment data: OS

OsName         : Microsoft Windows 11 Enterprise
OsVersion      : 10.0.26100
OsArchitecture : 64-bit

Environment data: BurntToast

Directory: C:\Program Files\WindowsPowerShell\Modules

ModuleType Version    PreRelease Name                                PSEdition ExportedCommands
---------- -------    ---------- ----                                --------- ----------------
Script     1.0.1                 BurntToast                          Desk      {Get-BTHeader, Get-BTHistory, New-BTAction, New-BTAudio…}

Consent to Attribution

  • Please shout me out if I've inspired a blog post!

Metadata

Metadata

Assignees

Labels

status: triageNeed to be assessed for validity and prioritytype: bugSomething isn't working

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions