isontheline / pro.webssh.net

iOS / iPadOS / macOS SSH Client
https://apps.apple.com/us/app/id497714887
MIT License
316 stars 46 forks source link

WebSSH losing focus on MacOS, keyboard isn't responding anymore. #1025

Open frepke opened 10 months ago

frepke commented 10 months ago

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

  1. open WebSSH
  2. Leave WebSSH and use another app
  3. Re-enter WebSSH
  4. Error is thrown (most of the time)
isontheline commented 10 months ago

Seems a duplicate of https://github.com/isontheline/pro.webssh.net/issues/812

Lot of users are encountering this problem 😓

A workaround is to click down on the terminal in order to gain focus again

isontheline commented 10 months ago

For @isontheline work :

frepke commented 10 months ago

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.

isontheline commented 10 months ago

Thank you so much @frepke for this information. I will so try to reproduce and fix this bug when WebSSH is in fullscreen mode.

Many thanks again!

isontheline commented 9 months ago

2) currently I constatnly experience a weird bug with my Pi 5 - WebSSH on a Mac constantly stops accepting text input from keyboard, though reacts to Ctrl C combination. I also managed to find out that it mostly happens when WebSSH is in full screen mode and pressing Cmd Ctrl F to exit full screen on a Mac brings text input back to life. And it mostly happens whenever I switch from WebSSH window to some other app and then get back to WebSSH.

From in_sympathy on the App Store

MKC-MKC commented 9 months ago

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.

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...

MKC-MKC commented 9 months ago

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.

isontheline commented 9 months ago

Thanks @MKC-MKC

I will work on it in a couple of days

isontheline commented 8 months ago

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? Does a clic on your session on the sidebar resolves the focus issue?

frepke commented 8 months ago

Hi Isontheline,

No, there's only one terminal open on the sidebar. Sometimes the focus issue isn't there with some attempts, a bit later it's suddenly there. Clicking on the sidebars session will resolve the problem most of the time, sometimes clicking in the terminal venster is the solution. In the passed I had to use command+V

isontheline commented 8 months ago

Hi @frepke 👋

Many thanks for your feedback!

I'm continuing to try to reproduce.

Hope it will be fixed asap.

nothingto commented 7 months ago

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.

isontheline commented 7 months ago

Thanks for reporting to me @nothingto I understand that it’s very annoying.

What happens if you tap on the « keyboard » icon on the navigation bar? Does the focus remain?

nothingto commented 7 months ago

Thanks for reporting to me @nothingto I understand that it’s very annoying.

What happens if you tap on the « keyboard » icon on the navigation bar? Does the focus remain?

@isontheline Yes! That’s it! Although, this needs to be patched up because it does not make intuitive sense for this to not be the default state when the mouse cursor or a finger tap to the terminal event happens.

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.

isontheline commented 7 months ago

Thanks for your strong feedback @nothingto 🙏

This issue will need to be refocused for all platforms.

Definitively yes. I will work on it as soon as I can, no ETA yet. High in my todo list, I promise

isontheline commented 7 months ago

From Elrick :

This bug is not specific to the beta as the current stable has the same issue. On Mac OS when you swipe away from WebSSH to a full screen app and then back to WebSSH, you can't type in the terminal right away.

frepke commented 4 months ago

Any update about this very annoying issue?

isontheline commented 4 months ago

No update. => little to no reproducible when debugger is attached from Xcode to WebSSH But reproducible "easily" when launched as standalone.

Will try again to work on it at end of holiday

isontheline commented 4 months ago

@frepke When the issue comes up, does WebSSH have only one tab (or multiple or multiple windows)?

frepke commented 4 months ago

@frepke When the issue comes up, does WebSSH have only one tab (or multiple or multiple windows)?

Only one tab is used.

isontheline commented 4 months ago

Thank you @frepke

Have you some time to test WebSSH 27.2.1378 ? https://testflight.apple.com/join/QSrBK59z

frepke commented 4 months ago

Yes, will do. I'll report back as soon I've my results.

frepke commented 3 months ago

Unfortunately the problem is not solved :(

isontheline commented 3 months ago

@frepke Thanks for your feedback 🙏

Whenever possible I would like the verbose logs when the trouble appears as I've added some logs in 27.2.1378, I'm looking for warnings about focus / scene

frepke commented 3 months ago

Saving scenes sessions to database Saving (pushAllowed == 0) object E007E433-D70E-4249-A6D4-1B1791388677 to local database Saving (pushAllowed == 0) object FC89E8D9-3CC3-40A9-A910-5A88EDD62AB1 to local database

isontheline commented 3 months ago

Thanks @frepke

Are there any about "End editing is not allowed on scene XYZ"?

frepke commented 3 months ago

Thanks @frepke

Are there any about "End editing is not allowed on scene XYZ"?

End editing is not allowed on scene 3E74A9E3-49ED-46CA-B14A-F9E33CB2886A

frepke commented 3 months ago

This is the complete log


[2024-07-22 20:42:55 +0000] [DEBUG] Launching Data Migration...
[2024-07-22 20:42:55 +0000] [DEBUG] Checking if settings need to be migrated...
[2024-07-22 20:42:55 +0000] [DEBUG] Data Migration Done!
[2024-07-22 20:42:55 +0000] [DEBUG] Launching Vacuum on the local database...
[2024-07-22 20:42:55 +0000] [DEBUG] 0 objects have been vacuumed
[2024-07-22 20:42:55 +0000] [VERBOSE] Performing vacuum on old deleted iCloud objects...
[2024-07-22 20:42:55 +0000] [VERBOSE] Will notify when setting 'WEBSSH_HOME_SCREEN_QUICK_ACTIONS_STRATEGY' will change
[2024-07-22 20:42:55 +0000] [VERBOSE] Will notify when setting 'WEBSSH_HOME_SCREEN_QUICK_ACTIONS_MASHREPL' will change
[2024-07-22 20:42:55 +0000] [VERBOSE] Will notify when setting 'WEBSSH_HOME_SCREEN_QUICK_ACTIONS_PING' will change
[2024-07-22 20:42:55 +0000] [VERBOSE] Will notify when setting 'WEBSSH_HOME_SCREEN_QUICK_ACTIONS_WEBBROWSER' will change
[2024-07-22 20:42:55 +0000] [VERBOSE] Will notify when setting 'WEBSSH_HOME_SCREEN_QUICK_ACTIONS_FAVORITE_SERVERS' will change
[2024-07-22 20:42:55 +0000] [INFO] WebSSH Engine started with success
[2024-07-22 20:42:55 +0000] [DEBUG] Application did become active
[2024-07-22 20:42:55 +0000] [DEBUG] No pin code set. WebSSH won't be locked.
[2024-07-22 20:42:55 +0000] [DEBUG] Device language : en
[2024-07-22 20:42:55 +0000] [DEBUG] Language bundle is not loaded. Will load this bundle : en
[2024-07-22 20:42:55 +0000] [VERBOSE] Adding DNS Resolver Address 94.140.14.140 : IPv4 address
[2024-07-22 20:42:55 +0000] [VERBOSE] Adding DNS Resolver Address 94.140.14.141 : IPv4 address
[2024-07-22 20:42:55 +0000] [VERBOSE] Skipping DNS Resolver Address 2a10:50c0::2:ff : IPv6 address
[2024-07-22 20:42:55 +0000] [VERBOSE] SavedConnectionListViewController::viewDidLoad::SERVER
[2024-07-22 20:42:55 +0000] [VERBOSE] Will notify when setting 'WEBSSH_SETTING_CONNECTION_LIST_ROW_DETAILS' will change
[2024-07-22 20:42:55 +0000] [DEBUG] WebSSH should be locked after delay (secs) : 3600
[2024-07-22 20:42:55 +0000] [VERBOSE] No objects to be vacuumed on iCloud.
[2024-07-22 20:42:56 +0000] [VERBOSE] Fetching from iCloud with a change token
[2024-07-22 20:42:56 +0000] [VERBOSE] Updating host statuses...
[2024-07-22 20:42:56 +0000] [VERBOSE] Host 127.0.0.1:22 changed. Is up : 1
[2024-07-22 20:42:56 +0000] [VERBOSE] Host raspberrypi.local:22 changed. Is up : 1
[2024-07-22 20:42:56 +0000] [VERBOSE] Host 10.54.1.10:22 changed. Is up : 1
[2024-07-22 20:42:56 +0000] [VERBOSE] Updating of host statuses done.
[2024-07-22 20:42:56 +0000] [VERBOSE] Need to refresh hosts list because at least one host status have been updated
[2024-07-22 20:42:56 +0000] [VERBOSE] Fresh requested for connection list...
[2024-07-22 20:42:56 +0000] [VERBOSE] iCloud data fetched with success.
[2024-07-22 20:42:57 +0000] [VERBOSE] Saving scenes sessions to database
[2024-07-22 20:42:57 +0000] [VERBOSE] Saving (pushAllowed == 0) object F73754F9-79BE-432C-A78E-5F2A4D928F88 to local database
[2024-07-22 20:42:57 +0000] [VERBOSE] Updating host statuses...
[2024-07-22 20:42:57 +0000] [VERBOSE] Updating of host statuses done.
[2024-07-22 20:43:11 +0000] [VERBOSE] IAP already purchased (iCloud) : com.webssh.pro.unlimited
[2024-07-22 20:43:11 +0000] [VERBOSE] Fetching from iCloud with a change token
[2024-07-22 20:43:11 +0000] [VERBOSE] iCloud data fetched with success.
[2024-07-22 20:43:13 +0000] [VERBOSE] Saving scenes sessions to database
[2024-07-22 20:43:13 +0000] [VERBOSE] Saving (pushAllowed == 0) object EEDAFF64-4D60-45FA-9ED9-B5B5BC5D5D7D to local database
[2024-07-22 20:43:17 +0000] [VERBOSE] Updating host statuses...
[2024-07-22 20:43:17 +0000] [VERBOSE] Updating of host statuses done.
[2024-07-22 20:43:26 +0000] [VERBOSE] Fetching from iCloud with a change token
[2024-07-22 20:43:26 +0000] [VERBOSE] iCloud data fetched with success.
[2024-07-22 20:43:33 +0000] [VERBOSE] Saving scenes sessions to database
[2024-07-22 20:43:33 +0000] [VERBOSE] Saving (pushAllowed == 0) object EEDAFF64-4D60-45FA-9ED9-B5B5BC5D5D7D to local database
[2024-07-22 20:43:37 +0000] [VERBOSE] Updating host statuses...
[2024-07-22 20:43:37 +0000] [VERBOSE] Updating of host statuses done.
[2024-07-22 20:43:41 +0000] [VERBOSE] Fetching from iCloud with a change token
[2024-07-22 20:43:41 +0000] [VERBOSE] iCloud data fetched with success.
[2024-07-22 20:43:48 +0000] [DEBUG] No custom SSH Config File will overwrite this connection settings
[2024-07-22 20:43:48 +0000] [VERBOSE] Launching connection (SSH)...
[2024-07-22 20:43:48 +0000] [VERBOSE] Resolving '10.54.1.10'...
[2024-07-22 20:43:48 +0000] [VERBOSE] Resolved address is : 10.54.1.10
[2024-07-22 20:43:48 +0000] [DEBUG] Connecting to SSH...
[2024-07-22 20:43:48 +0000] [VERBOSE] Launching connection with block...
[2024-07-22 20:43:48 +0000] [VERBOSE] Won't dismiss prompt because no one is displayed.
[2024-07-22 20:43:48 +0000] [DEBUG] IP Strategy is set to 'ipv4'. Does IPv6 is prefered over IPv4? => 0
[2024-07-22 20:43:48 +0000] [DEBUG] No SOCKS Tunnel launched. SSH connection will be established without any SOCKS hostname.
[2024-07-22 20:43:48 +0000] [DEBUG] Connected to : 10.54.1.10 (10.54.1.10)
[2024-07-22 20:43:48 +0000] [DEBUG] Authentication using login/password
[2024-07-22 20:43:48 +0000] [VERBOSE] Saving scenes sessions to database
[2024-07-22 20:43:48 +0000] [VERBOSE] Saving (pushAllowed == 0) object F73754F9-79BE-432C-A78E-5F2A4D928F88 to local database
[2024-07-22 20:43:49 +0000] [VERBOSE] Connecting with terminal type 'xterm-256color' and size : 80x24
[2024-07-22 20:43:49 +0000] [VERBOSE] Launching check data notifier
[2024-07-22 20:43:49 +0000] [DEBUG] Dismissing prompt...
[2024-07-22 20:43:50 +0000] [DEBUG] Is now connected to SSH, displaying terminal
[2024-07-22 20:43:51 +0000] [DEBUG] [HeadlessTerminal] Headless Terminal is loading...
[2024-07-22 20:43:51 +0000] [DEBUG] [HeadlessTerminal] Headless Terminal is now loaded
[2024-07-22 20:43:51 +0000] [VERBOSE] (
)
[2024-07-22 20:43:51 +0000] [DEBUG] Loading Xterm.js terminal...
[2024-07-22 20:43:51 +0000] [VERBOSE] MobileTerminalViewController will appear on scene '3E74A9E3-49ED-46CA-B14A-F9E33CB2886A'
[2024-07-22 20:43:51 +0000] [DEBUG] Xterm.js terminal WKWebView has been successfully loaded
[2024-07-22 20:43:51 +0000] [VERBOSE] Want to show / hide keyboard. Current (0) / Will (1)
[2024-07-22 20:43:51 +0000] [VERBOSE] Did begin edit on scene '3E74A9E3-49ED-46CA-B14A-F9E33CB2886A', will place accessory form
[2024-07-22 20:43:52 +0000] [VERBOSE] Sent window resizing (241 x 60) request with success
[2024-07-22 20:43:52 +0000] [VERBOSE] Want to show / hide keyboard. Current (0) / Will (1)
[2024-07-22 20:43:53 +0000] [VERBOSE] Received a screen tap. Will swipe keyboard visibility.
[2024-07-22 20:43:53 +0000] [DEBUG] End editing is not allowed on scene 3E74A9E3-49ED-46CA-B14A-F9E33CB2886A
[2024-07-22 20:43:53 +0000] [DEBUG] End editing is not allowed on scene 3E74A9E3-49ED-46CA-B14A-F9E33CB2886A
[2024-07-22 20:43:53 +0000] [DEBUG] End editing is not allowed on scene 3E74A9E3-49ED-46CA-B14A-F9E33CB2886A
[2024-07-22 20:43:53 +0000] [DEBUG] End editing is not allowed on scene 3E74A9E3-49ED-46CA-B14A-F9E33CB2886A
[2024-07-22 20:43:53 +0000] [DEBUG] End editing is not allowed on scene 3E74A9E3-49ED-46CA-B14A-F9E33CB2886A
[2024-07-22 20:43:53 +0000] [DEBUG] End editing is not allowed on scene 3E74A9E3-49ED-46CA-B14A-F9E33CB2886A
[2024-07-22 20:43:53 +0000] [VERBOSE] Want to show / hide keyboard. Current (0) / Will (1)
[2024-07-22 20:43:54 +0000] [VERBOSE] Init key commands...
[2024-07-22 20:43:54 +0000] [VERBOSE] Init key commands [DONE]
[2024-07-22 20:43:55 +0000] [DEBUG] Want to set title from terminal sequence
[2024-07-22 20:43:56 +0000] [VERBOSE] Fetching from iCloud with a change token
[2024-07-22 20:43:56 +0000] [VERBOSE] iCloud data fetched with success.
[2024-07-22 20:43:58 +0000] [DEBUG] Application will resign active
[2024-07-22 20:43:58 +0000] [VERBOSE] Application will resign active with one or several terminals
[2024-07-22 20:43:58 +0000] [VERBOSE] Saving keyboard opened state
[2024-07-22 20:43:58 +0000] [DEBUG] Will end edit on scene 3E74A9E3-49ED-46CA-B14A-F9E33CB2886A
[2024-07-22 20:44:04 +0000] [DEBUG] Application did become active
[2024-07-22 20:44:04 +0000] [DEBUG] Can't lock WebSSH because delay not elapsed : 6 < 3600
[2024-07-22 20:44:04 +0000] [VERBOSE] Application is now active with one or several terminals
[2024-07-22 20:44:04 +0000] [VERBOSE] Making focus on textfield
[2024-07-22 20:44:04 +0000] [VERBOSE] Did begin edit on scene '3E74A9E3-49ED-46CA-B14A-F9E33CB2886A', will place accessory form
[2024-07-22 20:44:08 +0000] [DEBUG] Application will resign active
[2024-07-22 20:44:08 +0000] [VERBOSE] Application will resign active with one or several terminals
[2024-07-22 20:44:08 +0000] [VERBOSE] Saving keyboard opened state
[2024-07-22 20:44:09 +0000] [DEBUG] End editing is not allowed on scene 3E74A9E3-49ED-46CA-B14A-F9E33CB2886A
[2024-07-22 20:44:11 +0000] [VERBOSE] Fetching from iCloud with a change token
[2024-07-22 20:44:11 +0000] [VERBOSE] iCloud data fetched with success.
[2024-07-22 20:44:15 +0000] [DEBUG] Application did become active
[2024-07-22 20:44:15 +0000] [DEBUG] Can't lock WebSSH because delay not elapsed : 6 < 3600
[2024-07-22 20:44:15 +0000] [VERBOSE] Application is now active with one or several terminals
[2024-07-22 20:44:15 +0000] [VERBOSE] Making focus on textfield
[2024-07-22 20:44:21 +0000] [DEBUG] Application will resign active
[2024-07-22 20:44:21 +0000] [VERBOSE] Application will resign active with one or several terminals
[2024-07-22 20:44:21 +0000] [VERBOSE] Saving keyboard opened state
[2024-07-22 20:44:21 +0000] [DEBUG] End editing is not allowed on scene 3E74A9E3-49ED-46CA-B14A-F9E33CB2886A
[2024-07-22 20:44:26 +0000] [VERBOSE] Fetching from iCloud with a change token
[2024-07-22 20:44:26 +0000] [VERBOSE] iCloud data fetched with success.
[2024-07-22 20:44:36 +0000] [DEBUG] Application did become active
[2024-07-22 20:44:36 +0000] [DEBUG] Can't lock WebSSH because delay not elapsed : 14 < 3600
[2024-07-22 20:44:36 +0000] [VERBOSE] Application is now active with one or several terminals
[2024-07-22 20:44:36 +0000] [VERBOSE] Making focus on textfield
[2024-07-22 20:44:41 +0000] [VERBOSE] Fetching from iCloud with a change token
[2024-07-22 20:44:41 +0000] [VERBOSE] iCloud data fetched with success.
[2024-07-22 20:44:45 +0000] [DEBUG] Application will resign active
[2024-07-22 20:44:45 +0000] [VERBOSE] Application will resign active with one or several terminals
[2024-07-22 20:44:45 +0000] [VERBOSE] Saving keyboard opened state
[2024-07-22 20:44:45 +0000] [DEBUG] End editing is not allowed on scene 3E74A9E3-49ED-46CA-B14A-F9E33CB2886A
[2024-07-22 20:44:56 +0000] [VERBOSE] Fetching from iCloud with a change token
[2024-07-22 20:44:56 +0000] [VERBOSE] iCloud data fetched with success.
[2024-07-22 20:45:04 +0000] [DEBUG] Application did become active
[2024-07-22 20:45:04 +0000] [DEBUG] Can't lock WebSSH because delay not elapsed : 19 < 3600
[2024-07-22 20:45:04 +0000] [VERBOSE] Application is now active with one or several terminals
[2024-07-22 20:45:04 +0000] [VERBOSE] Making focus on textfield
[2024-07-22 20:45:11 +0000] [VERBOSE] Fetching from iCloud with a change token
[2024-07-22 20:45:11 +0000] [VERBOSE] iCloud data fetched with success.
[2024-07-22 20:45:26 +0000] [VERBOSE] Fetching from iCloud with a change token
[2024-07-22 20:45:26 +0000] [VERBOSE] iCloud data fetched with success.
[2024-07-22 20:45:41 +0000] [VERBOSE] Fetching from iCloud with a change token
[2024-07-22 20:45:41 +0000] [VERBOSE] iCloud data fetched with success.
[2024-07-22 20:45:56 +0000] [VERBOSE] Fetching from iCloud with a change token
[2024-07-22 20:45:56 +0000] [VERBOSE] iCloud data fetched with success.
[2024-07-22 20:46:11 +0000] [VERBOSE] Fetching from iCloud with a change token
[2024-07-22 20:46:11 +0000] [VERBOSE] iCloud data fetched with success.
[2024-07-22 20:46:26 +0000] [VERBOSE] Fetching from iCloud with a change token
[2024-07-22 20:46:26 +0000] [VERBOSE] iCloud data fetched with success.
[2024-07-22 20:46:34 +0000] [DEBUG] Application will resign active
[2024-07-22 20:46:34 +0000] [VERBOSE] Application will resign active with one or several terminals
[2024-07-22 20:46:34 +0000] [VERBOSE] Saving keyboard opened state
[2024-07-22 20:46:34 +0000] [DEBUG] End editing is not allowed on scene 3E74A9E3-49ED-46CA-B14A-F9E33CB2886A
[2024-07-22 20:46:37 +0000] [DEBUG] Application did become active
[2024-07-22 20:46:37 +0000] [DEBUG] Can't lock WebSSH because delay not elapsed : 2 < 3600
[2024-07-22 20:46:37 +0000] [VERBOSE] Application is now active with one or several terminals
[2024-07-22 20:46:37 +0000] [VERBOSE] Making focus on textfield
[2024-07-22 20:46:41 +0000] [VERBOSE] Fetching from iCloud with a change token
[2024-07-22 20:46:41 +0000] [VERBOSE] iCloud data fetched with success.
[2024-07-22 20:46:56 +0000] [VERBOSE] Fetching from iCloud with a change token
[2024-07-22 20:46:56 +0000] [VERBOSE] iCloud data fetched with success.
[2024-07-22 20:47:10 +0000] [DEBUG] Application will resign active
[2024-07-22 20:47:10 +0000] [VERBOSE] Application will resign active with one or several terminals
[2024-07-22 20:47:10 +0000] [VERBOSE] Saving keyboard opened state
[2024-07-22 20:47:10 +0000] [DEBUG] End editing is not allowed on scene 3E74A9E3-49ED-46CA-B14A-F9E33CB2886A
[2024-07-22 20:47:11 +0000] [VERBOSE] Fetching from iCloud with a change token
[2024-07-22 20:47:11 +0000] [VERBOSE] iCloud data fetched with success.
[2024-07-22 20:47:26 +0000] [VERBOSE] Fetching from iCloud with a change token
[2024-07-22 20:47:26 +0000] [VERBOSE] iCloud data fetched with success.
[2024-07-22 20:47:41 +0000] [VERBOSE] Fetching from iCloud with a change token
[2024-07-22 20:47:41 +0000] [VERBOSE] iCloud data fetched with success.
[2024-07-22 20:47:46 +0000] [DEBUG] Application did become active
[2024-07-22 20:47:46 +0000] [DEBUG] Can't lock WebSSH because delay not elapsed : 35 < 3600
[2024-07-22 20:47:46 +0000] [VERBOSE] Application is now active with one or several terminals
[2024-07-22 20:47:46 +0000] [VERBOSE] Making focus on textfield
[2024-07-22 20:47:56 +0000] [VERBOSE] Fetching from iCloud with a change token
[2024-07-22 20:47:56 +0000] [VERBOSE] iCloud data fetched with success.
[2024-07-22 20:47:57 +0000] [VERBOSE] Received a screen tap. Will swipe keyboard visibility.
[2024-07-22 20:47:58 +0000] [VERBOSE] Want to show / hide keyboard. Current (0) / Will (1)
[2024-07-22 20:48:05 +0000] [VERBOSE] IAP already purchased (iCloud) : com.webssh.pro.unlimited
[2024-07-22 20:48:11 +0000] [VERBOSE] Fetching from iCloud with a change token
[2024-07-22 20:48:11 +0000] [VERBOSE] iCloud data fetched with success.
[2024-07-22 20:48:15 +0000] [DEBUG] Application will resign active
[2024-07-22 20:48:15 +0000] [VERBOSE] Application will resign active with one or several terminals
[2024-07-22 20:48:15 +0000] [VERBOSE] Saving keyboard opened state
[2024-07-22 20:48:16 +0000] [DEBUG] End editing is not allowed on scene 3E74A9E3-49ED-46CA-B14A-F9E33CB2886A
[2024-07-22 20:48:20 +0000] [DEBUG] Application did become active
[2024-07-22 20:48:20 +0000] [DEBUG] Can't lock WebSSH because delay not elapsed : 4 < 3600
[2024-07-22 20:48:20 +0000] [VERBOSE] Application is now active with one or several terminals
[2024-07-22 20:48:20 +0000] [VERBOSE] Making focus on textfield
[2024-07-22 20:48:22 +0000] [DEBUG] Application will resign active
[2024-07-22 20:48:22 +0000] [VERBOSE] Application will resign active with one or several terminals
[2024-07-22 20:48:22 +0000] [VERBOSE] Saving keyboard opened state
[2024-07-22 20:48:22 +0000] [DEBUG] End editing is not allowed on scene 3E74A9E3-49ED-46CA-B14A-F9E33CB2886A
[2024-07-22 20:48:25 +0000] [DEBUG] Application did become active
[2024-07-22 20:48:25 +0000] [DEBUG] Can't lock WebSSH because delay not elapsed : 3 < 3600
[2024-07-22 20:48:25 +0000] [VERBOSE] Application is now active with one or several terminals
[2024-07-22 20:48:25 +0000] [VERBOSE] Making focus on textfield
[2024-07-22 20:48:26 +0000] [VERBOSE] Fetching from iCloud with a change token
[2024-07-22 20:48:26 +0000] [VERBOSE] iCloud data fetched with success.
[2024-07-22 20:48:35 +0000] [VERBOSE] Sent window resizing (241 x 62) request with success
[2024-07-22 20:48:37 +0000] [VERBOSE] Saving scenes sessions to database
[2024-07-22 20:48:37 +0000] [VERBOSE] Saving (pushAllowed == 0) object EEDAFF64-4D60-45FA-9ED9-B5B5BC5D5D7D to local database
[2024-07-22 20:48:41 +0000] [VERBOSE] Fetching from iCloud with a change token
[2024-07-22 20:48:41 +0000] [VERBOSE] iCloud data fetched with success.
[2024-07-22 20:48:50 +0000] [DEBUG] End editing is not allowed on scene 3E74A9E3-49ED-46CA-B14A-F9E33CB2886A
[2024-07-22 20:48:50 +0000] [VERBOSE] Sent window resizing (205 x 62) request with success
[2024-07-22 20:48:51 +0000] [VERBOSE] IAP already purchased (iCloud) : com.webssh.pro.unlimited
[2024-07-22 20:48:52 +0000] [VERBOSE] Sent window resizing (205 x 60) request with success
[2024-07-22 20:48:54 +0000] [VERBOSE] Saving scenes sessions to database
[2024-07-22 20:48:54 +0000] [VERBOSE] Saving (pushAllowed == 0) object FC89E8D9-3CC3-40A9-A910-5A88EDD62AB1 to local database
[2024-07-22 20:48:56 +0000] [VERBOSE] Fetching from iCloud with a change token
[2024-07-22 20:48:56 +0000] [VERBOSE] iCloud data fetched with success.
[2024-07-22 20:49:01 +0000] [DEBUG] End editing is not allowed on scene 3E74A9E3-49ED-46CA-B14A-F9E33CB2886A
[2024-07-22 20:49:02 +0000] [VERBOSE] Received a screen tap. Will swipe keyboard visibility.
[2024-07-22 20:49:02 +0000] [VERBOSE] Want to show / hide keyboard. Current (0) / Will (1)
[2024-07-22 20:49:04 +0000] [DEBUG] Application will resign active
[2024-07-22 20:49:04 +0000] [VERBOSE] Application will resign active with one or several terminals
[2024-07-22 20:49:04 +0000] [VERBOSE] Saving keyboard opened state
[2024-07-22 20:49:04 +0000] [DEBUG] End editing is not allowed on scene 3E74A9E3-49ED-46CA-B14A-F9E33CB2886A
[2024-07-22 20:49:08 +0000] [DEBUG] Application did become active
[2024-07-22 20:49:08 +0000] [DEBUG] Can't lock WebSSH because delay not elapsed : 3 < 3600
[2024-07-22 20:49:08 +0000] [VERBOSE] Application is now active with one or several terminals
[2024-07-22 20:49:08 +0000] [VERBOSE] Making focus on textfield
[2024-07-22 20:49:11 +0000] [VERBOSE] Fetching from iCloud with a change token
[2024-07-22 20:49:11 +0000] [VERBOSE] iCloud data fetched with success.
[2024-07-22 20:49:26 +0000] [VERBOSE] Fetching from iCloud with a change token
[2024-07-22 20:49:26 +0000] [VERBOSE] iCloud data fetched with success.
[2024-07-22 20:49:41 +0000] [VERBOSE] Fetching from iCloud with a change token
[2024-07-22 20:49:41 +0000] [VERBOSE] iCloud data fetched with success.
[2024-07-22 20:49:56 +0000] [VERBOSE] Fetching from iCloud with a change token
[2024-07-22 20:49:56 +0000] [VERBOSE] iCloud data fetched with success.
[2024-07-22 20:49:57 +0000] [DEBUG] Application will resign active
[2024-07-22 20:49:57 +0000] [VERBOSE] Application will resign active with one or several terminals
[2024-07-22 20:49:57 +0000] [VERBOSE] Saving keyboard opened state
[2024-07-22 20:49:57 +0000] [DEBUG] End editing is not allowed on scene 3E74A9E3-49ED-46CA-B14A-F9E33CB2886A
[2024-07-22 20:50:02 +0000] [DEBUG] Application did become active
[2024-07-22 20:50:02 +0000] [DEBUG] Can't lock WebSSH because delay not elapsed : 4 < 3600
[2024-07-22 20:50:02 +0000] [VERBOSE] Application is now active with one or several terminals
[2024-07-22 20:50:02 +0000] [VERBOSE] Making focus on textfield
[2024-07-22 20:50:04 +0000] [DEBUG] Application will resign active
[2024-07-22 20:50:04 +0000] [VERBOSE] Application will resign active with one or several terminals
[2024-07-22 20:50:04 +0000] [VERBOSE] Saving keyboard opened state
[2024-07-22 20:50:04 +0000] [DEBUG] End editing is not allowed on scene 3E74A9E3-49ED-46CA-B14A-F9E33CB2886A
[2024-07-22 20:50:07 +0000] [DEBUG] Application did become active
[2024-07-22 20:50:07 +0000] [DEBUG] Can't lock WebSSH because delay not elapsed : 2 < 3600
[2024-07-22 20:50:07 +0000] [VERBOSE] Application is now active with one or several terminals
[2024-07-22 20:50:07 +0000] [VERBOSE] Making focus on textfield
[2024-07-22 20:50:11 +0000] [VERBOSE] Fetching from iCloud with a change token
[2024-07-22 20:50:11 +0000] [VERBOSE] iCloud data fetched with success.
[2024-07-22 20:50:26 +0000] [VERBOSE] Fetching from iCloud with a change token
[2024-07-22 20:50:26 +0000] [VERBOSE] iCloud data fetched with success.
[2024-07-22 20:50:33 +0000] [DEBUG] Application will resign active
[2024-07-22 20:50:33 +0000] [VERBOSE] Application will resign active with one or several terminals
[2024-07-22 20:50:33 +0000] [VERBOSE] Saving keyboard opened state
[2024-07-22 20:50:33 +0000] [DEBUG] End editing is not allowed on scene 3E74A9E3-49ED-46CA-B14A-F9E33CB2886A
[2024-07-22 20:50:36 +0000] [DEBUG] Application did become active
[2024-07-22 20:50:36 +0000] [DEBUG] Can't lock WebSSH because delay not elapsed : 2 < 3600
[2024-07-22 20:50:36 +0000] [VERBOSE] Application is now active with one or several terminals
[2024-07-22 20:50:36 +0000] [VERBOSE] Making focus on textfield
[2024-07-22 20:50:39 +0000] [VERBOSE] Sent window resizing (205 x 62) request with success
[2024-07-22 20:50:40 +0000] [VERBOSE] IAP already purchased (iCloud) : com.webssh.pro.unlimited
[2024-07-22 20:50:40 +0000] [VERBOSE] Sent window resizing (205 x 60) request with success
[2024-07-22 20:50:41 +0000] [VERBOSE] Fetching from iCloud with a change token
[2024-07-22 20:50:41 +0000] [VERBOSE] iCloud data fetched with success.
[2024-07-22 20:50:42 +0000] [VERBOSE] Saving scenes sessions to database
[2024-07-22 20:50:42 +0000] [VERBOSE] Saving (pushAllowed == 0) object E007E433-D70E-4249-A6D4-1B1791388677 to local database
[2024-07-22 20:50:42 +0000] [VERBOSE] Saving (pushAllowed == 0) object FC89E8D9-3CC3-40A9-A910-5A88EDD62AB1 to local database
isontheline commented 3 months ago

Thanks @frepke for the full complete logs!

What about WebSSH 27.2.1382? => https://testflight.apple.com/join/QSrBK59z

I have made a change

frepke commented 3 months ago

Thanks @frepke for the full complete logs!

What about WebSSH 27.2.1382? => https://testflight.apple.com/join/QSrBK59z

I have made a change

I'll try it as soon as it's available for me

frepke commented 3 months ago

Problem still exists, but nothing in the logs

isontheline commented 3 months ago

I'm disappointed, I've been using WebSSH all the day with a two desktops (swipe gesture) without encountering any trouble of focus.

I use it everyday, every hour (I'm a SysOp) and can't reproduce the trouble in a recurring manner :(

Any help is welcome to find reproducing steps

frepke commented 3 months ago

It looks like it has to do with copying things out of the webSSH window.

isontheline commented 3 months ago

Latests releases should have improved similar issues : https://github.com/isontheline/pro.webssh.net/issues/1088#issuecomment-2248490127

I'll continue to make improvements