pro.webssh.net icon indicating copy to clipboard operation
pro.webssh.net copied to clipboard

Terminal is hidden behind the keyboard on iOS

Open gpelouze opened this issue 11 months ago • 5 comments

Bug description

When starting a new SSH connection, the bottom part of the terminal is hidden by the keyboard on iOS (see screenshots). As a result, it is impossible to see what you are typing at the bottom of the screen. This means the app is unusable in the current state.

In previous versions (probably before 25.0), the terminal was moved upon opening the keyboard, such that the last line would appear above the the keyboard.

Screenshots

IMG_3731 IMG_3732

Steps to reproduce

  1. Open a SSH connection to a saved server
  2. Notice that the bottom part of the terminal is hidden behind the keyboard

gpelouze avatar Mar 10 '24 17:03 gpelouze

Hello @gpelouze 👋

Many thanks for your strong feedback 🙏

Strange behavior not encountered - yet - on my side.

Does a screen rotation (portrait - landscape - portrait) fixes the trouble?

isontheline avatar Mar 10 '24 18:03 isontheline

Thanks for the quick followup! Unfortunately the issue is still present after the screen rotation (it appears both in landscape mode, and in portrait mode after the rotation cycle).

gpelouze avatar Mar 11 '24 08:03 gpelouze

Thanks for your feedback @gpelouze 🙏

When you press "return" key : doesn't the screen resizing?

isontheline avatar Mar 11 '24 20:03 isontheline

The screen doesn’t resize when pressing the "return" key.

gpelouze avatar Mar 12 '24 08:03 gpelouze

Does a host with less "Message Of The Day" at the beginning of the shell works better?

isontheline avatar Mar 12 '24 12:03 isontheline

I have the same issue with servers that have a shorter motd. The prompt is initially above the keyboard, but disappears behind it after running a few commands.

Can you please advise a way to fully reset the app settings to make the issue disappear? I would hate to have to pay for another ssh client.

gpelouze avatar Mar 15 '24 13:03 gpelouze

Can you please advise a way to fully reset the app settings to make the issue disappear?

Have you set any setting inside the ssh_config of WebSSH?

isontheline avatar Mar 15 '24 20:03 isontheline

I had. Removing them does not fix the issue either.

gpelouze avatar Mar 15 '24 23:03 gpelouze

@gpelouze Could you share your verbose logs when the trouble appears? https://webssh.net/documentation/help/howtos/enabling-verbose-logging/

isontheline avatar Mar 16 '24 15:03 isontheline

Sure, here are the logs (with private info removed): https://gist.github.com/gpelouze/c12abe276ca5f7bd894c5192ff288dbb

During this session, I connected to some host, hid the keyboard and brought it up again.

gpelouze avatar Mar 17 '24 11:03 gpelouze

I suspect this line : Keyboard Mode = Floating

I will try to make a fix tonight

isontheline avatar Mar 17 '24 15:03 isontheline

A fix is on its way

isontheline avatar Mar 17 '24 20:03 isontheline

WebSSH 25.7.1305 is now available for beta testing : https://testflight.apple.com/join/QSrBK59z

isontheline avatar Mar 17 '24 20:03 isontheline