Skip to content

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

Closed

Description

@mathmul

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.

Activity

  1. lencx commented on Feb 23, 2024

    @lencx
    Owner

    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

  2. mathmul commented on Feb 23, 2024

    @mathmul
    Author

    Thanks for replying and your awesome app

  3. added
    bug
    enhancement
    and removed
    bug
    on Mar 22, 2024
  4. lencx commented on Mar 25, 2024

    @lencx
    Owner

    Please download v0.4.0

  5. mathmul commented on Apr 4, 2024

    @mathmul
    Author

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

  6. shoizf commented on Mar 10, 2026

    @shoizf

    Just wanted to bump this and confirm it is still an active bug.

    Steps: Click the prompt box -> switch to another app -> switch back to Noi -> The input field has completely lost focus. It requires reaching for the mouse to click the box and re-activate edit mode, which breaks the typing flow.

    Environment: Windows 11 (HP Victus 16)
    Noi (Machine) version: v1.1.0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancement

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions