Bug 53648

Summary: Weston Terminal does not manage french characters
Product: Wayland Reporter: cprigent <christophe.prigent>
Component: westonAssignee: Wayland bug list <wayland-bugs>
Status: RESOLVED FIXED QA Contact:
Severity: enhancement    
Priority: medium CC: blei42
Version: unspecified   
Hardware: Other   
OS: All   
Whiteboard:
i915 platform: i915 features:

Description cprigent 2012-08-17 15:16:02 UTC
Setup:
======
Laptop Dell N series: 
- Ubuntu 12.04 64 bit 
- Intel Core i5 2540M 
- 4GiB memory 
- integrated graphics controller 

cairo: 140fafed89508c4685f3a464c9dbe8df769f2411 
dri2proto: 4eeacce4c4a300b938b7e3fb78a8e443c491780b 
drm: 3163cfe4db925429760407e77140e2d595338bc2 
glproto: ec1eec4355ee4a6c5134f2178192f10b6d28a87a 
kbproto: 391a1f6de6315fc0196d407d800597488315cccb 
libX11: 8042f88ace33573f9d0dfaa21ed54ac7cef266d5 
libxkbcommon: f491285a5f4b5f680a87e9e3076e8499f3ed2a3b 
macros: 0890e4003aacfa7113ab3f4e3ad7c5636f8e922a 
mesa: 81ba2c53b698b3926e71dd37e7898719fd2deb3e 
pixman: 09cb1ae10b1976970233c934d27c36e0a4203e1c 
wayland: c855d6eec4c5e63489da5bc08451a2376e6d2aea 
wayland-test: c855d6eec4c5e63489da5bc08451a2376e6d2aea 
weston: 5418a904ca007a109f6af8c0c75ca97a134986d9 

Pre-conditions:
===============
Use a AZERTY french keyboard

Steps:
======
1. Launch weston and weston-terminal
2. Enter some french characters with accents like: é è à
3. Enter some french characters with "tréma" like: ë ï (Shift+¨ then e)
4. Enter some french characters with accent "circonflexe" like: ê 

Actual result:
===============
2, 3 and 4. Special french characters are not displayed or are replaced by "?"

Expected results:
==================
2, 3 and 4. Special french characters are well managed
Comment 1 Philipp Brüschweiler 2012-08-30 12:01:22 UTC
Step 2 should work as of fdb4b025019edf9256d76223c9096f564a357f62. The other use cases need support for input methods, which is in the works.
Comment 2 cprigent 2013-08-15 19:31:33 UTC
I'm out of the office until the 19th of August, included

Thank you,
Christophe.
Comment 3 Bryce Harrington 2016-10-12 20:15:32 UTC
commit 894b3ecc634f09029afd0f910083f2df562f5a54
Author:     Bryce Harrington <bryce@osg.samsung.com>
AuthorDate: Mon Oct 10 15:31:47 2016 -0700
Commit:     Bryce Harrington <bryce@osg.samsung.com>
CommitDate: Tue Oct 11 10:42:50 2016 -0700

    clients: Add XKB compose key support
    
    This adds single-symbol compose support using libxkbcommon's compose
    functionality.  E.g., assuming you have the right alt key defined as
    your compose key, typing <RAlt>+i+' will produce í, and <RAlt>+y+= will
    produce ¥.  This makes compose key work for weston-editor,
    weston-terminal, weston-eventdemo, and any other clients that use
    Weston's window.* routines for accepting and managing keyboard input.
    
    Compose sequences are loaded from the system's standard tables.  As
    well, libxkbcommon will transparently load custom sequences from the
    user's ~/.XCompose file.
    
    Note that due to limitations in toytoolkit's key handler interface, only
    compose sequences resulting in single symbols are supported.  While
    libxkbcommon supports multi-symbol compose strings, support for passing
    text buffers to Weston clients is left as future work.
    
    This largely obviates the need for the weston-simple-im input method
    client, which had provided a very limited compose functionality that was
    only available in clients implementing the zwp_input_method protocol,
    and with no mechanism to load system or user-specified compose keys.
    
    Fixes: https://bugs.freedesktop.org/show_bug.cgi?id=53648
    Signed-off-by: Bryce Harrington <bryce@osg.samsung.com>
    Reviewed-by: Daniel Stone <daniels@collabora.com>
    Reviewed-by: Eric Engestrom <eric.engestrom@imgtec.com>
    Reviewed-by: Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.