bugFreeciv - Bugs: bug #21038, Many GUI problems with CJK input...

 
 
Show feedback again

bug #21038: Many GUI problems with CJK input method => replace gtk2 DLLs with version >=2.24.14

Submitted by:  taka <taka>
Submitted on:  Mon 19 Aug 2013 09:55:51 AM UTC  
 
Category: client-gtk-2.0Severity: 4 - Important
Priority: 5 - NormalStatus: Confirmed
Assigned to: Christian Prochaska <cproc>Open/Closed: Open
Release: 2.4.3, 2.5.0-beta1Operating System: Microsoft Windows
Planned Release: 2.4.4, 2.5.0-beta2

Add a New Comment (Rich MarkupRich Markup):
   

You are not logged in

Please log in, so followups can be emailed to you.

 

(Jump to the original submission Jump to the original submission)

Sun 02 Nov 2014 01:17:13 PM UTC, comment #65:

>Out of interest, why do you still need 2.3?


Because 2.3 AI are far aggressive and strong than that of 2.4!
It's only Australopithecus who enjoy playing with them.

2.3 had become perfect in ver2.3.4, but ver 2.3.5 completely ruined it.
I'd like you to release ver 2.3.6 and complete 2.3.

Anonymous
Sun 19 Oct 2014 01:44:12 PM UTC, comment #64:

>Is there still a multiplayer community using it?

Yes, Longturn is still using 2.3
Both LT33 and the current ladder wars are likely to continue for a few more months. If 2.5 is released in the next six months it is likely that Longturn will move to 2.5 and skip 2.4 Otherwise LT34 could also be on 2.3 as well.

Anonymous
Sat 18 Oct 2014 11:59:14 PM UTC, comment #63:

> 1 Are there a plan to release the new official GTK2 packages
> with this DLLs?
> 2 If so, when?

Assuming you mean Freeciv packages as taka says:

I'd like to release 2.5.0-beta2 with the new Gtk2 DLLs first, because that's what we planned already and it gives users a chance to shake out any issues before a stable release. There are some blockers still for that release.

I want to make a stable 2.4.4 release shortly after that, because it has a number of important fixes (including this one).

> 3 ver2.3.5 is a final release but has this serious problem.
> Can you release "real" final version 2.3.6 for 2.3 players
> (including me) ?

I'd rather not do a full 2.3.6 release; we don't really have the resources to support four or five branches simultaneously (2.3 oldstable, 2.4 stable, 2.5 beta, 2.6 branching soon, then trunk).

Would the existing 2.3.5(Gtk 2.16.6) test build do?

Out of interest, why do you still need 2.3? Is there still a multiplayer community using it?
(I wasn't that convinced that 2.3.5 was worth our while, after we released it, as I heard very little back.)

Jacob Nevins <jtn>
Project Administrator
Sat 18 Oct 2014 11:37:07 PM UTC, comment #62:

> 1 Are there a plan to release the new official GTK2 packages with this DLLs?


"Official GTK2 packages" has been released by http://www.gtk.org.
You mean new Freeciv packages with bug fixed GTK+ DLLs, not GTK+ packages.

taka <taka>
Sat 18 Oct 2014 06:07:13 AM UTC, comment #61:

taka told me that he had also tested this package.
I'll report on behalf of him that the bugs don't arise in it.

Now I have some questions.
1 Are there a plan to release the new official GTK2 packages with this DLLs?
2 If so, when?
3 ver2.3.5 is a final release but has this serious problem.
Can you release "real" final version 2.3.6 for 2.3 players (including me) ?

Anonymous
Mon 13 Oct 2014 02:48:24 AM UTC, comment #60:

>Here's an installer package with the --with-included-immodules option added: http://download.gna.org/freeciv/packages/windows/testing/Freeciv-2.4.3-win32-gtk2(2.24.20-with-included-immodules)-setup.exe


I've tested it.
bug #21038, bug #22679 and bug22736, these bugs don't arise.
It's perfect!
I request to release Freeciv ver2.3.6 and ver2.4.4 with this dlls.

Anonymous
Sat 11 Oct 2014 06:32:17 PM UTC, comment #59:

Here's an installer package with the --with-included-immodules option added: http://download.gna.org/freeciv/packages/windows/testing/Freeciv-2.4.3-win32-gtk2(2.24.20-with-included-immodules)-setup.exe

Christian Prochaska <cproc>
Project AdministratorIn charge of this item.
Sat 11 Oct 2014 05:21:31 AM UTC, comment #58:

>Provided that adding --with-included-immodules (needed for bug >#22679) doesn't make it more complicated, I think we should go >with your homebuilt Gtk2 for the next release (probably 2.5.0-beta2).


There is a bug in input/modules/Makefile.am that means it won't compile on windows. The fix is on line 206, there is an extra slash in "$(DESTDIR)/$(bindir)", which should be simply "$(DESTDIR)$(bindir)"

mentioned here https://bugzilla.gnome.org/show_bug.cgi?id=734563

Anonymous
Tue 07 Oct 2014 12:00:21 AM UTC, comment #57:

cproc, comment #47:

> I've created a 2.4.3 installer package with GTK 2.4.20 built
> from source (just configure, make, make install):

Thanks, that sounds very promising! I didn't expect it to be that easy.
Provided that adding --with-included-immodules (needed for bug #22679) doesn't make it more complicated, I think we should go with your homebuilt Gtk2 for the next release (probably 2.5.0-beta2).

Jacob Nevins <jtn>
Project Administrator
Mon 06 Oct 2014 11:57:24 PM UTC, comment #56:

Yes, comment #54 (1) is by design (sorry).
(2) and (3) sound like expected consequences of bug 668239 which this bug is about: the second time any widget is displayed it becomes unresponsive. Nothing new there.

Jacob Nevins <jtn>
Project Administrator
Sat 04 Oct 2014 03:17:06 AM UTC, comment #55:

> 1. I tried to log in [...] using a Korean (Hangul) Login name.

I think comment #54 is another bug.
And...does freeciv-server allow multibyte encodings for login name?

taka <taka>
Fri 03 Oct 2014 03:59:03 PM UTC, comment #54:

I have found another symptom of this bug. Found with Freeciv-2.5.0-beta1-gtk2. The bug (number 3 in this list) does not happen in English nor does it happen with a self compiled Freeciv-2.5.0-beta1-gtk2 (2.24.24.)

1. I tried to log in to a Korean server from a Korean client using a Korean (Hangul) Login name. I got a message in the client, 'You were rejected from the game. Invalid user name.' (in Korean). To me this seems to be a bug as well.

2. A second entirely different bug - after an invalid name attempt you cannot retype the login and try to connect again - you must cancel the login screen and start again from the welcome screen.

3. on Re-entering the network connection the Host, Port and Login form boxes are all blanked out and inaccessible. see msg20.jpg However many time you cancel and try again it remains in this state. The solution is to quit and start again.

(file #22508)

Anonymous
Tue 30 Sep 2014 02:38:51 AM UTC, comment #53:

> Though I can't find CJK bug , another bug is arising in it (bug #22679).

I think that is easy to fix. The compiler of the patch just needs to change (just configure, make, make install) to (just configure --with-included-immodules, make, make install)

Anonymous
Mon 29 Sep 2014 02:50:08 PM UTC, comment #52:

>http://download.gna.org/freeciv/packages/windows/testing/Freeciv-2.4.3-win32-gtk2(2.24.20)-setup.exe


I'm glad that this package was released.
Though I can't find CJK bug , another bug is arising in it (bug #22679).

>comment #50
>Hence this build of 2.24.20 contains none of the current gtk bugs.


So it's incorrect.
All of the problems isn't resolved yet.

Anonymous
Mon 29 Sep 2014 06:40:04 AM UTC, comment #51:

A comment about the official gtk packages. They contain an exact bundle. The scripts start from a clean build of the OS and then install an exact replica of the compiler from which the build is made. Every package included is built from the exact same components as when first made. This is all scripted.

The builds tend to be cautious and every package is an already stable older version. This is why the gtk packages even when new were often years behind the latest version.

The problem with doing things this way is that it is extremely tedious. The advantage is that you know exactly what is in the build.

Neither the crosser nor official varieties of the freeciv build use this approach which is why we get seemingly contradictory and confusing test results. BUT given that there is no official up-to-date build there is no choice but to use one of our own builds.

Anonymous
Mon 29 Sep 2014 04:29:46 AM UTC, comment #50:

I just tested both these packages using Korean
http://download.gna.org/freeciv/packages/windows/testing/Freeciv-2.4.3-win32-gtk2(2.24.10)-setup.exe
and
http://download.gna.org/freeciv/packages/windows/testing/Freeciv-2.4.3-win32-gtk2(2.24.20)-setup.exe

The latter 2.24.20 does not contain the CJK bug. The first does.

Neither show the GTK+ buttons are localized bug. This is an odd result that I will talk about in the thread for that bug. see bug #22608: Gtk buttons no longer localised on Windows.

Also neither have bug #21475: Text background problems with gtk2 >=2.24.21

Hence this build of 2.24.20 contains none of the current gtk bugs.

Anonymous
Sun 28 Sep 2014 07:05:05 PM UTC, comment #49:

For comparison, a 2.4.3 installer with GTK+ 2.24.10 built from source:

http://download.gna.org/freeciv/packages/windows/testing/Freeciv-2.4.3-win32-gtk2(2.24.10)-setup.exe

Chatline input is broken, but the GTK+ buttons are localized.

Christian Prochaska <cproc>
Project AdministratorIn charge of this item.
Sun 28 Sep 2014 04:37:23 PM UTC, comment #48:

It's 2.24.20, of course, not 2.4.20.

http://download.gna.org/freeciv/packages/windows/testing/Freeciv-2.4.3-win32-gtk2(2.24.20)-setup.exe

Christian Prochaska <cproc>
Project AdministratorIn charge of this item.
Sun 28 Sep 2014 04:34:43 PM UTC, comment #47:

I've created a 2.4.3 installer package with GTK 2.4.20 built from source (just configure, make, make install):

http://download.gna.org/freeciv/packages/windows/testing/Freeciv-2.4.3-win32-gtk2(2.4.20)-setup.exe

Chatline input seems to work and GTK+ buttons are localized again (interestingly they were also localized when I tried with 2.4.10 built from source). I haven't done more testing.

Christian Prochaska <cproc>
Project AdministratorIn charge of this item.
Sat 27 Sep 2014 12:59:47 PM UTC, comment #46:

> I used the gtk-builder-win method to compile gtk 2.24.24.
> I tested it in a self compiled version of 2.5 beta 1.
> I confirm that the CJK bug is fixed in later versions of gtk.

Thank you for testing.

However, we know that the appearance of this symptom can depend on how exactly you build (comment #42), so this isn't proof in itself.

Can you do a test build against a known-buggy version of Gtk (such as 2.24.10) as a control, and see if you can reproduce the CJK symptom?

If you do, it would then be helpful to try the versions for which packages are available under here for which the minefield wiki page does not list other known bugs. I would start with 2.24.8.

This might let us identify a version against which we could build official packages, without having to overhaul our Windows build arrangements.
(Arguably we should become more self-sufficient with Gtk builds per some of the suggestions here, since upstream are being so hopeless, but this would let us get a quick low-risk fix out.)

Jacob Nevins <jtn>
Project Administrator
Thu 25 Sep 2014 05:18:53 PM UTC, comment #45:

I used the gtk-builder-win method to compile gtk 2.24.24.
I tested it in a self compiled version of 2.5 beta 1.

I confirm that the CJK bug is fixed in later versions of gtk.

Anonymous
Tue 23 Sep 2014 07:25:11 AM UTC, comment #44:

We are not the only ones to be suffering from the lack of recent windows gtk+ builds. A discussion and solution is mentioned here http://blogs.gnome.org/nacho/2014/06/26/gtk-builder-for-windows/

I will look at getting gtk-builder-win to work.

Anonymous
Mon 22 Sep 2014 08:28:30 AM UTC, comment #43:

Some good news for XP users see. comment #29: Recent versions of gtk will not run on my machine because I use XP.

They just fixed this bug - http://comments.gmane.org/gmane.comp.gnome.svn/866626

Only use rand_s() when targetting Visual Studio >= 2005 This makes GLib work again on Windows XP.

So I can use all glib versions prior to 2.4.0 and after 2.41.5 but not in between.

Anonymous
Mon 22 Sep 2014 08:01:12 AM UTC, comment #42:

> Even though the libgtk dll might be the same there are a dozen
> other dlls in the package that vary.

taka tracked this symptom down to a specific upstream bug whose fix was in libgtk, though, so it's reasonable to start out assuming that it correlates specifically with that DLL and the others don't matter.

However, this sort of thing is why I wanted to test a crosser 2.24.10 build. And indeed now I've tried cazfi's 2.24.10 build, I can't reproduce this CJK symptom with it. So it seems we can't use crosser builds to investigate this problem (for some reason that I don't propose to try to investigate).

Jacob Nevins <jtn>
Project Administrator
Mon 22 Sep 2014 04:36:39 AM UTC, comment #41:

Am not sure comparing the crosser builds against the official release of gtk is useful.

Even though the libgtk dll might be the same there are a dozen other dlls in the package that vary.

Anonymous
Sun 21 Sep 2014 05:26:29 PM UTC, comment #40:

> crosser against gtk2 2.24.10

Thanks. I've grabbed it (if you want to free the space) but can't try it right now.

Jacob Nevins <jtn>
Project Administrator
Sun 21 Sep 2014 05:07:53 PM UTC, comment #39:

crosser against gtk2 2.24.10:

http://www.cazfi.net/~cazfi/win32stack-0.13.3.2.7z
http://www.cazfi.net/~cazfi/freeciv-win32-2.5.0-beta1+-r26519.7z

Marko Lindqvist <cazfi>
Project Administrator
Sun 21 Sep 2014 11:14:56 AM UTC, comment #38:

> would there be some specific need to use 2.24.10 instead of
> 2.24.20?

This is specifically to determine whether any crosser builds are capable of showing this CJK symptom.

> Some TRUNK, and one S2_5, build with 2.24.20 using crossers are
> still available from http://www.cazfi.net/freeciv/builds/win.html
> Are these suffering from any of the gtk+ -bugs?

As I say, I tried a 2.24.20 crosser build I had lying around (a 2.4.1+ build with win32stack-0.12) and did not reproduce the issue.

If we can confirm that a 2.24.10 crosser build does show the issue, we will then know that Gtk 2.24.4, 2.24.8, 2.24.19, and 2.24.20 are immune, which will give us a way forward with the official Gtk packages.

Jacob Nevins <jtn>
Project Administrator
Sun 21 Sep 2014 11:09:43 AM UTC, comment #37:

> A crosser build built against 2.24.10


Wtih crosser-builds were not limited to those versions official gtk-build exist (they are not used even if build for same version exist), so would there be some specific need to use 2.24.10 instead of 2.24.20? Former would require making special build of the crosser while latter is what recent official releases have.

Some TRUNK, and one S2_5, build with 2.24.20 using crossers are still available from http://www.cazfi.net/freeciv/builds/win.html
Are these suffering from any of the gtk+ -bugs?

Marko Lindqvist <cazfi>
Project Administrator
Sun 21 Sep 2014 10:54:48 AM UTC, comment #36:

> I made special crosser version with gtk+-2.24.8 in case that's
> of any help.

I tried this and was unable to reproduce any CJK trouble with it (contrary to my hypothesis).
However, I've never seen CJK trouble in any crosser build. I tried a bunch of others I had lying around (with Gtk versions 2.24.4, 2.24.19, 2.24.20) and found CJK trouble in none of them; while none of these are known to have the issue (and some are expected not to), it's possible that there's something about crosser builds that masks the issue.
A crosser build built against 2.24.10 (which is known to be broken in standard builds) would resolve this (with the ultimate aim of trying to find out whether using 2.24.8 for the next official release will help).

Jacob Nevins <jtn>
Project Administrator
Sun 21 Sep 2014 10:51:10 AM UTC, comment #35:

>> 2) Not activity GtkSpinButton
>> Okay - no problem changing gold in the diplomacy dialog.
> Did you switch the dialog or tab?

(You weren't replying to me but) ah, yes, I can reproduce trouble in the treaty gold after switching away from the treaty tab and back.
(In fact all of these symptoms seem to occur after the first time a widget is hidden and re-showed. For instance the very first time help is displayed it's OK, but after switching tabs in the notebook it's broken; and the chatline's OK in the first pregame screen in a session. Be careful of this when diagnosing this issue.)

Jacob Nevins <jtn>
Project Administrator
Sun 21 Sep 2014 01:29:14 AM UTC, comment #34:

> If anyone with Windows build skills has the time, it might be
> worth doing a test build against 2.24.8, but given the above I
> suspect it'll have broken CJK.


I had no chance to replace gtk version in the installer build environment, but I made special crosser version with gtk+-2.24.8 in case that's of any help.

As always, these test builds won't live long in the server:
http://www.cazfi.net/~cazfi/win32stack-0.13.3.1.7z
http://www.cazfi.net/~cazfi/freeciv-win32-2.5.99-dev-r26519.7z

Marko Lindqvist <cazfi>
Project Administrator
Sun 21 Sep 2014 01:26:12 AM UTC, comment #33:

> to test the reported bugs in a Korean version of Freeciv-2.5.0-beta1-gtk2
>
> 2) Not activity GtkSpinButton
> Okay - no problem changing gold in the diplomacy dialog.


Did you switch the dialog or tab?

This is a replay video in Game Setting dialog. (Flash file, 5M, will be deleted after one month)
http://fast-uploader.com/file/6966815907571/?type=download
(to download, click middle link written in Janapnese)

taka <taka>
Sat 20 Sep 2014 05:29:57 PM UTC, comment #32:

I've just noticed that in the upstream report for this CJK bug, 668239, the first response mentions 658841, which is coincidentally what I'd tentatively blamed our bug #21272 on.

I'm not sure what Michael Natterer intended to imply by this, but if it's that the fix for the second bug caused the first, then the fixes for these two bugs are actually mutually exclusive rather than coincidentally so. Gngrh.

If anyone with Windows build skills has the time, it might be worth doing a test build against 2.24.8, but given the above I suspect it'll have broken CJK.

Jacob Nevins <jtn>
Project Administrator
Sat 20 Sep 2014 04:23:23 PM UTC, comment #31:

Thanks.

I don't think symptom 4 (bug #22608) is related to everything else here, so let's keep it out of this bug.

Meanwhile, I've reproduced symptoms 1 and 3 (unable to use chatline in main window) myself with English windows and ja/ko localisations. I couldn't reproduce 2 (inability to manipulate treaty gold spinner) but am treating 1/3 as diagnostic of the underlying problem.

For what it's worth, I also went back to Freeciv 2.3.0 (as this used the intermediate Gtk version 2.22.1) and was unable to reproduce the problem. I don't seriously suggest we go back to 2.22.1, but it's another flag in the Gtk version minefield (since we don't know what Gtk version this started with).

I also tried cazfi's Gtk3 test builds and had no trouble with 3.6.4, 3.8.2, or 3.10.4, which is all consistent with when we thin the upstream bug was fixed. I didn't test IME though. (Unfortunately I wasn't able to try Gtk3 3.4.2.) Basically no-one has reported any trouble with any Gtk3 build we've made, and it looks like any build we're likely to make will be fine in this regard.

Jacob Nevins <jtn>
Project Administrator
Sat 20 Sep 2014 02:24:03 PM UTC, comment #30:

Going back to original submission: to test the reported bugs in a Korean version of Freeciv-2.5.0-beta1-gtk2 I have a problem in 3 of the 4 mentioned bugs.

1) Texts disappear
Bug - there is no help
2) Not activity GtkSpinButton
Okay - no problem changing gold in the diplomacy dialog.
3) Can not input any texts
Bug - there is no chat
4)Gtk buttons no longer localised on Windows
Bug - Yes/No dialog on the quit popup is in English

Now testing with Korean version of Freeciv-2.5.0-beta1-gtk3 no problem with all 4 of the previous CJK bugs
1) Texts disappear
Okay - no problem with help
2) Not activity GtkSpinButton
Okay - no problem changing gold in the diplomacy dialog.
3) Can not input any texts
Okay - there is chat
4)Gtk buttons no longer localised on Windows
Okay - Yes/No dialog on the quit popup is in Korean

Anonymous
Sat 20 Sep 2014 05:23:31 AM UTC, comment #29:

"If you choose to compile Freeciv from source, you likely fit one or more descriptions: You like to run with scissors." Very true. see http://freeciv.wikia.com/wiki/Install-Windows

I do have a mingw / msys compiler and have compiled freeciv in the past. The gtk+ pack needed comes with all the header files and .a files so that compiler knows how to link everything in. Swapping the dlls in later is not possible.

I just downloaded the crosser build and winstack. Sadly it appears we have run into another brick wall with gtk. Recent versions of gtk will not run on my machine because I use XP. I get an error "procedure entry point rand_s could not be located in msvcrt.dll"

The cause is https://git.gnome.org/browse/glib/commit/glib/grand.c?id=0e1924a66c642d4aa4a30b97cff509903f972435

I cannot use / test any gtk module built after 2013-10-25 without updating my machine. I do not intend to update windows from now on, so will soon swap to linux. No more running with scissors.

Anonymous
Sat 20 Sep 2014 03:34:33 AM UTC, comment #28:

to comment24
I have GIMP2.8.10 (GTK2.24.18)
I've tried as you said, but this dlls can't start Freeciv ver2.4.3

Anonymous
Fri 19 Sep 2014 07:39:33 PM UTC, comment #27:

> Or at least, try to copy this dlls from the installed
> directories of gimp to the directories of freeciv.

Are different versions of Gtk binary-compatible in the way this would require? If Freeciv needs to have been built against headers and/or stubs matching the DLLs then we can't do this.
And might DLLs built in different ways not be binary-compatible?

(I'm clueless about building for Windows, so I can't generally say which ways forward are feasible. I think cazfi and cproc will have more idea.)

Jacob Nevins <jtn>
Project Administrator
Fri 19 Sep 2014 05:03:27 PM UTC, comment #26:

For the brave, someone could test if my crosser-builds suffer from this bug. As gtk+ for that system gets built as part of it, it does not depend on official gtk+ builds but currently uses gtk2-2.24.20 (can't go to versions 2.24.21 or above due to another bug in those).

http://www.cazfi.net/freeciv/builds/win.html

Also, about the available gtk3 bundles (of which gnome links only to 3.6.4 as current official build), I created test builds earlier this year:
http://download.gna.org/freeciv/packages/windows/testing/cazfi/gtk3-test/

Marko Lindqvist <cazfi>
Project Administrator
Fri 19 Sep 2014 04:58:26 PM UTC, comment #25:

Another option is to download a Visual C++ build of GTK+ here.

http://hexchat.github.io/gtk-win32/

They have binaries of the latest version which is 2.24.24

Anonymous
Fri 19 Sep 2014 03:24:40 PM UTC, comment #24:

Then we could grab the ddls distributed by gimp and use them...

Or at least, try to copy this dlls from the installed directories of gimp to the directories of freeciv. And then checks to see if the error is present... Can somebody do that?

Jordi Negrevernis i Font <jorneg>
Project Member
Fri 19 Sep 2014 02:41:48 PM UTC, comment #23:

Comment #22:

> I propose releasing test packages "Freeciv-2.3.5-win32-gtk2(2.24.16)" and "Freeciv-2.4.3-win32-gtk2(2.24.16)".


Once again: our Windows builds are currently reliant on pre-built Gtk2 binaries, that are released by the Gtk+ project here (section "GTK+ 2.x").

That is, our choice of versions is limited to those you can find here.

2.24.16 is not included in this list. So, with our current Windows build arrangements, what you propose is not an option.

We are being blocked by Gtk+ upstream. taka has asked them to release a new Windows package a year ago, and I asked them again this week. But they don't look likely to ever do so.

The only ways we can progress this:

  1. Downgrade our Gtk2. If we go all the way back to 2.16.6 we get bug #21272 back (which I think is not as trivial as comment #21 implies). There appear to be other versions available in between, but we don't know for sure which of them fixed bug #21272, when this CJK regression crept in, and what other known and unknown bugs we are going to get. I don't know if there are other blockers to using those intermediate versions.
  2. Accelerate Gtk3. Here again we are screwed by upstream as it looks like their latest official Windows release (3.6.4) has a fatal bug for us (bug #20999). However, someone recently dug up http://win32builder.gnome.org/ (in another bug); are these bundles of any use?
  3. Learn to roll our own Gtk builds from source. I don't know anything about building for Windows so I don't know how much work this is (cproc?) but it's clearly not zero.

In the meantime, I have acknowledged this major issue on our known bugs page.

> The same bug had occured on GIMP (graphics editor).
> Now it's released with GTK2 ver2.24.18 attached.


Presumably they build their own Gtk2 from source (option 3). Since Gtk is the "GIMP toolkit" it's not surprising that they are able to do so.

Re option 2: comment #21 confirms that the help browser works in Korean with Gtk 3.6.4. Can someone who was suffering from the other symptoms described in comment #17 confirm that they are not present in our Gtk3 builds?

--jtn

Anonymous
Fri 19 Sep 2014 02:09:38 PM UTC, comment #22:

It has been over 1 year since taka had first reported this bug (before ver2.4.0 released).
We have been very disappointed each time when newer version of Freeciv was released.
It is deplorable that the bug has not been fixed yet.

The same bug had occured on GIMP (graphics editor).
Now it's released with GTK2 ver2.24.18 attached.
This is the only solution for the bug.
Freeciv also should fix it in the same way as GIMP.

Or, for CJK users, I propose releasing test packages "Freeciv-2.3.5-win32-gtk2(2.24.16)" and "Freeciv-2.4.3-win32-gtk2(2.24.16)".
(like Freeciv-2.3.5-win32-gtk2(2.16.6), this has been already released.)
If no bugs are reported afterward, you should adopt officially GTK2 ver2.24.16.

Anonymous
Tue 16 Sep 2014 03:18:27 AM UTC, comment #21:

Am not the poster of comment 19

An alternative to upgrading gtk2 to 2.24.14 is to downgrade gtk2 back to 2.16.6. This re-exposes the bug #21272. That bug in gdk_win32_drawable_get_handle()seems to rarely occur and is probably less of an annoyance than the CJK failures.

Moving to Gtk3 is however a better alternative.

I just tested Freeciv-2.5.0-beta1-gtk3 in Korean and the help is visible. (And with the gtk2 it isn't)

Anonymous
Mon 15 Sep 2014 07:57:20 PM UTC, comment #20:

> It is clear ... and how to fix it.


No, it's not. As jtn said it's fixed in gtk2 version 2.24.14, but latest version available for Windows is 2.24.10.

> You mean that CJK users DON'T NEED to see a help browser?


Don't throw such accusations lightly.

> I hope that it will be improved immediately.


I hope you help (immediately?) by testing the experimental gtk3-client builds, as jtn asked.

I would not be surprised if gtk2 never gets another Windows release, most of the effort goes to gtk3 in any case, so it's possible this will never get fixed for gtk2-client.

Marko Lindqvist <cazfi>
Project Administrator
Mon 15 Sep 2014 01:45:45 PM UTC, comment #19:

taka said that gtk2 ver2.24.16 fixed this bug. (original submission)
It is clear why this bug occurs, what it causes, and how to fix it.
Nevertheless, why are you ignoring it?
You mean that CJK users DON'T NEED to see a help browser? (bug #22607)
I hope that it will be improved immediately.

Anonymous
Sun 14 Sep 2014 11:01:09 AM UTC, comment #18:

Thanks for the research, taka! So these three disparate symptoms (1)-(3) have a single root cause and fix, which looks like it went into Gtk+ 2.24.14 and 3.6.4.

(I'd missed that bug #22607 was previously reported here. Since the root cause is the same, let's keep it all in this ticket.)

We're still stuck here as before: the latest available official Windows package of Gtk2 is still 2.24.10. So all of our Gtk2 builds are going to be broken unless we somehow change our Gtk2 version.

The official Windows Gtk3 package is 3.6.4, which is supposedly fixed. Maybe this is a reason we should sort out our Gtk3 builds to release quality?
Perhaps it'd be worth a CJK user checking whether our experimental Gtk3 builds (2.4.3 or 2.5.0-beta1) are generally better for CJK use?
(Beware that they have several other known bugs, see task #7760.)


(Re comment #9: I double-checked, and 2.4.1 was released with Gtk+ 2.24.10, so should be affected by this bug.)

Jacob Nevins <jtn>
Project Administrator
Fri 12 Sep 2014 01:06:18 PM UTC, comment #17:

The bug has mainly three troubles:

1) Texts disappear
https://bugzilla.gnome.org/show_bug.cgi?id=668239 (main report)

2) Not activity GtkSpinButton
https://bugzilla.gnome.org/show_bug.cgi?id=674334 (sub report)

3) Can not input any texts
https://bugzilla.gnome.org/show_bug.cgi?id=678414 (sub report)

It seems that bug #22607 is 1) type bug.
For more details, read Bugzilla Bug 668239 (main report).

taka <taka>
Mon 17 Mar 2014 01:19:05 PM UTC, comment #16:

The bug report for the crash in comment #12: is at http://gna.org/bugs/index.php?21811

Anonymous
Mon 17 Mar 2014 08:17:06 AM UTC, comment #15:

The crash reported in comment #12: Access Violation
at location 7c82c914 has nothing to do with gtk so I have opened a separate bug report.

Anonymous
Sun 16 Mar 2014 03:46:53 AM UTC, comment #14:

> Sadly still true; and taka's upstream bug remains open (someone
> last poked it on Jan 6).


There's also an comment that 2.24.10 "has a massive memory leak on Windows, mostly fixed in 2.24.14". So I would be quite happy to have some version between 2.24.14 and 2.24.20 bulndled (as we're not aware of freeciv-affecting bugs in those)

Marko Lindqvist <cazfi>
Project Administrator
Sun 02 Mar 2014 04:44:55 AM UTC, comment #13:

This bug also causes a problem that all pages of the help browser becomes completely blank.
It's a extremely serious problem for beginners and need to be corrected as soon as possible.

Anonymous
Sun 16 Feb 2014 09:19:55 AM UTC, comment #12:

Yes - I can now confirm the problem with the Korean system.

My original comment #9 used an English system. You can use the Korean IME without problem with this setting.

But when I changed system settings and opened a Korean language freeciv I ran into problems. I could not type into the chat bar in either English or Korean.

I got this crash a few seconds later

+verbatim
Error occured on Sunday, February 16, 2014 at 18:10:48.

C:\Program Files\Freeciv-2.4.1-gtk2\freeciv-server.exe caused an Access Violation at location 7c82c914 in module C:\WINDOWS\system32\ntdll.dll Reading from location 00000004.

Registers:
eax=0003b6a8 ebx=00030000 ecx=01a93c08 edx=00000000 esi=0003b6a0 edi=0003b728
eip=7c82c914 esp=00239bc4 ebp=00239bd0 iopl=0 nv up ei pl zr na po nc
cs=001b ss=0023 ds=0023 es=0023 fs=003b gs=0000 efl=00010246

Call stack:
7C82C914 C:\WINDOWS\system32\ntdll.dll:7C82C914 RtlDeleteCriticalSection
7C82A69B C:\WINDOWS\system32\ntdll.dll:7C82A69B wcslen
77BBCEF6 C:\WINDOWS\system32\msvcrt.dll:77BBCEF6 free
76ED6108 C:\WINDOWS\system32\DNSAPI.dll:76ED6108 Local_GetRecordsForLocalName
76ED6143 C:\WINDOWS\system32\DNSAPI.dll:76ED6143 Local_GetRecordsForLocalName
7C81A19A C:\WINDOWS\system32\ntdll.dll:7C81A19A LdrInitializeThunk
7C830CE8 C:\WINDOWS\system32\ntdll.dll:7C830CE8 RtlSetThreadErrorMode
77E6689B C:\WINDOWS\system32\kernel32.dll:77E6689B GetVolumeInformationW
77E668FD C:\WINDOWS\system32\kernel32.dll:77E668FD ExitProcess
77BCADE4 C:\WINDOWS\system32\msvcrt.dll:77BCADE4 strerror
77BCAEFC C:\WINDOWS\system32\msvcrt.dll:77BCAEFC _initterm
77BCAF52 C:\WINDOWS\system32\msvcrt.dll:77BCAF52 exit
0040598C C:\Program Files\Freeciv-2.4.1-gtk2\freeciv-server.exe:0040598CDwarf Error: mangled line number section.
0044A466 C:\Program Files\Freeciv-2.4.1-gtk2\freeciv-server.exe:0044A466Dwarf Error: mangled line number section.
004A2A41 C:\Program Files\Freeciv-2.4.1-gtk2\freeciv-server.exe:004A2A41Dwarf Error: mangled line number section.
0043C442 C:\Program Files\Freeciv-2.4.1-gtk2\freeciv-server.exe:0043C442 server_handle_packet ../../../../server/hand_gen.c:42
004040C8 C:\Program Files\Freeciv-2.4.1-gtk2\freeciv-server.exe:004040C8
0043E6B5 C:\Program Files\Freeciv-2.4.1-gtk2\freeciv-server.exe:0043E6B5Dwarf Error: mangled line number section.
00406281 C:\Program Files\Freeciv-2.4.1-gtk2\freeciv-server.exe:00406281
00401C87 C:\Program Files\Freeciv-2.4.1-gtk2\freeciv-server.exe:00401C87Dwarf Error: mangled line number section.
004010DB C:\Program Files\Freeciv-2.4.1-gtk2\freeciv-server.exe:004010DB
00401178 C:\Program Files\Freeciv-2.4.1-gtk2\freeciv-server.exe:00401178
77E6F1EB C:\WINDOWS\system32\kernel32.dll:77E6F1EB ProcessIdToSessionId
-verbatim

Anonymous
Tue 11 Feb 2014 01:22:54 AM UTC, comment #11:

to comment #9

Did you change your system to Korean when you tested it?

Windows Control Panel - Regional Options - Language Settings
or
"set LANG=ko" in your system environment.

taka <taka>
Mon 10 Feb 2014 01:26:47 AM UTC, comment #10:

So:

  • the standard 2.3.5 Windows package has been built with Gtk 2.24.10, so we expect input method trouble for our original reporter
  • there is a test 2.3.5 build with Gtk 2.16.6 which should be OK wrt this symptom (as 2.3.4 was)
  • (2.4.2 is only available with Gtk 2.24.10, so there's no reason to hope for a fix there.)

It seems pretty likely that it is the Gtk version that's significant (since the original reporter identified a specific Gtk bug), but anyone who's having this trouble could try the two 2.3.5 builds and confirm that it occurs with one but not the other, just to rule out some difference in Freeciv between 2.3.x and 2.4.x.

Jacob Nevins <jtn>
Project Administrator
Sun 02 Feb 2014 08:00:56 AM UTC, comment #9:

I just downloaded Freeciv-2.4.1-win32-gtk2-setup.exe and tested the Korean IME. It works fine. I can type Korean in the chatline.

Anonymous
Sat 01 Feb 2014 10:56:06 AM UTC, comment #8:

> No, I don't have the problem.

Right, so, it sounds like we get to choose between having this bug and bug #21272 in the 2.3.5 release :(

See task #7763 for further discussion.

Jacob Nevins <jtn>
Project Administrator
Fri 31 Jan 2014 01:10:28 PM UTC, comment #7:

to comment #5

No, I don't have the problem.

>Can't enter text with Japanese input method


This bug occurs in CJK input method. (Chinese, Japanese, Korea)

taka <taka>
Mon 27 Jan 2014 10:32:05 PM UTC, comment #6:

I'm also a bit worried that once the updated dlls for Windows are available, they might activate bug #21475 for official builds.

Marko Lindqvist <cazfi>
Project Administrator
Mon 27 Jan 2014 10:29:13 PM UTC, comment #5:

taka, out of interest, do you have the same problem with the 2.3.4 Windows build, which uses a much older Gtk (2.16.6)?

Jacob Nevins <jtn>
Project Administrator
Mon 27 Jan 2014 10:22:58 PM UTC, comment #4:

> Unfortunately, the official GTK+ bundle for Windows [...]
> has not been updated yet.

Sadly still true; and taka's upstream bug remains open (someone last poked it on Jan 6).
So, I'm afraid 2.4.2 will not be able to fix this.

(Which is a shame, because if I'm reading the screenshot right, taka cannot use the chatline at all? Pretty major bug...)

Jacob Nevins <jtn>
Project Administrator
Tue 17 Sep 2013 10:52:40 PM UTC, comment #3:

OK, I reported to Bug 707760 in the GNOME bugzilla.
https://bugzilla.gnome.org/show_bug.cgi?id=707760

I'm looking forward to replacing DLL because I can't
input any commands in chat console if bug is occurred.
The bug makes me unhappy.

taka <taka>
Sun 08 Sep 2013 07:27:31 PM UTC, comment #2:

Unfortunately, the official GTK+ bundle for Windows (http://www.gtk.org/download/win32.php) has not been updated yet.

Christian Prochaska <cproc>
Project AdministratorIn charge of this item.
Wed 21 Aug 2013 10:26:41 PM UTC, comment #1:

For posterity: I had a bit set that we were deliberately using old Gtk2 to avoid some bug; but I think I was thinking of bug #18517, and it seems that the bug went away in newer Gtk2 (not seen with our current 2.24.10). So that's not a barrier to upgrading.

(For completeness, bug #18243 was another Gtk2-version-specific thing, but only on Linux so irrelevant here.)

Jacob Nevins <jtn>
Project Administrator
Mon 19 Aug 2013 09:55:51 AM UTC, original submission:

Windows packages contains the GTK+ for Windows
which version is 2.24.10 in Freeciv 2.4.0-RC1.
There are some bugs in the version 2.24.10.
Can you replace it to more new version?
Current version is 2.24.20 for 2.24 series.

-----

I can't input some texts in Freeciv 2.4.0-RC1
at Japanese input method environment. (see attachment file)

https://bugzilla.gnome.org/show_bug.cgi?id=668239
I think this bug is fixed in 2.24.12 and newer.
(I tested the gtk+ version 2.24.16, it's fine.)

taka <taka>

 

(Note: upload size limit is set to 1024 kB, after insertion of the required escape characters.)

Attach File(s):
   
   
Comment:
   

Attached Files
file #22508:  msg20.JPG added by None (41kB - image/jpeg)
file #18701:  gtkimecontext_bug.png added by taka (95kB - image/png)

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by jorneg (Posted a comment)
  • -unavailable- added by cazfi (Posted a comment)
  • -unavailable- added by jtn (Posted a comment)
  • -unavailable- added by cproc (Updated the item)
  • -unavailable- added by taka (Submitted the item)
  •  

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 13 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Sat 15 Nov 2014 04:43:31 PM UTCjtnStatusPostponed=>Confirmed
      Planned Release=>2.4.4, 2.5.0-beta2
    Fri 03 Oct 2014 03:59:03 PM UTCNoneAttached File-=>Added msg20.JPG, #22508
    Sun 14 Sep 2014 11:02:43 AM UTCjtnRelease2.4.0-RC1=>2.4.3, 2.5.0-beta1
    Sun 14 Sep 2014 11:01:09 AM UTCjtnSeverity3 - Normal=>4 - Important
      StatusNone=>Postponed
      SummaryCan\'t enter text with some CJK input methods => replace gtk+ DLLs with version >2.24.10=>Many GUI problems with CJK input method => replace gtk2 DLLs with version >=2.24.14
    Sun 02 Feb 2014 10:26:13 AM UTCjtnSummaryCan\'t enter text with CJK input methods => replace gtk+ DLLs with version >2.24.10=>Can't enter text with some CJK input methods => replace gtk+ DLLs with version >2.24.10
    Sat 01 Feb 2014 10:56:06 AM UTCjtnSummaryCan\'t enter text with Japanese input method => replace gtk+ DLLs with version >2.24.10=>Can't enter text with CJK input methods => replace gtk+ DLLs with version >2.24.10
    Mon 27 Jan 2014 10:25:49 PM UTCjtnSummaryReplace the gtk+ DLLs to newer version=>Can't enter text with Japanese input method => replace gtk+ DLLs with version >2.24.10
    Wed 21 Aug 2013 10:26:41 PM UTCjtnCategoryclient-win32=>client-gtk-2.0
    Mon 19 Aug 2013 04:48:00 PM UTCcprocAssigned toNone=>cproc
    Mon 19 Aug 2013 09:55:51 AM UTCtakaAttached File-=>Added gtkimecontext_bug.png, #18701
    Show feedback again

    Back to the top


    Powered by Savane 3.1-cleanup