Bug 56818 - EuroSign keysym giving 0 chars?
EuroSign keysym giving 0 chars?
Status: CLOSED RAWHIDE
Product: Red Hat Linux
Classification: Retired
Component: XFree86 (Show other bugs)
7.2
i386 Linux
medium Severity medium
: ---
: ---
Assigned To: Mike A. Harris
David Lawrence
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2001-11-28 03:49 EST by romano
Modified: 2007-04-18 12:38 EDT (History)
0 users

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2002-01-11 03:39:05 EST
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)
Startup log for X (10.95 KB, text/plain)
2001-12-05 02:53 EST, romano
no flags Details
Configuration file for Xserver (1.80 KB, text/plain)
2001-12-05 02:54 EST, romano
no flags Details

  None (edit)
Description romano 2001-11-28 03:49:26 EST
Description of Problem:

I have EuroSign keysym assigned to alt-gr e; but when typing it, I get nothing; font is correctly set and xev say that eurosign has been seen but XLookupString gives 0 chars. 

Version-Release number of selected component (if applicable):

XFree86-4.1.0-3

How Reproducible:

every time

Steps to Reproduce:
1.select a iso8859-15 font for an xterm  
2.do (in zsh) print "\244": euro symbol is shown corrctly  
3.xmodmap -pke | grep -i euro confirm EuroSign is assigned to alt-gr e  
4. typing alt-gr e gives nothing   

Actual Results:
KeyPress event, serial 28, synthetic NO, window 0x2a00001,  
    root 0x30, subw 0x0, time 1914166218, (88,78), root:(1016,419),  
    state 0x2000, keycode 26 (keysym 0x20ac, EuroSign),   same_screen YES,  
    XLookupString gives 0 characters:  ""  
  
KeyRelease event, serial 28, synthetic NO, window 0x2a00001,  
    root 0x30, subw 0x0, time 1914166295, (88,78), root:(1016,419),  
    state 0x2000, keycode 26 (keysym 0x20ac, EuroSign), same_screen YES,  
    XLookupString gives 0 characters:  ""  

Expected Results:

XLookupString gives 1 characters:  "$" (where in correct font an euro sign, decimal 164, octal 0244 is shown

Additional Information:
Comment 1 Mike A. Harris 2001-12-04 20:45:09 EST
Please attach your X server config and X logfiles using the file
attachment link below.  Also indicate any internationalization
settings you are using.
Comment 2 romano 2001-12-05 02:53:42 EST
Created attachment 39687 [details]
Startup log for X
Comment 3 romano 2001-12-05 02:54:59 EST
Created attachment 39688 [details]
Configuration file for Xserver
Comment 4 romano 2002-01-11 03:39:00 EST
I found an hack to obtain the euro symbol (? <- this is it if you have a iso-latin15 font). It suffice 
to add/change the xmodmap from:

keycode  26 = e E EuroSign

to: 

keycode  26 = e E currency 


Note that this is a hack, and would not work if the input method understand for example 
Unicode; in my opinion, the original bug is still here (and quite important...). But noe I can 
type EuroSigns when I need it...
Comment 5 Mike A. Harris 2002-03-28 19:44:09 EST
Appears fixed in 4.2.0-6.51 and later in rawhide.

Note You need to log in before you can comment on or make changes to this bug.