MantisBT - NetSurf
View Issue Details
0002272NetSurfGTK-specificpublic2015-02-12 05:402016-11-22 21:51
ReporterAnthony J. Bentley 
Assigned ToVincent Sanders 
PrioritynormalSeverityminorReproducibilityalways
StatusclosedResolutionopen 
PlatformOSOpenBSDOS Version
Product Version3.2 
Target VersionFixed in Version3.6 
Fixed in CI build #
Reported in CI build #
URL of problem page
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.
Attached Files

Notes
(0001401)
Vincent Sanders   
2016-09-07 08:28   
seems this is a locale with input method interaction others have fixed this differently http://devel.aegisub.org/ticket/1205
(0001418)
Anthony J. Bentley   
2016-11-21 03:10   
In 3.6, I can now use the compose key in the address bar and search bar with GTK_IM_MODULE=xim. Thanks!
(0001421)
Vincent Sanders   
2016-11-22 21:51   
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.

Issue History
2015-02-12 05:40Anthony J. BentleyNew Issue
2015-02-12 13:07Vincent SandersAssigned To => Vincent Sanders
2015-02-12 13:07Vincent SandersStatusnew => acknowledged
2015-02-12 13:07Vincent SandersOS => OpenBSD
2016-09-07 08:28Vincent SandersNote Added: 0001401
2016-11-21 03:10Anthony J. BentleyNote Added: 0001418
2016-11-22 21:51Vincent SandersNote Added: 0001421
2016-11-22 21:51Vincent SandersStatusacknowledged => closed
2016-11-22 21:51Vincent SandersFixed in Version => 3.6