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 736250 - Need to sort gtk_compose_seqs_compact[] table in the descending order
Need to sort gtk_compose_seqs_compact[] table in the descending order
Status: RESOLVED FIXED
Product: gtk+
Classification: Platform
Component: Input Methods
unspecified
Other Linux
: Normal normal
: ---
Assigned To: gtk-bugs
gtk-bugs
Depends on:
Blocks:
 
 
Reported: 2014-09-08 04:05 UTC by Takao Fujiwara
Modified: 2014-09-11 01:32 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Patch for gtkimcontextsimpleseqs.h (28.50 KB, patch)
2014-09-08 04:07 UTC, Takao Fujiwara
committed Details | Review

Description Takao Fujiwara 2014-09-08 04:05:41 UTC
French layout bepo variant sends dead_stroke with AltGr-l keys in /usr/share/X11/xkb/symbols/fr and the French bepo expects '/' with dead_stroke x 2 keys:

http://bepo.fr/

The dead_stroke-dead_stroke defines in both /usr/share/X11/locale/en_US.UTF-8/Compose and gtk/gtkimcontextsimpleseqs.h .
But gtk_compose_seqs_compact[] table is not sorted in descending order so gtk-im-context simple failed to output currency in French bepo.

To fix the order in gtk_compose_seqs_compact[] table, need to comment out dead_stroke in gtk/compose-parse.py and update gtk/gtkimcontextsimpleseqs.h.

Also need to add dead_currency for Shift-AltGr-e keys and dead_belowcomma for Shift-AltGr-Cedilla.
Comment 1 Takao Fujiwara 2014-09-08 04:07:18 UTC
Created attachment 285630 [details] [review]
Patch for gtkimcontextsimpleseqs.h

Attached the patch.