Opened 3 years ago

Closed 3 years ago

#17447 closed bug (invalid)

problems with notify (BNotification)

Reported by: thaflo Owned by: pulkomandy
Priority: normal Milestone: Unscheduled
Component: Servers/notification_server Version: R1/beta3
Keywords: Cc:
Blocked By: Blocking:
Platform: x86-64

Description

notify --help puts out some options to add to a notification But following does not work here:

notify "Click me to open the Clock App" --OnClickApp "application/x-vnd.Haiku-Clock"

or

notify "Click this to open a file" --OnClickFile "/boot/home/Desktop/test.txt" 

Change History (3)

comment:1 by pulkomandy, 3 years ago

Last edited 3 years ago by pulkomandy (previous) (diff)

comment:2 by augiedoggie, 3 years ago

You need to change the command so that the options come before the message and start with a lowercase letter(onClickApp/onClickFile).

notify --onClickApp "application/x-vnd.Haiku-Clock" "Click me to open the Clock App"

or

notify --onClickFile "/boot/home/Desktop/test.txt" "Click this to open a file"

comment:3 by humdinger, 3 years ago

Resolution: invalid
Status: newclosed

Maybe the parameter compares should be case insensitive to at least avoid needlessly erroring on such typos?

Note: See TracTickets for help on using tickets.