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

Activate applications and increase delays #541

Merged
merged 2 commits into from
Jun 5, 2024

Conversation

zenangst
Copy link
Owner

@zenangst zenangst commented Jun 5, 2024

Replace static method calls with 'Self' syntax within
AddToStagePlugin to ensure consistency and improve readability.
Improve the logic for activating applications and resolving
running applications to handle asynchronous operations more
reliably. Introduce timeout-based retries for better error
handling and to prevent infinite loops.

refactor: improve app activation sequence for stability

- Increase unhide delay from 0.2s to 0.4s to mitigate race conditions
- Refactor window detection logic to handle missing windows more
  gracefully
- Introduce activateCurrentApplication and activateTargetApplication
  methods for reusable activation logic
- Streamline open application workflow to eliminate redundancy and
  improve maintainability
```
Replace static method calls with 'Self' syntax within 
AddToStagePlugin to ensure consistency and improve readability.
Improve the logic for activating applications and resolving 
running applications to handle asynchronous operations more
reliably. Introduce timeout-based retries for better error 
handling and to prevent infinite loops.
Copy link

github-actions bot commented Jun 5, 2024

@zenangst zenangst merged commit 6a3eb94 into main Jun 5, 2024
2 checks passed
@zenangst zenangst deleted the activate-applications-and-increase-delays branch June 5, 2024 21:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant