ibus failed to trigger in apps running on org.kde.Platform

Robin Lee robinlee.sysu at gmail.com
Wed Jun 27 04:13:25 UTC 2018


On Wed, Mar 21, 2018 at 10:48 AM, Robin Lee <robinlee.sysu at gmail.com> wrote:
> On Wed, Mar 21, 2018 at 2:08 AM, adam.jones <adam.jones at codethink.co.uk> wrote:
>>
>>
>> On 16/03/18 11:02, Aleix Pol wrote:
>>>
>>> On Fri, Mar 16, 2018 at 10:13 AM, Robin Lee <robinlee.sysu at gmail.com>
>>> wrote:
>>>>
>>>> On Thu, Mar 15, 2018 at 6:05 PM, Robin Lee <robinlee.sysu at gmail.com>
>>>> wrote:
>>>>>
>>>>> Hi,
>>>>>
>>>>> I tested three Qt-based flatpaks, telegram desktop, krita and
>>>>> kdenlive, today. In any
>>>>> of them I fail to trigger ibus input method. IBus input context is
>>>>> already loaded.
>>>>>
>>>>> I am running on Fedora 26 gnome-xorg.
>>>>>
>>>>> Non-flatpak application works well, including telegram desktop
>>>>> installed from RPMFusion.
>>>>> Gtk-based flatpak also works.
>>>>>
>>>>> -robin
>>>>
>>>> It seems ibus platforminputcontext included in qt5 in org.kde.Sdk
>>>> does not support ibus portal. Qt5 may also needs some patch like this[1]
>>>> for gtk.
>>>>
>>>> [1]
>>>> https://github.com/flatpak/freedesktop-sdk-images/commit/9a242f9acee474ea74e08afe09186bd0f8aa6c22
>>>
>>> I'm really not sure what needs to happen for proper ibus integration,
>>> so patches welcome.
>>> Here's the platform file, patches are welcome:
>>> https://phabricator.kde.org/source/flatpak-kde-runtime/
>>>
>>> Note that org.kde.Platform is already based on
>>> org.freedesktop.Platform, so ibus is already present.
>>>
>>> Aleix
>>> _______________________________________________
>>> Flatpak mailing list
>>> Flatpak at lists.freedesktop.org
>>> https://lists.freedesktop.org/mailman/listinfo/flatpak
>>
>>   Late to the list here, but this could possibly be fixed with building on
>> top of 1.8 (unstable) ?
>>
>>   https://gitlab.com/freedesktop-sdk/freedesktop-sdk
>>
>>   We have the documentation for trying to use this instead of 1.6
>>
>>   Adam
>> _______________________________________________
>> Flatpak mailing list
>> Flatpak at lists.freedesktop.org
>> https://lists.freedesktop.org/mailman/listinfo/flatpak
> No, I think a code fix to qt5 ibus platforminputcontext is required.
>
> By the way, the 1.8 freedesktop-sdk no longer use bitbake?
>
> -robin
I finally have time to figure out a patch to Qt5 ibus
platforminputcontext, and have it submitted for review in Qt upstream:
https://codereview.qt-project.org/233402

-robin


More information about the Flatpak mailing list