#403 Unable to register global hot key error


There are a few things wrong with the error message
that comes up when you run two instances of KeePass.

The text in the message box has a few errors... Here is
my recommended wording.

KeePass was unable to register the global hot key.

The problem may be that another application has
already reserved this hot key.

The last sentence is ok except for "an other" should
be "another".

One interesting thing to note however with this error is
that the only reason this error shows up is that
KeePass is running twice. In a normal scenario, a user
will have KeePass open, and then they'll open up
another instance and get this error. Since the first
instance already has the global hot key registered, the
second one will throw the error. The recommended fix in
the error message is to change the hot key
combination. The problem is that the user will change
the hot key shortcut but then they'll run into the same
problem again, the first instance will use the new
shortcut, but so will the second instance. Both
instances will share the same preference file and
therefore share the same global hot key.

One fix I could think of is to have KeePass check what
application is actually using the global hot key. If it is
KeePass that has the hot key reserved, then bypass
the error message. If you do that though, what if the
user wants to use a global hot key for both instances?
Basically what I知 trying to say is, the error message
does the user no good since there is no way to have
both KeePass instances using the same shortcut.
Maybe a solution would be to have a set of shortcuts so
that instance 1 would be CTRL ALT A and the next
instances will just increment A and become B, C, D and
so on so that the user can still use the hot key but
without running into multiple KeePass instance errors.


  • Dominik Reichl

    Dominik Reichl - 2005-05-02

    Logged In: YES

    Hm, oh well, and soon there is hotkey chaos (like Windows
    assigning drive letters ;D)...

  • Dominik Reichl

    Dominik Reichl - 2005-05-05

    Logged In: YES

    I agree that changing the hot key isn't a solution for the
    user. He'll just have the same problem with the new hot key.

    I've moved the message into the status bar... I currently
    don't like the idea of incrementing hot keys (KeePass isn't
    the only application running on the users computer...), but
    I'll keep it in the feature requests.


  • Dominik Reichl

    Dominik Reichl - 2005-05-05
    • priority: 5 --> 6
  • Dominik Reichl

    Dominik Reichl - 2005-05-20
    • priority: 6 --> 5

Log in to post a comment.