HASS.Agent icon indicating copy to clipboard operation
HASS.Agent copied to clipboard

Bug: Set a different default/no default for Hotkey since CTRL+ALT+Q = @

Open DennisGaida opened this issue 1 year ago • 3 comments

This is related to this change: https://lab02research.youtrack.cloud/issue/hassagent-25 as well as this line: https://github.com/LAB02-Research/HASS.Agent/blob/26daa35c5398410c6187cdf7edf3c52553aa7ce7/src/HASS.Agent/Controls/Onboarding/Onboarding-7-HotKey.cs#L32

Please disable this default altogether. It clashes with the German keyboard / keyboard language which maps Alt Gr + Q to "@" (which is essentially Right ALT + Left CTRL). I was pulling my hair out, trying to figure out where my @-key has gone and since I didn't configure any quick actions yet with HASS.Agent, I also didn't have any popup informing me that this shortcut is stolen by HASS.Agent.

I would opt for not having a default (i.e. "None") and the user choosing a sensible default for his/her system/locale. I see there is already some code here: https://github.com/LAB02-Research/HASS.Agent/blob/b3484318c6d6f20b168776454d5b73181760ed05/src/HASS.Agent/Functions/HelperFunctions.cs#L527 and the check defined here: https://github.com/LAB02-Research/HASS.Agent/blob/b3484318c6d6f20b168776454d5b73181760ed05/src/HASS.Agent/Functions/HelperFunctions.cs#L538 - I believe this all shouldn't be done (as in my case it doesn't work since apparently it didn't see I have a German keyboard layout with English UI - I believe the default should just be "None" and we can get rid of all the checks around this.

DennisGaida avatar Jul 18 '22 13:07 DennisGaida

I'll look into it, thanks for letting me know and the extensive info @DennisGaida

LAB02-Admin avatar Jul 18 '22 13:07 LAB02-Admin

Came here to complain. For weeks, it drove me crazy because I couldn't type the "@" character and had to use ALT+64. Please remove the default.

Very pleased with HASS.Agent though, thanks and keep up the good work!

spartan117aut avatar Sep 08 '23 11:09 spartan117aut

I'm here to chime in on this issue. On the Hungarian keyboard, Ctrl+Alt+Q is Backslash which is kinda of important.

If you don't want to change the default Quick Action shortcut, I would suggest adding a default, dummy Quick Action which does nothing. But when you fire the global shortcut, at least the user will know WHAT uses the shortcut since Quick Action will show up. Right now it just eats up the shortcut, while doing nothing.

S0und avatar Dec 03 '23 18:12 S0und