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

Preserve Browser Focus on Native App Launch #1

Open
NADOOITChristophBa opened this issue Jan 28, 2024 · 0 comments
Open

Preserve Browser Focus on Native App Launch #1

NADOOITChristophBa opened this issue Jan 28, 2024 · 0 comments

Comments

@NADOOITChristophBa
Copy link
Member

Description:

When the native application (NADOO Whisperer) launches, the current behavior observed on macOS is that the browser window (ChatGPT interaction window) loses focus, potentially leading to a disrupted user experience. The goal is to maintain the browser's focus or promptly refocus it after the native app launches, ensuring a seamless transition for users who are interacting with ChatGPT and then use the NADOO Whisperer app.

Expected Behavior:
The browser window should either maintain its focus or be programmatically refocused immediately after the NADOO Whisperer app launches. This behavior ensures that the user's interaction with the ChatGPT interface remains uninterrupted, enhancing the overall user experience.

Current Behavior:
Upon the launch of the NADOO Whisperer app, the browser window loses focus. This disrupts the user's workflow as they need to manually click on the browser window to regain focus and continue their interaction with ChatGPT.

Possible Solutions:

Use AppleScript to programmatically refocus the browser window after the native app launches.
Ensure the native app does not automatically take focus when it launches, possibly by adjusting window initialization settings.
Configure the native app to run as a background/agent application, preventing it from taking focus upon launch.
Challenges & Considerations:

Implementing these solutions may involve navigating macOS's security and focus management policies, which can be restrictive.
The solution should be thoroughly tested across different browser types and macOS versions to ensure compatibility and a smooth user experience.
User settings or preferences might be introduced to enable/disable this behavior, providing flexibility based on individual user needs or system configurations.
Steps to Reproduce:

Interact with ChatGPT in the browser.
Trigger the NADOO Whisperer app to launch.
Observe that the browser window loses focus.
Additional Context:
This feature aims to enhance the integration between the NADOO Whisperer native app and the ChatGPT web interface, providing a more intuitive and uninterrupted workflow for the user.

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

No branches or pull requests

1 participant