davkean / audio-switcher

App that lets you easily switch Windows audio devices
MIT License
382 stars 53 forks source link

Cannot use ENTER to open device menu #14

Open davkean opened 9 years ago

davkean commented 9 years ago

Repro:

  1. Press TAB until Show Hidden Icons has focus
  2. Use the arrow keys to navigate to Audio Switcher
  3. Press SPACE

    Expected: For the device menu to open

    Actual: Nothing

davkean commented 9 years ago

Notice that the other icons (sound, network, solve pc issues, etc) all activate on pressing SPACE and ENTER.

davkean commented 9 years ago

Debugging into this - SPACE and context menu key now work and you can use them to activate (both are treated as "mouse ups".

It looks like ENTER is sending two mouse ups causing us to open and then immediately dismiss the device context menu.