gustavo-iniguez-goya / opensnitch

OpenSnitch is a GNU/Linux application firewall
GNU General Public License v3.0
394 stars 20 forks source link

Pop-ups that occur during typing can actioned from keypress unintentionally #58

Closed bjeanes closed 3 years ago

bjeanes commented 4 years ago

I suppose this is also a usability suggestion, like #28.

I find that a few times per day, OpenSnitch will open a pop-up while I am in the middle of typing and some key press (perhaps space bar, but it happens so quickly I am not sure) will submit the form on the pop-up (I'm not sure with which action, but probably accept)

I'm not sure the ideal solution here because obviously some keyboard control here is highly desirable...

Some ideas:

gustavo-iniguez-goya commented 3 years ago

Hi @bjeanes !

I like the 2nd approach. I think it's useful to answer the dialog using the KB so the 1st option discarded, and I'm not sure about the 3rd option. Using emacs or vim you can be using so many combinations of keys that would be hard to choose one :)

Another option: press the TAB key to jump to the allow/deny button.

bjeanes commented 3 years ago

TAB or delay both seem like decent options. I am not sure I have a preference b obviously TAB is pressed during typing code but I think since this just moves focus on the inputs it's not as annoying as accidentally making a policy choice.

abhishekbhakat commented 3 years ago

Can there be an option to set the hotkey as the user wishes ?

gustavo-iniguez-goya commented 3 years ago

I haven't found a way to set the focus to a widget which is not a button, maybe I'm missing something here. So instead of moving around using TABs, now the "+" button has the focus, and you just have to use the arrow keys to move to the allow or deny button.