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 449906 - Multi_key sequence for Latin capital U with macron
Multi_key sequence for Latin capital U with macron
Status: RESOLVED DUPLICATE of bug 468055
Product: gtk+
Classification: Platform
Component: Input Methods
2.10.x
Other All
: Normal minor
: ---
Assigned To: Hidetoshi Tajima
gtk-bugs
Depends on:
Blocks:
 
 
Reported: 2007-06-21 23:11 UTC by DJ Clark
Modified: 2007-08-19 09:51 UTC
See Also:
GNOME target: ---
GNOME version: 2.17/2.18


Attachments
[1/1] Use capital letter U when appropiate on imcontextsimple compose sequences. (1.44 KB, patch)
2007-06-22 12:47 UTC, Xan Lopez
none Details | Review

Description DJ Clark 2007-06-21 23:11:27 UTC
Please describe the problem:
Note this bug originaly reported to  https://bugs.launchpad.net/ubuntu/+source/gtk+2.0/+bug/113721

The sequences
Multi_key U - [capital U, minus) and Multi_Key U _ (capital U, underscore) should produce Latin Capital U with macron Ū. In fact they generate a lower case u with macron ū

Steps to reproduce:
1. use Compose key sequences to enter character U with macron
2. 
3. 


Actual results:
Ū Multi_key minus U Latin capital U with macron
ū Multi_key U underscore  Latin small U with macron *BUG*
ū Multi_key U minus       Latin small U with macron *BUG*
Ū Multi_key underscore U  Latin capital U with macron
ū Multi_key minus u       Latin small U with macron
ū Multi_key u minus       Latin small U with macron
ū Multi_key u underscore  Latin small U with macron
ū Multi_key underscore u  Latin small U with macron

Expected results:

Ū Multi_key U underscore  Latin capital U with macron 
Ū Multi_key U minus       Latin capital U with macron 

Does this happen every time?
yes

Other information:
As best as I can understand the actual code it would appear that the fix would be to change the unicode string to produce the correct characters eg
/gtk/gtkimcontextsimple.c (gtk+ version 2.10.7)

change lines 635 and 639 from 0x016B to 0x016A

Source line 635
  GDK_Multi_key, GDK_U, GDK_minus, 0, 0, 0x016A, /* LATIN_CAPITAL_LETTER_U_WITH_MACRON */

Source line 639
  GDK_Multi_key, GDK_U, GDK_underscore, 0, 0, 0x016A, /* LATIN_CAPITAL_LETTER_U_WITH_MACRON */

This would make the comments in the source, the sense of the Key sequence using capital to generate a capital-with-diacritic and the unicode value all in agreement and coherent with similar codes for other letters in the file.
Comment 1 Xan Lopez 2007-06-22 12:46:33 UTC
This looks good to me, patch attached.
Comment 2 Xan Lopez 2007-06-22 12:47:19 UTC
Created attachment 90451 [details] [review]
[1/1] Use capital letter U when appropiate on imcontextsimple compose sequences.

 gtk/gtkimcontextsimple.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
Comment 3 Xan Lopez 2007-08-19 09:51:58 UTC

*** This bug has been marked as a duplicate of 468055 ***