girijeshkumar2007 / tunnelblick

Automatically exported from code.google.com/p/tunnelblick
0 stars 0 forks source link

UI Problem: Arrow keys don't work after showing Tunnelblick menu with keyboard shortcut #241

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago

What steps will reproduce the problem?
1. open Tunnelblick menu with configured keyboard shortcut (CMD-OPTION-F1 for 
me))
2. use arrow keys to select menu entries, e.g. "Connect MyVPN"

What is the expected output?
I can navigate the menu with the arrow keys

What do you see instead?
The focus does not seem to be on the menu as pressing the arrow keys does not 
highlight any menu entries.

After opening the Tunnelblick preferences and closing it again and pressing the 
configured shortcut, the focus is ok and I can navigate the menu, but after 
switching to another program, this no longer works.

This used to work in previous versions of Tunnelblick also the (one or two) 
beta builds before that one.

For me this is annoying, as having a keyboard shortcut to open the menu is 
worthless without being able to use the menu with the keyboard (i.e. without 
switching to the trackpad). Activating the VPN is for me pressing CMD-OPTION-F1 
- Arrow down - Enter, which takes 1 second. Now I press  CMD-OPTION-F1 - Arrow 
down - notice that it doesn't work - use the trackpad, which takes 10 seconds.

I love Tunnelblick, this just makes it so much slower to use, especially as I 
drop in and out of the VPN many many times a day.

What version of Tunnelblick are you using? On what version of OS X?
Tunnelblick 3.4beta16 (build 3679)
OS X 10.9 (13A603)

Original issue reported on code.google.com by wolfgang...@fluidops.com on 4 Dec 2013 at 3:11

GoogleCodeExporter commented 9 years ago
Thanks for your report, but I can't reproduce this problem using 3.4beta16 
(build 3679, the same as yours) on OS X 10.9 (13A598, which is not the same as 
yours).

The code that does this hasn't changed in a long time, and it uses standard OS 
X system calls, so although it is possible it is broken in Mavericks, that 
seems unlikely to me.

To clarify, what I am doing is:
1. Launch Tunnelblick
2. Verify that shortcut and arrows work OK.
3. Launch another program (Safari) and leave it running
4. Verify that shortcut and arrows work OK.
5. Quit Safari
6. Verify that shortcut and arrows work OK.

Is it possible that the program that you are running is interfering with the 
menu commands?

Original comment by jkbull...@gmail.com on 4 Dec 2013 at 3:27

GoogleCodeExporter commented 9 years ago
Thanks for the fast feedback and suggestions.

I also have Alfred running an will experiment with a number of options 
regarding disabling other programs. I well report back.

Original comment by wolfgang...@fluidops.com on 4 Dec 2013 at 3:39

GoogleCodeExporter commented 9 years ago
Further thoughts:

I'm not familiar with Alfred, but if it can use a hotkey to drop down 
Tunnelblick's menu, you could try disabling it in Tunnelblick and having Alfred 
do it -- perhaps it would be happier to use the arrow keys then.

You might want to see if typing V (instead of the up/down arrows) gets you to 
the "VPN Details…" menu command. (or Q gets you to the "Quit Tunnelblick" 
command").

If Alfred can launch Applescripts in response to keystrokes, consider creating 
AppleScripts to connect/disconnect your VPN. See 
https://code.google.com/p/tunnelblick/wiki/cAppleScriptSupport

Original comment by jkbull...@gmail.com on 4 Dec 2013 at 4:19

GoogleCodeExporter commented 9 years ago
Thank you for the additional ideas and suggestions!

I tried stopping Alfred and that didn't help.  As I hadn't restarted my MacBook 
for a few weeks I tried rebooting and that helped in the end. 

I assumed it to be broken after the most recent update last week or so, but 
fortunately it seems to be some other random error. 

So, sorry for the noise and many thanks for the help. And of course for a 
wonderful project which really helps a lot!

(P.S. would you please close the bug? I do not have the rights to do that. 
Thanks)

Original comment by wolfgang...@fluidops.com on 4 Dec 2013 at 11:20

GoogleCodeExporter commented 9 years ago
Closed per original poster's request.

Original comment by jkbull...@gmail.com on 4 Dec 2013 at 11:27