gravitational / teleport

The easiest, and most secure way to access and protect all of your infrastructure.
https://goteleport.com
GNU Affero General Public License v3.0
17.43k stars 1.74k forks source link

Desktop access: Browser should forward all keys to Teleport #40205

Closed webvictim closed 1 month ago

webvictim commented 6 months ago

Discussed in https://github.com/gravitational/teleport/discussions/40074

Originally posted by **bero** March 31, 2024 I am a member in a team that have Windows in GCP (Google Cloud Platform) and I use Teleport. I use Ubunt0 23.10 as OS and KVM 8.0.4 as virtualization. GCP is Windows Server 2022 Datacenter version 21H2. Generally it works well but there are some problems. To get discussion more focused I only write one problem in each thread. Some keys like Ctrl+F4 quit browser instead of application inside the tab. In a way this make sense from browsers point of view. But ideally browser should forward all keys to Teleport page when it is active. Maybe some browser extension can do this ?
zmb3 commented 6 months ago

Not much we can do about this one unfortunately. Our client runs inside the browser's Javascript engine, so it only sees keypresses that the browser sees.

Ctrl+F4 would be an OS-level shortcut that never makes its way inside the browser environment, as the OS takes it to mean "close the browser now."