[Bug 1162654] New: Kiten (KDE-edu) is broken
http://bugzilla.suse.com/show_bug.cgi?id=1162654 Bug ID: 1162654 Summary: Kiten (KDE-edu) is broken Classification: openSUSE Product: openSUSE Tumbleweed Version: Current Hardware: Other OS: Other Status: NEW Severity: Normal Priority: P5 - None Component: KDE Applications Assignee: opensuse-kde-bugs@opensuse.org Reporter: martin.doucha@suse.com QA Contact: qa-bugs@suse.de Found By: --- Blocker: --- Created attachment 829082 --> http://bugzilla.suse.com/attachment.cgi?id=829082&action=edit Kiten startup screen Kiten, the Japanese kanji dictionary included in KDE, is completely broken on Tumbleweed. I'll post a series of screenshots comparing Tumbleweed package with Gentoo package where Kiten works correctly. 1) On startup, Kiten automatically searches for the Japanese word 辞書 (jisho) which means "dictionary". On Tumbleweed, the built-in dictionary "edict" is not searchable and the lookup fails. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.suse.com/show_bug.cgi?id=1162654
http://bugzilla.suse.com/show_bug.cgi?id=1162654#c1
--- Comment #1 from Martin Doucha
http://bugzilla.suse.com/show_bug.cgi?id=1162654
http://bugzilla.suse.com/show_bug.cgi?id=1162654#c2
--- Comment #2 from Martin Doucha
http://bugzilla.suse.com/show_bug.cgi?id=1162654
http://bugzilla.suse.com/show_bug.cgi?id=1162654#c3
Christophe Giboudeaux
http://bugzilla.suse.com/show_bug.cgi?id=1162654
http://bugzilla.suse.com/show_bug.cgi?id=1162654#c4
--- Comment #4 from Martin Doucha
http://bugzilla.suse.com/show_bug.cgi?id=1162654
http://bugzilla.suse.com/show_bug.cgi?id=1162654#c5
--- Comment #5 from Martin Doucha
The files are there, no idea yet why kiten doesn't load them
Yes, the files are there. Kiten even logs into console that it's loading them on startup. My first hunch is that Kiten is trying to load them in some other encoding than UTF-8. Don't ask me why. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.suse.com/show_bug.cgi?id=1162654
http://bugzilla.suse.com/show_bug.cgi?id=1162654#c7
--- Comment #7 from Martin Doucha
http://bugzilla.suse.com/show_bug.cgi?id=1162654
http://bugzilla.suse.com/show_bug.cgi?id=1162654#c10
--- Comment #10 from Martin Doucha
Maybe the kanjidic file included in the edict package is broken?
Yes, I was about to say that. Checking for dictionary updates in the menu will fix search and kanji browser but radical selector will remain broken. $ file .local/share/kiten/kanjidic .local/share/kiten/kanjidic: ISO-8859 text, with very long lines $ file /usr/share/edict/kanjidic /usr/share/edict/kanjidic: UTF-8 Unicode text, with very long lines I guess that's what's going on. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.suse.com/show_bug.cgi?id=1162654
http://bugzilla.suse.com/show_bug.cgi?id=1162654#c11
--- Comment #11 from Wolfgang Bauer
http://bugzilla.suse.com/show_bug.cgi?id=1162654
http://bugzilla.suse.com/show_bug.cgi?id=1162654#c12
--- Comment #12 from Wolfgang Bauer
http://bugzilla.suse.com/show_bug.cgi?id=1162654
http://bugzilla.suse.com/show_bug.cgi?id=1162654#c13
--- Comment #13 from Martin Doucha
Downloading radkfile from kiten's git repository and copying it to ~/.local/share/kiten/ does seem to fix the radical selector.
Confirmed. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.suse.com/show_bug.cgi?id=1162654
http://bugzilla.suse.com/show_bug.cgi?id=1162654#c14
--- Comment #14 from Wolfgang Bauer
It could be that all the problems come from the fact that we replace the datafiles included in kiten (edict kanjidic radkfile) with symlinks to the ones from edict. Btw, this was introduced a bit over a year ago: https://build.opensuse.org/request/show/651896
I'm currently trying to build a package that doesn't do that... Available here now if you want to try it out: https://download.opensuse.org/repositories/home:/wolfi323:/branches:/KDE:/Ap...
It indeed fixes all the mentioned problems here AFAICS. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.suse.com/show_bug.cgi?id=1162654
http://bugzilla.suse.com/show_bug.cgi?id=1162654#c15
--- Comment #15 from Christophe Giboudeaux
Downloading radkfile from kiten's git repository and copying it to ~/.local/share/kiten/ does seem to fix the radical selector.
Interesting, the file from the edict package is UTF-8 and the file in the kiten repository is ISO-8859 -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.suse.com/show_bug.cgi?id=1162654
http://bugzilla.suse.com/show_bug.cgi?id=1162654#c16
--- Comment #16 from Wolfgang Bauer
(In reply to Wolfgang Bauer from comment #12)
Downloading radkfile from kiten's git repository and copying it to ~/.local/share/kiten/ does seem to fix the radical selector.
Interesting, the file from the edict package is UTF-8 and the file in the kiten repository is ISO-8859
Yes, converting edict's files to EUC-JP encoding seems to fix things as well. But it still looks different than in the Gentoo screenshots (might not be a problem though, I suppose the files are a newer version). The reason why it cannot read the UTF-8 encoded files, is probably this code in lib/DictEdict/dictfileedict.cpp and DictKanjidic/dictfilekanjidic.cpp: QTextStream fileStream( &file ); fileStream.setCodec( QTextCodec::codecForName( "eucJP" ) ); But if we patch this, we'd break the update functionality in kiten I suppose. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.suse.com/show_bug.cgi?id=1162654
http://bugzilla.suse.com/show_bug.cgi?id=1162654#c17
--- Comment #17 from Christophe Giboudeaux
http://bugzilla.suse.com/show_bug.cgi?id=1162654
http://bugzilla.suse.com/show_bug.cgi?id=1162654#c18
--- Comment #18 from Martin Doucha
Yes, converting edict's files to EUC-JP encoding seems to fix things as well. But it still looks different than in the Gentoo screenshots (might not be a problem though, I suppose the files are a newer version).
The buttons in the radical selector appear in random order in each column (even on Gentoo) so what you see won't match the screenshot exactly. But if you can find all symbols from the screenshot somewhere in the correct column of your radical selector, it works as intended. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.suse.com/show_bug.cgi?id=1162654
http://bugzilla.suse.com/show_bug.cgi?id=1162654#c20
--- Comment #20 from Swamp Workflow Management
http://bugzilla.suse.com/show_bug.cgi?id=1162654
http://bugzilla.suse.com/show_bug.cgi?id=1162654#c22
--- Comment #22 from Swamp Workflow Management
participants (1)
-
bugzilla_noreply@novell.com