isontheline / pro.webssh.net

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

Terminal is hidden behind the keyboard on iOS #1074

Closed gpelouze closed 8 months ago

gpelouze commented 8 months ago

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
isontheline commented 8 months ago

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?

gpelouze commented 8 months ago

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

isontheline commented 8 months ago

Thanks for your feedback @gpelouze ๐Ÿ™

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

gpelouze commented 8 months ago

The screen doesnโ€™t resize when pressing the "return" key.

isontheline commented 8 months ago

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

gpelouze commented 8 months ago

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.

isontheline commented 8 months ago

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?

gpelouze commented 8 months ago

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

isontheline commented 8 months ago

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

gpelouze commented 8 months ago

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.

isontheline commented 8 months ago

I suspect this line : Keyboard Mode = Floating

I will try to make a fix tonight

isontheline commented 8 months ago

A fix is on its way

isontheline commented 8 months ago

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