Multi_key sequence forLatin capital U with macron

Bug #113721 reported by Dr D J Clark on 2007-05-10
Affects Status Importance Assigned to Milestone
Fix Released
gtk+2.0 (Ubuntu)
Ubuntu Desktop Bugs

Bug Description

I am creating documentation for the Compose Key and
in the course of which I am keying in all of the Multi_key sequences defined in
/gtk/gtkimcontextsimple.c (gtk+ version 2.10.7)

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 ū
Note also that the source file has the unicode for the lower case value (0x016B) although both the description and the use of upper case keys in the sequence would make it reasonable to expect an upper case U with macron. (0x016A). The equivalent code for the lower case u is correct in every case.

Ū Multi_key minus U 0x016A Latin capital U with macron
ū Multi_key U underscore 0x016B Latin capital U with macron *BUG*
ū Multi_key U minus 0x016B Latin capital U with macron *BUG*
Ū Multi_key underscore U 0x016A Latin capital U with macron
ū Multi_key minus u 0x016B Latin small U with macron
ū Multi_key u minus 0x016B Latin small U with macron
ū Multi_key u underscore 0x016B Latin small U with macron
ū Multi_key underscore u 0x016B Latin small U with macron

/gtk/gtkimcontextsimple.c (gtk+ version 2.10.7)
Source line 635
  GDK_Multi_key, GDK_U, GDK_minus, 0, 0, 0x016B, /* LATIN_CAPITAL_LETTER_U_WITH_MACRON */

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

Related branches

Sebastien Bacher (seb128) wrote :

Thank you for your bug. Is there any reference documenting what characte should be create when using a sequence? Maybe you could open this bug on they will better placer on wheter that's a design choice or a bug

Changed in gtk+2.0:
assignee: nobody → desktop-bugs
importance: Undecided → Low
status: Unconfirmed → Needs Info
Dr D J Clark (djc-online) wrote :

The only documentation I can find is the comments in the source code which I have quoted above. That is why I am creating the documentation on the Ubuntu wiki.
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, the sense of the Key sequence using upper case U and the unicode value all in agreement and coherent with similar codes in the file.

Yes it would be best to open the bug upstream with Gnome but I already have a login with Ubuntu whereas I would have to open yet another account and forgettable password to do the same with Gnome.

Changed in gtk:
status: Unknown → New
Sebastien Bacher (seb128) wrote :

Thank you for sending the bug to the GNOME bugzilla

Changed in gtk+2.0:
status: Incomplete → Confirmed
Changed in gtk:
status: New → Invalid
Sebastien Bacher (seb128) wrote :

The bug has been fixed upstream now

Changed in gtk+2.0:
status: Confirmed → Fix Committed
Changed in gtk:
status: Invalid → Fix Released
Sebastien Bacher (seb128) wrote :
Download full text (5.4 KiB)

gtk+2.0 (2.12.0-0ubuntu1) gutsy; urgency=low

  * New upstream version:
    - All widgets have been ported to the new tooltips code
    - Tooltips are disabled in touchscreen mode
    - Support custom tabs in GtkPrintUnixDialog
    Bugs fixed:
    - 459561 critical warnings with custom tooltips
    - 461648 GdkWindowQueueItem::serial overflow
    - 463773 Openoffice and flash run into a deadlock when used with KDE
    - 468801 thunar segfaults when selecting targa image (LP: #127574)
    - 473441 [patch] Ungrab windows when gdk_window_destroy() is calle...
    - 473954 gnome-background-properties: crash on drag-n-drop to "Add...
      (LP: #128931)
    - 461945 totem outputs errors in terminal (LP: #129438, #130329)
    - 348493 _gdk_quartz_copy_to_image needs implementing for pixmaps
    - 405868 Missing implementation of gdk_window_get_geometry()
    - 441219 Do not allow moving cursor to separators
    - 447214 rename the tips_data_list field back
    - 451202 New tooltips API has too long default timeout (LP: #133919)
    - 451397 Use new tooltip API in gtk+
    - 452225 check and option mark drawing is a mess of inconsistency
    - 457642 tooltips on notebook's tab labels
    - 458088 Improve mouse cursor for paned widgets
    - 458102 GtkScrolledWindow doesn't redraw when gtk-scrolled-window...
    - 458280 remove set-toolip handler from menutoolbutton
    - 458298 broken cursor movement with inline selection
    - 459459 Missing implementation of gdk_window_set_decorations() an...
    - 459515 gtk_menu_key_press() buglets
    - 459566 update testtooltips
    - 459667 Missing implementation of gdk_window_set_keep_above and g...
    - 460272 GtkFrame publishes incorrect defaults for "label-xalign"
    - 460534 No expose events if input swamps main loop with scrolled ...
    - 461225 gtk_tree_view_set_tooltip_cell() documentation: cell
     -463907 'Recent Documents' is broken in gnome-panel 2.19.5 (LP: #131266)
     -464528 gdk_rectangle_union() and gdk_rectangle_intersect() shoul...
    - 465039 "keynav-failed" signal not emitted when treeview has just...
    - 467003 tooltips do not pick up theme changes
    - 467117 Documentation for the GtkPaned key binding signals
    - 467414 gtkcupsutil.c won't build with cups 1.3
    - 468055 Incorrect compose mapping for capital U with macron (LP: #113721)
    - 468245 Tooltip timer doesn't get reset when mouse leaves into ot...
      (LP: #135076)
    - 469214 Recently used blocks side-panel browsing until loaded
    - 469374 menu accelerators don't work
    - 469395 make dist failure
    - 471132 Highlighting a suggestion with the keyboard changes the U...
      (LP: #134304)
    - 471215 Cursor drawing broken
    - 472974 gtk-builder-convert doesn't set correctly the tab label f...
    - 472981 make gtk-builder-convert not remove some empty properties
    - 356630 Print to file dialog suggests "output.pdf" even for ps ou...
    - 447883 PATCH Documentation about SVN in HACKING and README.cvs-c...
    - 459340 GtkContainer API documentation refers deprecated gtk_widg...
    - 459732 build system: cups detection with only cups-config might ...
    - 460207 there a...


Changed in gtk+2.0:
status: Fix Committed → Fix Released
Changed in gtk:
importance: Unknown → Medium
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.