isontheline / pro.webssh.net

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

2 fingers tap to use pasteboard : iPad Keyboard Dismiss Annoyance #1137

Open ash34 opened 3 weeks ago

ash34 commented 3 weeks ago

Not sure if this intended behaviour or not on an iPad with the virtual keyboard.

After pasting into the terminal the keyboard always dismisses immediately. It’s annoying as the very next thing the user will want to do is press the enter key or edit the pasted command. But instead the keyboard must be accessed again first.

Can the behaviour be changed or is there a reason for how it is now?

isontheline commented 3 weeks ago

Hello @ash34 👋

It's not a wanted behaviour, most probably a bug on my side. But I would like a clarification please :

Are you using the "paste" action from the ellipsis to right icon or the "paste" action from the contextual menu (long press)?

The former should NOT hide the keyboard, the second could potentially hide it.

ash34 commented 3 weeks ago

I am usually tapping the screen with 2 fingers.

isontheline commented 3 weeks ago

I wasn't aware about this finger-combo under iPad

So yes this shows the contextual menu and so hide the keyboard by default.

I will enhance WebSSH to restore the keyboard state after this combo

isontheline commented 3 weeks ago

How do you use the 2 fingers combo on the iPad? When I touch the screen the keyboard disappear and not contextual menu appear.

ash34 commented 3 weeks ago

Yes like that. It pastes when I tap with 2 fingers. No other actions are needed.

isontheline commented 3 weeks ago

Perhaps you should use this option instead :

image

It should remain the keyboard focused

ash34 commented 3 weeks ago

Yes that solves it. Many thanks.

isontheline commented 3 weeks ago

You're Welcome @ash34