GNU bug report logs - #14794
24.3.50; `w32-register-hot-key' does not work on Windows 7 64-bit

Previous Next

Package: emacs;

Reported by: Drew Adams <drew.adams <at> oracle.com>

Date: Thu, 4 Jul 2013 21:11:02 UTC

Severity: minor

Found in version 24.3.50

Fixed in version 26.1

Done: Lars Ingebrigtsen <larsi <at> gnus.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Eli Zaretskii <eliz <at> gnu.org>
To: martin rudalics <rudalics <at> gmx.at>
Cc: 14794 <at> debbugs.gnu.org, drew.adams <at> oracle.com
Subject: bug#14794: 24.3.50; `w32-register-hot-key' does not work on Windows 7 64-bit
Date: Fri, 12 Jul 2013 11:55:42 +0300
> Date: Fri, 12 Jul 2013 10:20:53 +0200
> From: martin rudalics <rudalics <at> gmx.at>
> CC: Drew Adams <drew.adams <at> oracle.com>, 14794 <at> debbugs.gnu.org
> 
>  From what I read on such systems an application that does not have
> registered a key itself is allowed to unregister it only if it is
> certified in some way and resides in Program Files.

It's much worse: to unregister a key, you must know its ID (the 2nd
argument to the function).  And how can you that, unless you have
access to the sources of the program that registered the hot key in
the first place?

Moreover, RegisterHotKey can be used so that the hot key is registered
for a specific thread, in which case only that thread can unregister
it.




This bug report was last modified 3 years and 86 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.