Tdesktop: Telegram Desktop Linux doesn't work with nimf

Created on 6 Nov 2016  路  25Comments  路  Source: telegramdesktop/tdesktop

I used UIM-byeoru, Nimf, fcitx, XIM, Ibus.
but only can type korean to using fcitx.
I wanna using Nimf.
so.. Do you have plan to support other input method??

Configuration

Operating system:
Ubuntu 16.04.1 LTS
Version of Telegram Desktop:
0.10.19

bug help wanted linux

Most helpful comment

Then why won't you reopen the issue?

All 25 comments

Does Nimf work in other Qt apps?

may be...
because Nimf issue #16 developers say you need patch like support fcitx.
so i tried it but fail :(
Nimf developer's patch

So TDesktop would need one more patch to Qt which must be rewritten because TDesktop already patches Qt and patches are not compatible, and all that just to support a new input method no one uses?

i tried test Nimf, But Build fail Nimf.
Nimf developers fix it in jan/2017
i will reply comment when i build Nimf and finish some test

Is this fixed? I still can't use Nimf in Telegram Desktop 1.0.24 alpha

maybe not.... I forgot it.... didn't test yet.

I tried to write korean using Nimf(2017.04.08) in Telegram Desktop, But Doesn't work.

Then why won't you reopen the issue?

@yangbeom should reopen this issue.

@mxa Sure :)

:) maybe change the title in "Telegram Desktop Linux doesn't work with nimf"

Maybe @auchri can label this one bug, help-wanted, linux too?

@mxa maybe 馃槈

@stek29 "Does Nimf work in other Qt apps?" I tried Qtractor, and yes, I can name tracks there using Nimf.

Nimf works with Kate, so it works in other Qt apps.

log from G_MESSAGES_DEBUG=nimf kate:

(kate:3317): nimf-DEBUG: im-nimf-qt5.cpp:463: NimfInputContextPlugin::NimfInputContextPlugin()
(kate:3317): nimf-DEBUG: im-nimf-qt5.cpp:481: virtual QPlatformInputContext* NimfInputContextPlugin::create(const QString&, const QStringList&)
(kate:3317): nimf-DEBUG: im-nimf-qt5.cpp:251: NimfInputContext::NimfInputContext()
(kate:3317): nimf-DEBUG: nimf-im.c:298: nimf_im_new

whereas running G_MESSAGES_DEBUG=nimf telegram-desktop shows nothing.

strace kate includes:

stat("/usr/lib/qt/plugins/platforminputcontexts/.", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
open("/usr/lib/qt/plugins/platforminputcontexts", O_RDONLY|O_NONBLOCK|O_DIRECTORY|O_CLOEXEC) = 7
...
lstat("/usr/lib/qt/plugins/platforminputcontexts/libqt5im-nimf.so", {st_mode=S_IFREG|0644, st_size=39848, ...}) = 0
open("/usr/lib/qt/plugins/platforminputcontexts/libqt5im-nimf.so", O_RDONLY|O_CLOEXEC) = 7

but strace telegram-desktop does not have such entries.

@devunt because TDesktop uses his own static patched Qt

@devunt is there a way to make nimf and the compose key work? Both bugs are there because of that static patched Qt https://github.com/telegramdesktop/tdesktop/issues/2193

@Zankio made a PR for gcin and hime, maybe he knows how to add nimf

The Qt input modules (to include in the static QT version) for nimf can be found here

This issue happens in ibus too. I think this issue is not just limited to a specific input method.

@mxa
Nimf repository is moved.
https://gitlab.com/nimf-i18n/nimf

PR is merged and
This issue has fixed on Telegram Desktop v1.5.

Was this page helpful?
0 / 5 - 0 ratings