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

Loss of Focus in Prompt Input Field after Alt+Tab Switching #60

Closed
mathmul opened this issue Feb 23, 2024 · 4 comments
Closed

Loss of Focus in Prompt Input Field after Alt+Tab Switching #60

mathmul opened this issue Feb 23, 2024 · 4 comments
Labels
enhancement New feature or request

Comments

@mathmul
Copy link

mathmul commented Feb 23, 2024

Not sure if any of the issues written in Chinese already talk about this, and I'm sorry if they are.

Issue

The prompt input field doesn't retain focus in the site opened in Noi even after using Alt+Tab to switch between windows and back.

Expected result:

The prompt input field should retain focus in the site opened in Noi even after using Alt+Tab to switch between windows and back.

Steps to reproduce:

  • Have at least one other window opened next to Noi
  • Go to Noi
  • Open "AI > ChatGPT"
  • Click in the prompt input (textarea) field to get it focus
  • Press Alt+Tab to put the other window in focus, effectively blurring (a CSS term) Noi
  • Press Alt+Tab again to get back to Noi
  • Notice the prompt input field is no longer in focus

Note: I have tried with Gemini Advanced (Bard renamed) and Poe as well and the results are the same.

Further explanation

It's a problem when you're copying text from another window, or in my case, I use Ditto Clipboard Manager and when I use the shortcut that opens a list of everything recently copied and select whatever I want to paste, it doesn't paste it because the prompt are has lost focus, and I then have to reach out for the mouse to click in this area, so I can Ctrl+V again once the text/image selected for pasting is once more at the top of my clipboard.

@lencx
Copy link
Owner

lencx commented Feb 23, 2024

This issue will be fixed in the next version, where the input field will automatically gain focus when returning to the Noi main window.
#41

@mathmul
Copy link
Author

mathmul commented Feb 23, 2024

Thanks for replying and your awesome app

@lencx lencx added bug Something isn't working enhancement New feature or request and removed bug Something isn't working labels Mar 22, 2024
@lencx
Copy link
Owner

lencx commented Mar 25, 2024

Please download v0.4.0

@lencx lencx closed this as completed Mar 25, 2024
@mathmul
Copy link
Author

mathmul commented Apr 4, 2024

Confirming the issue has been resolved. Thank you lencx <3

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants