vitorgalvao / alfred-workflows

Collection of Alfred workflows
BSD 3-Clause "New" or "Revised" License
2.44k stars 167 forks source link

RightClick workflow doesn't work properly in icons and gallery views. #121

Closed EugenTarasenko closed 3 years ago

EugenTarasenko commented 3 years ago

Setup info:

Description of issue:

It seems that this workflow doesn't work properly in icons and gallery views. List and column views are ok. But when using icons or gallery views – the context menu of a selected file isn't displayed. Instead of it, the context menu of a current folder is displayed. Is there any way to fix it?

Debugger output:

Icons view:
[07:28:10.228] RightClick[Hotkey] Processing complete
[07:28:10.233] RightClick[Hotkey] Passing output '' to Run Script
[07:28:10.744] RightClick[Run Script] Processing complete
[07:28:10.748] RightClick[Run Script] Passing output 'action AXShowMenu of list 1 of scroll area 1 of splitter group 1 of splitter group 1 of window WALLPAPERS of application process Finder
' to Run Script

List view:
[07:28:19.483] RightClick[Hotkey] Processing complete
[07:28:19.486] RightClick[Hotkey] Passing output '' to Run Script
[07:28:20.021] RightClick[Run Script] Processing complete
[07:28:20.025] RightClick[Run Script] Passing output 'action AXShowMenu of outline 1 of scroll area 1 of splitter group 1 of splitter group 1 of window WALLPAPERS of application process Finder
' to Run Script

Screenshot 2021-01-14 at 07 19 17 Screenshot 2021-01-14 at 07 18 51

vitorgalvao commented 3 years ago

As I said before, Apple has been crippling this functionality for years.

I will take PRs and keep the Workflow up, but I have no desire to spend any more unpaid free time chasing a solution to this particular problem.