Ylianst / MeshCentral

A complete web-based remote monitoring and management web site. Once setup you can install agents and perform remote desktop session to devices on the local network or over the Internet.
https://meshcentral.com
Apache License 2.0
4.26k stars 570 forks source link

Backspace scrolls to top on mobile SSH connection #6122

Open tschettervictor opened 5 months ago

tschettervictor commented 5 months ago

Describe the bug Im trying to connect to a local SSH device and do some work on mobile. But whenever i hit backspace, the screen flicks to the top.

To Reproduce Steps to reproduce the behavior: Conncet to SSH, type some characters, and hit backspace

Expected behavior I expect backspace to work without moving the screen

Server Software (please complete the following information):

Client Device (please complete the following information): iOS 17 safari browser

Remote Device (please complete the following information): Local SSH device

{
  "$schema": "https://raw.githubusercontent.com/Ylianst/MeshCentral/master/meshcentral-config-schema.json",
  "__comment1__": "This is a simple configuration file, all values and sections that start with underscore (_) are ignored. Edit a section and remove the _ in front of the name. Refer to the user's guide for details.",
  "__comment2__": "See node_modules/meshcentral/sample-config-advanced.json for a more advanced example.",
  "settings": {
    "cert": "redacted",
    "_WANonly": true,
    "_LANonly": true,
    "sessionKey": "redacted",
    "sessionTime": 999,
    "port": 8443,
    "_debug": true,
    "aliasPort": 443,
    "_redirPort": 80,
    "_redirAliasPort": 80,
    "TlsOffload": "redacted",
    "_trustedProxy": "redacted",
    "MariaDB": {
      "host": "localhost",
      "user": "meshcentral",
      "password": "redacted",
      "database": "meshcentral"
    }
  },
  "domains": {
    "": {
      "title": "redacted",
      "title2": "redacted",
      "certUrl": "https://redacted",
      "ssh": true,
      "mstsc": true,
      "minify": true,
      "_newAccounts": true,
      "userNameIsEmail": true,
      "agentInviteCodes": true
    }
  },
  "smtp": {
    "host": "smtp.gmail.com",
    "port": "465",
    "from": "redacted",
    "user": "redacted",
    "pass": "redacted",
    "tls": true
  }
}
si458 commented 5 months ago

ive just got out my iphone 8 ios 16, and im not getting this bug? can u do a screen record and share the bug please?

edit: ok i can replicate it IF i type say ps aux then enter, then do ps aux again but then press backspace to only type ps but would be nice to see if ur having the same bug as me

tschettervictor commented 5 months ago

It doesn’t happen when you are in full screen mode. It only happens if you open the SSH connection, but don’t go into full screen mode.

tschettervictor commented 1 month ago

This issue has come up again. It is happing on full screen as well as no full screen mode.

version 1.1.30

si458 commented 1 month ago

@tschettervictor what browser/hand held device and remote device?

tschettervictor commented 1 month ago

iPhone 13. iOS 18

remote device is a TrueNAS CORE server. Local device group.

si458 commented 1 month ago

why dont people use old OS or old iphones, then i can use my real hardware, haha right... stupid emulator testing it is, leave it with me 👍

tschettervictor commented 1 month ago

Try it in and old device, might be same issue pops up.

si458 commented 1 month ago

ok the simulator has the same issues (and some more issues) will need time to try and fix this. i cant install xcode 16 on my macbook pro, so i have to use my m1 but ive run out of space 👎 and i have to remote control the mac mini too, so leave it with me

tschettervictor commented 1 week ago

Any progress? It’s still present in the new .33 version. I want to switch to using meshcentral as my main access instead of guacamole but this issue is holding me back.

si458 commented 1 week ago

Sadly not, but we do have a new beta bootstrap version u could test on ur mobile! Maybe see if its fixed there, you just add ?sitestyle=3 to the url :) BTW we are aware the is bugs in the new beta ui, so do report them haha

tschettervictor commented 1 week ago

Cool. The bug is not present in the new UI looks like.