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 793220 - Can't input CJK characters in the transaction description field
Can't input CJK characters in the transaction description field
Status: RESOLVED FIXED
Product: GnuCash
Classification: Other
Component: General
2.7.x
Other Windows
: Normal major
: ---
Assigned To: gnucash-general-maint
gnucash-general-maint
: 794146 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2018-02-06 14:31 UTC by Explorare Nota Seniorious
Modified: 2018-06-30 00:04 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Explorare Nota Seniorious 2018-02-06 14:31:19 UTC
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

#Environment
GnuCash v2.7.4
Windows 10 Enterprise x64 zh-CN under en-US GUI
Microsoft(MS) IME

#Issue
As is reported in #399351, the issue happened again on the recent unstable release v2.7.4, which the CJK characters can't be inputted into the description field in the transaction tab. The input method is the Windows 10 built-in MS IME. The field just stayed blank without any characters or spaces when inputting. But copy and paste would work fine just like usual. But the keyword field in the "Find Transaction" window didn't have this issue.
-----BEGIN PGP SIGNATURE-----
Comment: My long ID: DCCE F8C4 DFEA 27C8

iHUEARYIAB0WIQSudLywE8VczkSeYl8lDXrspES2GQUCWnm6QAAKCRAlDXrspES2
GU0wAQD5IMA2/+Zo0tx8QVoLcsEW9nqLQVMatIBvtDYp86LjgQD/Sgysol2ysB8H
ZmpVAaZcvt1WETWua9iwEaOib2C2HQc=
=539a
-----END PGP SIGNATURE-----
Comment 1 John Ralls 2018-02-13 17:05:33 UTC
This turns out to be a problem in the Mingw-w64 supplied gtk3 installation, which builds the immodules as static libraries. That's a rather bizarre fallback mechanism to allow them to be tested but doesn't work for actual usage because static libraries can't be dlopened, so they're useless.
Comment 2 John Ralls 2018-02-14 01:44:41 UTC
Hmm, that's not quite right. The modules are being built static but they're also getting incorporated into libgtk-3.dll. gtk-query-immodules-3.0 can't find them there. More study required.
Comment 3 John Ralls 2018-03-07 14:33:29 UTC
*** Bug 794146 has been marked as a duplicate of this bug. ***
Comment 4 John Ralls 2018-03-14 00:57:52 UTC
I just tested this with 2.7.6 and the Microsoft Pinyin IME and it works at least as far as I can tell: I can engage the IME, type the beginning of a syllable, be offered a selection of characters across the bottom of the screen, select one by typing its number, and the character displays in the description field.

Can you try with 2.7.6 and see if it works for you?
Comment 5 Explorare Nota Seniorious 2018-03-14 01:18:22 UTC
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

(In reply to John Ralls from comment #4)
> I just tested this with 2.7.6 and the Microsoft Pinyin IME and it works at
> least as far as I can tell: I can engage the IME, type the beginning of a
> syllable, be offered a selection of characters across the bottom of the
> screen, select one by typing its number, and the character displays in the
> description field.
> 
> Can you try with 2.7.6 and see if it works for you?

Thanks for your reply.

I tried the new built 2.7.6-1-g2391db37c+ but it still didn't work. Here is a record of what I got.

https://www.dropbox.com/s/lsqqm1b50phjcln/2018-03-14%2009-11-05.mp4?dl=0
-----BEGIN PGP SIGNATURE-----

iHUEARYIAB0WIQSudLywE8VczkSeYl8lDXrspES2GQUCWqh4NgAKCRAlDXrspES2
GSMnAQDBZsxH0JiJo+rzBKS/vMp9oW/LZsolFbtTa4m+lJ9LFQEAyBVss9GeMzOP
98tVJ+V6IgfJY4pk7Yk9Qe913bWw7QA=
=xadc
-----END PGP SIGNATURE-----
Comment 6 gorf 2018-03-19 08:20:33 UTC
I tried 2.7.7, it still didn't work.
Comment 7 John Ralls 2018-03-19 13:17:49 UTC
No surprise, I didn't have time to work on it last week. The video is helpful, thanks for making it.
Comment 8 John Ralls 2018-03-19 20:41:52 UTC
Unfortunately I still can't reproduce the problem. My turn for a video:
https://photos.app.goo.gl/sG0CofNyMHh0MF4y2

Maybe you're using a different IM?
Comment 9 gorf 2018-03-20 05:48:10 UTC
I can input Chinese now. But I change nothing. same gnucash version 2.7.7, same datafile.
Comment 10 John Ralls 2018-03-20 13:59:25 UTC
The datafile shouldn't matter. It's weird enough that it works in some controls and not others, and for some users and not others.

Explorare, how about you?
Comment 11 Explorare Nota Seniorious 2018-03-20 14:41:59 UTC
(In reply to John Ralls from comment #10)
> The datafile shouldn't matter. It's weird enough that it works in some
> controls and not others, and for some users and not others.
> 
> Explorare, how about you?

This issue still exists in my production environment. I'm currently building a test environment using virtual machine.
Comment 12 Explorare Nota Seniorious 2018-03-22 14:42:58 UTC
(In reply to John Ralls from comment #10)
> The datafile shouldn't matter. It's weird enough that it works in some
> controls and not others, and for some users and not others.
> 
> Explorare, how about you?

I've tested it in test environment and it wouldn't work as I expected. The test environment is a Windows 1709 with Simplified Chinese language.
Here is another record of this test.
https://www.dropbox.com/s/uyldamrfapeoct6/2018-03-22_22-35-52.mp4?dl=0
Comment 13 John Ralls 2018-03-29 20:17:39 UTC
Explorare, please test with 2.7.8. Your video shows you're still using 2.7.4.
Comment 14 Explorare Nota Seniorious 2018-03-30 00:03:21 UTC
(In reply to John Ralls from comment #13)
> Explorare, please test with 2.7.8. Your video shows you're still using 2.7.4.

It works again in 2.7.8. Thanks.
Comment 15 gorf 2018-06-05 08:46:18 UTC
It still not work in 3.1.
Comment 16 Geert Janssens 2018-06-05 09:12:25 UTC
gorf for 3.1 this is currently being tracked by bug 795253.

Please test with the latest nightly build:
https://wiki.gnucash.org/builds/win32/maint/
and report your findings on bug 795253

Note the "latest" is the one dated most recently, not with the highest version number! (There's currently a bad build with number 3.900, but you'll want to test the most recent 3.1 build).
Comment 18 gorf 2018-06-06 02:51:26 UTC
I tried this version. I can input Chinese primarily. But maybe cannot input later, randomly. I still cannot find the regular.
Comment 19 John Ralls 2018-06-06 03:17:00 UTC
Could you elaborate on that a bit?
And since this bug is closed it would be better to discuss on bug 795253 as Geert told you in comment 16.
Comment 20 John Ralls 2018-06-30 00:04:18 UTC
GnuCash bug tracking has moved to a new Bugzilla host. This bug has been copied to https://bugs.gnucash.org/show_bug.cgi?id=793220. Please update any external references or bookmarks.