-
Notifications
You must be signed in to change notification settings - Fork 83
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat(ui/ActionBar): Add a CTRL + ALT + DEL Button to the Action Bar #18
base: dev
Are you sure you want to change the base?
Conversation
This commit adds a CTRL + ALT + DEL button to the Action Bar allowing you to send the combination to the target machine without launching the Virtual Keyboard, or sending the signal to the computer you're accessing the KVM from. This is useful for people installing OS', or potentially debugging kernel issues.
This commit makes the Action Bar Ctrl + Alt + Del button a setting, which is off by default.
Sure, I'll have to have a chat with Adam about that as I think itd need some new React components, and frontend isn't my strong suit!
Now this, this I like! Maybe more of a macros type feature? I think if we do add macros thatd need to be a new PR as its a bit more involved, id personally want macros to be stored on the KVM itself so it roams between browsers (for context, the setting used in my PR is in local storage, so you need to tick it on every browser you access it from.) Plus, we'd need some UI to record macros. |
Agreed, storing them on the JetKVM is the way to go since you can move it around and keep the configs. Sounds good, please let me know and I can create another issue. |
Yeah go ahead and open an issue for macros if you don't mind, reference this pull when you do and we'll go from there - I think it's worth it's own issue and then PR. Thanks again |
I’d honestly prefer to keep this in the Virtual Keyboard, as it’s the most logical place for it semantically. As mentioned, I agree that we should add a Keyboard Combination recorder, so people can add their own common combinations. @Nevexo, what’s the current issue with the placement of the Virtual Keyboard?
I’m not sure how Tiny Pilot handles it specifically, but dropdowns & popovers, typically close after a click. For many of the use cases involving these keyboard combinations, users would likely need to spam the combination repeatedly, which could make a standard dropdown less practical. |
The problem isn't where it is on the Virtual Keyboard, it's the fact it's only in there (this PR doesn't remove it from the Virtual Keyboard), I often find myself needing to press CTRL+ALT+DEL while debugging a system that's failing to boot, and I obviously can't press CTRL+ALT+DEL on my actual keyboard, as that'll make my OS open it's menu. Opening the Virtual Keyboard, just to press the button, then close it again, is quite annoying (especially because opening the keyboard makes the whole page move around to accommodate a whole QWERTY kb) - though I do realise not everyone will need to press CTRL+ALT+DEL that often, hence why I added a setting for it. |
I get your concern with the reaching for the Virtual Keyboard feels too heavy and annoying. The current implementation won't scale though, I'm sure there are more keyboard shortcuts people would be interested in, and this action bar + settings model won't scale. We can introduce a Keyboard Shortcuts action bar item, which behaves like the WOL popover. It should contain the top 5 shortcuts. This would also be a good place to create new keyboard combinations - like a record button and store it locally so if they have a unique use case they can access it easily. We should have an explicit Close button and trigger a notification when triggering the Keyboard shortcut, to emphasize the non-closing nature of the popover. |
Okay sure, I like that. I think it'd still annoy me to still have three clicks to press CTRL+ALT+DEL once just to reboot a machine. Maybe a "pin" option to keep a key combination on the action bar would be useful? Much more scalable than my PR, but still allows for faster access, especially if you need to see the video properly while sending a key combination, a popover is potentially going to obscure it, depending on the viewport and stream resolution. |
Hi @adamshiervani , yes, that would be the idea. Here's a link to the screenshot I took in TinyPilot: You click the menu item -> then click the dropdown which issues the command immediately. Just 2 clicks. Of course, I would love any option which saves even more time. |
I know I'm late to the party with this comment (just got mine a few days ago), but most other products in this category (PiKVM, ScreenConnect, and Bomgar are my direct references) have certain high use non-captureable keyboard combos on their toolbars within 1-2 clicks. Ctrl+Alt+Delete is also one of the most used combos on Windows with it used to unlock and bring up the security screen. So discounting giving space to it on the top toolbar is a big hit to usability. |
This PR introduces a CTRL + ALT + DEL button to the Action Bar which works the same way as the button on the virtual keyboard.
Overview/Rationale
This is primarily for people installing or debugging operating systems that may need to reboot the system frequently, it avoids having to open the Virtual Keyboard as would otherwise be required to send this key combination.
The second commit in this PR makes the button a setting, which defaults to off, allowing the button to be hidden if the user doesn't need it.
Screenshots
Button on Action Bar: (I'm not 100% set on the lock icon, suggestions welcome on that)

Toggle in Settings
