Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

can't get Dash in the foreground #3

Closed
godbout opened this issue Jul 17, 2022 · 4 comments
Closed

can't get Dash in the foreground #3

godbout opened this issue Jul 17, 2022 · 4 comments
Labels

Comments

@godbout
Copy link
Owner

godbout commented Jul 17, 2022

not that it really matters. Alfred itself should be used before the Workflow. much faster. but still wanna check out of curiosity. might teach us something about other apps or potential future issues.

@godbout godbout added the to investigate head down label Jul 17, 2022
@godbout
Copy link
Owner Author

godbout commented Jul 18, 2022

issue is that the CG API return an empty title while the AX API returns what's selected in the left sidebar. so the match never happens.

@godbout
Copy link
Owner Author

godbout commented Jul 18, 2022

so probably what needs to happen is we try to match by application pid, window title, size and position.
if there's no title that matches, then we remove this from the predicate and only uses the app pid, window size and position.

@godbout
Copy link
Owner Author

godbout commented Jul 18, 2022

testing on window bounds now if there's no title. Dash shows up.

@godbout
Copy link
Owner Author

godbout commented Jul 19, 2022

@godbout godbout closed this as completed Jul 19, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant