Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Changing keyboard input method system to hime cause crashes when pressing buttons in QtCreator #565

Open
KKyang opened this issue Mar 9, 2017 · 2 comments

Comments

@KKyang
Copy link

KKyang commented Mar 9, 2017

If I change the input method to hime, QtCreator will crash if I press any button that will pop out a dialog window. Since the kernel yet doesn't work perfectly with the Ryzen CPU, I'll post my hardware and the error message below. Thanks.

Operating system: Ubuntu 16.04
Kernel: 4.10.1-041001-generic
CPU and motherboard: Ryzen 1700x with B350M-plus

The error message:

(qtcreator:4396): Gtk-WARNING **: Invalid input string

(qtcreator:4396): Gtk-WARNING **: Invalid input string

(qtcreator:4396): GLib-GObject-WARNING **: cannot register existing type 'GtkIMContext'

(qtcreator:4396): GLib-CRITICAL **: g_once_init_leave: assertion 'result != 0' failed

(qtcreator:4396): GLib-GObject-CRITICAL **: g_type_register_dynamic: assertion 'parent_type > 0' failed

(qtcreator:4396): GLib-GObject-CRITICAL **: g_object_new: assertion 'G_TYPE_IS_OBJECT (object_type)' failed
^Z
[3]+  Stopped                 ./qtcreator
@brchiu
Copy link

brchiu commented May 9, 2017

Operating system: Ubuntu 17.04
Kernel: 4.10.0-20-generic
CPU and motherboard: Intel(R) Core(TM) i7-6700HQ CPU @ 2.60GHz on ASUS X550V

On Ubuntu 17.04 and Lubuntu 17.04, I also encounter this problem when trying to open file dialog in Kolourpaint and Virtualbox. Most applications can safely open file dialog, for example, LibreOffice, Chrome browser, Firefox, Document Viewer ......

This is the gdb backtrace log when trying to open existing file in Kolourpaint.

@brchiu
Copy link

brchiu commented May 9, 2017

OK, I found that the hime version used by Ubuntu 17.04 is 0.9.10+git20150916+dfsg1-8build1~3.
I clone this git repository and build hime_0.9.10+git20170509-1_amd64.deb and install it.
The crash problem solved.

@KKyang FYI.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants