-
-
Notifications
You must be signed in to change notification settings - Fork 32
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
WebSSH losing focus on MacOS, keyboard isn't responding anymore. #1025
Comments
Seems a duplicate of #812 Lot of users are encountering this problem 😓 A workaround is to click down on the terminal in order to gain focus again |
I've noticed that the problem always occurs when the app runs in fullscreen mode. However, when the app runs in a window, the problem either doesn't occur or is significantly less frequent. |
Thank you so much @frepke for this information. Many thanks again! |
From in_sympathy on the App Store |
No, not always. But the problem occurs frequently, even if the application is not in full screen, and I switch between desktops through Mission Control... |
At the same time, I noticed that the arrow keys on the keyboard work. I thought it might be related to switching the language layout, but this problem occurs even without changing the language. |
Thanks @MKC-MKC I will work on it in a couple of days |
I'm trying to reproduce the trouble but it doesn't occur in fullscreen mode on my MBA / Sonoma Are you using multiple ssh terminals on the sidebar? |
Hi Isontheline, No, there's only one terminal open on the sidebar. |
Hi @frepke 👋 Many thanks for your feedback! I'm continuing to try to reproduce. Hope it will be fixed asap. |
Can confirm this is happening to me - super annoying. Whenever the app loses focus, and the cursor goes to another window, the cursor on the terminal stops blinking. Then it takes no keyboard input. It takes about 2-3 seconds to come back up, sometimes never. No other terminal is on. Happens on a consistent manner. I’m on iPadOS. Magic Keyboard and Mouse. This occurs especially more when i’m split windowing also and the mouse loses focus a lot. This is not happening on other terminal apps (termius, etc). I know you’re finding this difficult to debug, but it’s the only thing that really is keeping this app from standing out from the rest. I supported and bought out the app, so hopefully this can get resolved, since this is almost unusable in this state. |
Thanks for reporting to me @nothingto What happens if you tap on the « keyboard » icon on the navigation bar? |
@isontheline Although there is another bug. When the keyboard icon is pressed, it also HOGS/controls all ownership of input even across other windows that are not the terminal (safari, etc) especially if they’re split windows. So the behavior when the keyboard icon gets clicked is it steals input from other windows, so you’re not able to type, and it also takes back control of focus from other apps. In the end, still unuseable but from a different perspective/angle where the tables get flipped. Possible solution: 1.) When WebSSH sees that it is focused, automatically turn keyboard on (then it can be toggleable to be off), when it sees that the focus is lost, turn off the keyboard focus state regardless of whether the existing state was on/off. It then reinses and repeats the state and turns on/off the keyboard by default based on focus. I will note though that in fullscreen single app mode, this works as normal when keyboard is pressed. However, this is often never the case since you’re either looking at documentation within split screen mode/floating mode/etc and at multiple windows (stage manager, etc). So keyboard toggling and then taking/stealing ownership of input focus is still not intended behavior (or i hope not 😉 ) Given that this issue is macOS only, this is however also the case with iPadOS/iOS as well since i’m using this on iPadOS. This issue will need to be refocused for all platforms. |
Thanks for your strong feedback @nothingto 🙏
Definitively yes. |
From Elrick :
|
Any update about this very annoying issue? |
No update. Will try again to work on it at end of holiday |
@frepke When the issue comes up, does WebSSH have only one tab (or multiple or multiple windows)? |
Only one tab is used. |
Thank you @frepke Have you some time to test WebSSH 27.2.1378 ? |
Yes, will do. I'll report back as soon I've my results. |
Bug description
WebSSH losing focus on MacOS, keyboard isn't responding anymore when re-enter the app. Sometimes a paste-command (command+v) helps, but when pasting a command with an enter at the end....
Screenshots
If applicable, add screenshots to help explain your problem
Steps to reproduce
The text was updated successfully, but these errors were encountered: