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

Window not focused with hyper 3.1.1 #66

Open
2 tasks done
Graham42 opened this issue Jul 22, 2021 · 3 comments
Open
2 tasks done

Window not focused with hyper 3.1.1 #66

Graham42 opened this issue Jul 22, 2021 · 3 comments

Comments

@Graham42
Copy link

  • I am on the latest hyperterm-summon version
  • I have searched the issues of this repo and believe that this is not a duplicate

Issue

Steps to Reproduce

  1. Upgrade to hyper 3.1.1
  2. Open hyper
  3. click away to another window
  4. use summon hotkey to re-open hyper

Expected Result

Focus should go to the terminal for text input.

Actual Result

Focus is somewhere else and text input to the terminal is not possible until clicking into the hyper window

@dcalhoun
Copy link
Collaborator

dcalhoun commented Aug 7, 2021

Thank you for the report. Unfortunately, I do not have an Ubuntu environment to test the plugins against and I do not believe I will have time to debug it soon. If you are willing, you could setup hyperterm-summon to run as a "local" plugin, so that you could modify the source and see the results in your local Hyper.

@Graham42
Copy link
Author

This is still happening with Hyper.app version: 3.1.4
I've also found this happens on my Windows machine.

Using this guide to track element focus, I see that when I summon the terminal, div.terminal.xterm is the active element. And when I click in to the terminal so I can type, the focus changes to textarea.xterm-helper-textarea

@Graham42
Copy link
Author

Experimenting further, this only breaks when I un-summon the window using the hotkey. If I summon, focus the input, then click away and the window hides, then summon again, focus is still on the input.

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

No branches or pull requests

2 participants