File > Open works again: the hook finds the dialog DLL beside itself (FP-5) #11
No reviewers
Labels
No labels
bug
documentation
duplicate
enhancement
good first issue
help wanted
invalid
question
queue
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
romaine-life/fzt-picker!11
Loading…
Reference in a new issue
No description provided.
Delete branch "fp-5-dialog-dll-beside-hook"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
PR 1 of 1: fixes File > Open silently cancelling (https://openproject.romaine.life/wp/FP-5).
The hook looked for
fzt_picker_frontend.dllonly in~\binand the dev checkout'sfrontend\cgo. Releases install it beside the hook inC:\Program Files\at-home\fzt-picker\<tag>, and neither old path exists on nelsonpc, so every hooked File > Open came back cancelled with no dialog.picker.logshows it for real apps. The hook now looks only in its own folder, which is the one place a release puts the DLL. Removed: both old paths.Also adds the hidden-desktop hook test (
tools/hidden-desktop/hook_test.py, documented in TESTING.md), which found this, and runs the hook's unit tests in CI.Tested before merge: the unit tests, and the hook test on a hidden desktop. The installed hook fails with
not found, while the new one, built locally, reports looking in its own folder. The full dialog needs the CI-built Go DLL beside the hook, so it gets the same hook test on the release. Apps already running keep the hook they loaded until they restart.