MeshCentral icon indicating copy to clipboard operation
MeshCentral copied to clipboard

Sticky special keys in odd places when controlling macOS

Open DarkxPunk opened this issue 5 months ago • 0 comments

Describe the bug It appears that when using macOS, special keys such as 'control', 'option', or 'command' appear to remain pressed to the remote operating system in odd situations or outright fails when attempting special commands such as 'command'+'c'. It is primarily noticeable when using a dialog box of any sort, and occasionally cause the dialog to close or be interacted with in an odd way, or the app to crash, hang, or freeze.

To Reproduce Steps to reproduce the behavior:

  1. Go to 'Safari'

  2. Visit a web page

  3. Click 'File'>'Save As'

  4. Attempt to input text

  5. See directory change

  6. Tap 'command'

  7. Text input appears to work again

  8. Go to 'App Store'

  9. Choose 'Store'>'Account' from the menu bar

  10. Choose 'Account Settings'

  11. Select text in dialog box

  12. Press 'command'+'c'

  13. See dialog disappear and get stuck

Expected behavior Expected behaviour for the first example is the text input to work from the start. For the second example you should be able to copy the text.

Server Software (please complete the following information):

  • OS: AlmaLinux 8
  • Virtualization: Unsure
  • Network: WAN with ssl offload
  • Version: 1.1.27
  • Node: 16.20.2

Client Device (please complete the following information):

  • Device: Laptop
  • OS: macOS 15
  • Network: Remote over WAN
  • Browser: Safari

Remote Device (please complete the following information):

  • Device: Laptop
  • OS: macOS 13.6.9
  • Network: Remote over WAN
  • Current Core Version (if known): Aug 22 2022, 3351503371

Additional context The issue feels very random but more often than not if a dialog pops up it will disappear when I attempt to enter data, or worse. This is the same when using the 'Type' feature as well. This has been a persistent problem for a while and I have largely got around it by typing when I needed in a text document, copying it, and pasting it into the dialog.

Your config.json file

{
  "$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": "[Removed]",
    "WANonly": true,
    "_LANonly": true,
    "sessionKey": null,
    "port": [Removed],
    "aliasPort": [Removed],
    "redirPort": [Removed],
    "redirAliasPort": [Removed],
    "tlsOffload": "[Removed]",
    "trustedProxy": "[Removed]",
    "LoadConfigFromDB": "[Removed]",
    "mariaDB": {
      "host": "[Removed]",
      "user": "[Removed]",
      "port": [Removed],
      "password": "[Removed]",
      "database": "[Removed]"
    },
    "exactPorts": true,
    "webRTC": true,
    "_selfUpdate": true,
    "_cleanNpmCacheOnUpdate": true,
    "_allowHighQualityDesktop": true,
    "webPush": {
      "email": "[Removed]"
    },
    "_autoBackup": {
      
    }
  },
  "domains": {
    "": {
      "title": "[Removed]",
      "_titlePicture": "",
      "_loginPicture": "",
      "_minify": true,
      "_newAccounts": true,
      "_userNameIsEmail": true,
      "_welcomeText": "",
      "_welcomePicture": "",
      "_meshMessengerTitle": "",
      "_meshMessengerPicture": "",
      "_footer": "",
      "_loginfooter": "",
      "certUrl": "[Removed]",
      "_smtp": {
        "host": "[Removed]",
        "port": "[Removed]",
        "from": "[Removed]",
        "tls": true,
        "auth": {
          "clientId": "",
          "clientSecret": "",
          "refreshToken": ""
        },
        "tlscertcheck": true,
        "tlsstrict": true,
        "verifyemail": true
      }
    }
  },
  "_smtp": {
    "host": "[Removed]",
    "port": [Removed],
    "from": "[Removed]",
    "tls": true,
    "tlscertcheck": true,
    "tlsstrict": true,
    "verifyemail": true
  }
}

DarkxPunk avatar Sep 04 '24 23:09 DarkxPunk