2024-04-25 23:46 BST

View Issue Details Jump to Notes ]
IDProjectCategoryView StatusLast Update
0002272NetSurfGTK-specificpublic2016-11-22 21:51
ReporterAnthony J. Bentley 
Assigned ToVincent Sanders 
SeverityminorReproducibilityalways 
StatusclosedResolutionopen 
PlatformOSOpenBSDOS Version
Product Version3.2 
Target VersionFixed in Version3.6 
Summary0002272: Compose key doesn’t work with xim
DescriptionI have a compose key set up in X11 (in my case, bound to right alt). In addition, I have “GTK_IM_MODULE=xim” set in my environment (so that GTK doesn’t use its own set of compose sequences, but rather the sequences every other X app on my system uses). This works fine on other X11 and GTK apps on my (OpenBSD) system.

I get two kinds of behavior when I try to use the compose in NetSurf with GTK_IM_MODULE=xim set:

- In the search window or address bar, I hit “compose ' e”. No character appears in the widget, and the terminal spits out this error:

** (netsurf:12968): WARNING **: Error converting text from IM to UTF-8: Invalid byte sequence in conversion input

- In an input or textarea element within the rendered webpage, I hit “compose ' e”. Nothing happens when I hit compose, so “'e” appears in the widget.

If I unset GTK_IM_MODULE, both of the above cases work as expected; I get é, as defined by GTK’s default compose sequences.
TagsNo tags attached.
Fixed in CI build #
Reported in CI build #
URL of problem page
Attached Files

-Relationships
+Relationships

-Notes
Vincent Sanders

~0001401

Vincent Sanders (administrator)

seems this is a locale with input method interaction others have fixed this differently http://devel.aegisub.org/ticket/1205
Anthony J. Bentley

~0001418

Anthony J. Bentley (reporter)

In 3.6, I can now use the compose key in the address bar and search bar with GTK_IM_MODULE=xim. Thanks!
Vincent Sanders

~0001421

Vincent Sanders (administrator)

indeed, I sorted out not using the C locale throughout the browser and as a side effect it fixed this one.

Thanks for the report and letting me know we fixed it.
+Notes

-Issue History
Date Modified Username Field Change
2015-02-12 05:40 Anthony J. Bentley New Issue
2015-02-12 13:07 Vincent Sanders Assigned To => Vincent Sanders
2015-02-12 13:07 Vincent Sanders Status new => acknowledged
2015-02-12 13:07 Vincent Sanders OS => OpenBSD
2016-09-07 08:28 Vincent Sanders Note Added: 0001401
2016-11-21 03:10 Anthony J. Bentley Note Added: 0001418
2016-11-22 21:51 Vincent Sanders Note Added: 0001421
2016-11-22 21:51 Vincent Sanders Status acknowledged => closed
2016-11-22 21:51 Vincent Sanders Fixed in Version => 3.6
+Issue History