code-server icon indicating copy to clipboard operation
code-server copied to clipboard

iPad: Terminal input on chrome, iPad is hidden by keyboard

Open p6m459 opened this issue 7 years ago • 17 comments

  • code-server version: code-server1.1156-vsc1.33.1-linux-x64 OS Version: ubuntu 18.04 digitalocean + iPad pro 11" + folio keyboard

Description

On safari there is no problem with that. Look at the screenshot, actually there 4-5 lines more there, that are hidden by keyboard

Steps to Reproduce

  1. Open new terminal
  2. Start typing
  3. After few lines you can't see what you type because input is hidden by system keyboard image

p6m459 avatar Sep 13 '19 23:09 p6m459

Can reproduce this, using an ipad pro 12.9" with a logitech slim folio pro.

Code-server deployed using code-server:2.1472-vsc1.38.1 docker image from dockerhub on Ubuntu 18.04 bionic.

However, I also observed this issue in v1 before I switched to v2.

Doesn't occur in safari (in safari it is pushed up nicely), but in safari, none of the top tabs work properly, they flicker on click.

xlanor avatar Sep 14 '19 07:09 xlanor

Here’s some screenshots to better demonstrate the layout in safari vs the layout currently getting in chrome

Safari: IMG_0137

Chrome: IMG_0136

xlanor avatar Sep 14 '19 07:09 xlanor

@partyka1 give v2 a try. v1 is already a deprecated version and we won't be issuing fixes in v1.

sr229 avatar Sep 14 '19 10:09 sr229

@sr229 , this issue is still prevalent in image code-server:2.1472-vsc1.38.1 from dockerhub.

xlanor avatar Sep 14 '19 10:09 xlanor

Thanks for the report @xlanor. Will raise this to the team.

sr229 avatar Sep 14 '19 11:09 sr229

@sr229 dev team should look at zeplin.io, im using their site on iPad and they have fixed elements on bottom of the screen that correctly react to keyboard ui situation that happens on iPad. Im sure vs code layout is another level of complexity, but if they are planning to address the issue this might help

p6m459 avatar Sep 23 '19 15:09 p6m459

I've found ohmazing workaround the problem, click View > Appearance > Move Side Bar Right then split the terminal view horizontally and rescale the bottom window so it offsets the top by the keyboard ui height @xlanor 5AD1C38C-E6D6-4D51-8B72-60C9FBA69A56

p6m459 avatar Sep 23 '19 15:09 p6m459

Thanks! I guess thats an alternative, although it would be much preferable since I dont use my terminal that much - which is why the blocking affects me more.

xlanor avatar Sep 23 '19 16:09 xlanor

If you disable "Shortcuts" in the iPad settings app, the keyboard screen itself will not appear. Settings > General > Keyboard > Shortcuts I didn't use the feature in the first place, so this is enough for me. I use iPad in Japanese, so it may not be helpful.

ttfan240 avatar Nov 24 '19 16:11 ttfan240

@cmoog please test!

nhooyr avatar Apr 17 '20 03:04 nhooyr

I’ve been using code-server on iPad as well. @ttfan240 issue resolved it for me.

@partyka1 will that solution work for you and can we close this?

jsjoeio avatar Jan 07 '21 19:01 jsjoeio

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no activity occurs in the next 5 days.

stale[bot] avatar Oct 26 '21 22:10 stale[bot]

Indeed disabling Shortcuts and Predictive in Settings -> General -> Keyboard , on the iPad (pro M1) stops showing the bar in Code Server, with the disadvantage that the bar will be disabled everywhere.

is there an option to disabled it itself in the PWA Code Server ?

kmilov avatar Oct 27 '21 20:10 kmilov

@kmilov I don't think so :/ at least I'm not aware of any abilities to make those settings for specific PWAs.

jsjoeio avatar Oct 28 '21 22:10 jsjoeio

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no activity occurs in the next 5 days.

stale[bot] avatar Apr 27 '22 01:04 stale[bot]

Anybody knows the solution for this problem? I think this issue is still going, though it has been closed by stable bot. So I think the issue should be reopened.

YoungjuneKwon avatar Dec 12 '23 14:12 YoungjuneKwon

Not sure about workarounds, but here is the upstream issue, feel free to give it a thumbs up: https://github.com/microsoft/vscode/issues/149048

code-asher avatar Dec 12 '23 18:12 code-asher