Menu

why keyboard shortcuts do not work? (bug?)

Testoslav
2015-10-02
2015-12-04
  • Testoslav

    Testoslav - 2015-10-02

    Hello, I'd like to switch truecrypt, so I'm testing it. I can imgine I will live with that very long mount time (10 seconds in here with hw aes enabled). But not working keyboard shortcuts bother me quite a lot - I have been used to pres alt+x to close TC after mount or alt+d to dismount, or alt+s to dismount all. These letters are highlighted in veracrypt too, but they work only sometimes, depending where you are clicked in the VC window. These keys work in truecrypt fine everywhere. Why is that? I prefer working with keyboard, it is much more cosy and faster than mouse.

    Compare this:
    I start TC, pres E as drive letter, alt+e, select partion with arrow down, enter, alt+x, done.
    I start VC, i need to click drive letter, alt+e works, select partion with arrow down, enter, wait, alt+x doesn't work again, so I have to hit exit with mouse. It looks like some kind of a bug to me, because when I click the drive letter again, then alt+x works too. Strange behaviour.

     
  • Enigma2Illusion

    Enigma2Illusion - 2015-10-02

    Do you have both TC and VC installed on your system at the same time?

    If yes, how are you able to assign the same hot key for both programs?

    For example, I have VC set to Ctrl-Alt-O to Mount Favorite Volumes. In TC, if I attempt to add the same hot key Ctrl-Alt-O to TC, I get an error message box with the error message shown below.

    Hot key is already registered.

     
  • Testoslav

    Testoslav - 2015-10-11

    Thanks for reply, I don't mean global short keys, if there are any, I don't use them. I mean those underlined letters in menus and buttons, for example in notepad alt+f,o opens the file-open dialog. Similarly some keys work in truecrypt and they are supposed to work in VC too, see my post above.

    But when you're inside the veracrypt program window, the alt+letter shortcut to some function don't always work as expected, depending where in the window you are and this is veracypt only behaviour, in TC they are working just fine.

     

    Last edit: Testoslav 2015-10-11
  • Enigma2Illusion

    Enigma2Illusion - 2015-10-11

    Thanks for the clarification.

    I believe this is due to the issue below causing the focus to be switched to the desktop to allow the wait dialog to properly animate.

    https://veracrypt.codeplex.com/workitem/201

     
  • Testoslav

    Testoslav - 2015-10-14

    Thank you. That seems to be it. So the progress windows is the cause. Imho it's quite useless, I can live without it, if the keys will work again and focus won't be lost. Maybe changing verarypt window name to Veracrypt - mounting, wait... could be enough and focus won't get lost ;-)

     
  • Mounir IDRASSI

    Mounir IDRASSI - 2015-10-14

    I have implemented a fix for this issue. Now, the application should retain its focus after the operations and the keyboard shortcuts should work.

    I have uploaded an installer for 1.17-BETA that contains this fix. Can you please check that it solves your issue?

    The installer is here: https://sourceforge.net/projects/veracrypt/files/VeraCrypt%20Nightly%20Builds/

    Thanks.

     
  • Enigma2Illusion

    Enigma2Illusion - 2015-10-15

    Hello Mounir,

    There is still an issue with the loss of focus in the main GUI window of drive letters when you reboot the PC.

    Tests:
    1. Select an available drive in the GUI and mount favorites. Result: Focus returns to GUI with blue highlighted available drive letter selected.
    2. Close GUI, wait a few seconds and open GUI. Selected drive letter is grey highlighted but Alt<Key> still works.
    3. Reboot PC and open GUI, There is no focus in the GUI drive letter screen section and hence the Alt<Key> fails.

    EDIT:
    I discovered that if I engage the VeraCrypt GUI immediately after Windows boots via hot keys, Desktop icon or Deskop list in lower right hand corner of Windows 7, the Alt<Keys> will fail. However, if I give my system about 10 - 15 seconds after booting-up on my SSD system drive, the Alt<Keys> work?!

    Kind Regards.

     

    Last edit: Enigma2Illusion 2015-10-15
  • Mounir IDRASSI

    Mounir IDRASSI - 2015-10-15

    I uploaded a new build of 1.17-BETA the should solve the remaining focus issue.

    Can you please check if it also solved the hotkey detection delay?

     
  • Enigma2Illusion

    Enigma2Illusion - 2015-10-16

    Success! :-)

    I re-tested again the various scenerios and the Alt<Keys> work immediately at boot-up and the other tests that I listed in my original post were successful.

    Bravo Mounir!

     
  • Testoslav

    Testoslav - 2015-12-04

    Dear Mounir, this is excellent! I have tested all the keyboard shortcuts that I'm used to and I can't feell the difference between TC and VC 1.17. Except the very long mount time of course :) Thank you!

     

    Last edit: Testoslav 2015-12-04

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.