Opened 4 years ago

Closed 4 years ago

Last modified 4 years ago

#12106 closed bug (no change required)

[Tracker] non-packaged add-on does not get keyboard shortcut

Reported by: ahwayakchih Owned by: axeld
Priority: normal Milestone: Unscheduled
Component: Applications/Tracker Version: R1/Development
Keywords: add-on, menu, shortcut Cc:
Blocked By: Blocking:
Has a Patch: no Platform: All

Description

I've put add-on into the /boot/home/config/non-packaged/add-ons/Tracker directory. I named it with dash and letter postfix, to make Tracker create keyboard shortcut for it, but Tracker seems to ignore it. That worked long time ago (both on BeOS and Haiku).

For example:

/boot/home/config/non-packaged/add-ons/Tracker/DoTheTrick-A

should make Tracker add menu item "DoTheTrick" with shortcut [cmd][opt]A. It does add menu item, but without a keyboard shortcut.

Attachments (1)

test.zip (3.9 KB) - added by ahwayakchih 4 years ago.

Download all attachments as: .zip

Change History (5)

Changed 4 years ago by ahwayakchih

Attachment: test.zip added

comment:1 Changed 4 years ago by ahwayakchih

Added test application, with code right from the BeBook.

It shows that Tracker passes entry_ref to one of the selected entries, instead of the directory they are located in.

comment:2 Changed 4 years ago by ahwayakchih

Sorry, please disregard my last comment. I uploaded file to wrong ticket, but it still may be helpful to test shortcut bug.

comment:3 Changed 4 years ago by humdinger

Resolution: no change required
Status: newclosed

This has changed with hrev45848. See also ticket #4446.

You can specify in the resource rdef: resource("BEOS:default_shortcut") "A";

comment:4 Changed 4 years ago by ahwayakchih

Thanks! And sorry for taking your time for this.

Note: See TracTickets for help on using tickets.