After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 125048 - keybindings on the "print" key don't work
keybindings on the "print" key don't work
Status: RESOLVED NOTGNOME
Product: metacity
Classification: Other
Component: general
2.6.x
Other Linux
: Normal normal
: ---
Assigned To: Metacity maintainers list
Metacity maintainers list
: 145076 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2003-10-20 16:22 UTC by Julien Langer
Modified: 2004-12-22 21:47 UTC
See Also:
GNOME target: ---
GNOME version: 2.3/2.4


Attachments
Patch to fix the xkb symbol files in the XFree86 package. (3.48 KB, patch)
2004-08-14 00:27 UTC, Federico Mena Quintero
none Details | Review

Description Julien Langer 2003-10-20 16:22:02 UTC
If I bind an action to the "print" key via 
gconf-editor or gnome-keybinding-properties, 
and then press the "print" key nothing 
happens. However keybindings with other keys than the "print" key work well.

"xev" receives the key event from the print 
key:
KeyPress event, serial 25, synthetic NO, 
window 0x2e00001,
    root 0x8b, subw 0x0, time 2039111, 
(66,127), root:(73,190),
    state 0x10, keycode 111 (keysym 0xff61, 
Print), same_screen YES,
    XLookupString gives 0 characters:  ""

KeyRelease event, serial 25, synthetic NO, 
window 0x2e00001,
    root 0x8b, subw 0x0, time 2039191, 
(66,127), root:(73,190),
    state 0x10, keycode 111 (keysym 0xff61, 
Print), same_screen YES,
    XLookupString gives 0 characters:  "
Comment 1 Sebastien Bacher 2004-02-07 15:17:50 UTC
Bug here with metacity 2.6.3 and CVS head
Comment 2 Federico Mena Quintero 2004-08-14 00:25:32 UTC
*** Bug 145076 has been marked as a duplicate of this bug. ***
Comment 3 Federico Mena Quintero 2004-08-14 00:26:25 UTC
This is a bug in Debian's XFree86 package.  The attached patch fixes the xkb
symbol files so that there is one keycode per physical key; this was being violated.
Comment 4 Federico Mena Quintero 2004-08-14 00:27:13 UTC
Created attachment 30532 [details] [review]
Patch to fix the xkb symbol files in the XFree86 package.
Comment 5 Federico Mena Quintero 2004-08-14 00:30:26 UTC
Debian people:  make sure your X server also has the required fix in
xc/programs/Xserver/hw/xfree86/common/xf86Events.c.  This is the first hunk in
the following patch file:
http://bugzilla.redhat.com/bugzilla/attachment.cgi?id=66884&action=view

(note that *that* patch doesn't have the bits for symbols/pc/pc; pick that up
from the attachment in comment #4.)
Comment 6 Federico Mena Quintero 2004-08-14 00:34:57 UTC
This also happens in SuSE, by the way.
Comment 7 Jean-Yves Lefort 2004-08-14 14:32:52 UTC
And in FreeBSD with XFree86 (don't know about Xorg).