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

adam.jones adam.jones at codethink.co.uk
Wed Mar 21 10:30:06 UTC 2018


On 21/03/18 02:48, Robin Lee 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
>
   Ok, this would be good to at least test and see if we experience the 
same issue, if so we can try and  fix this before stable release.

1.8 will no longer be built using BitBake, we are trying to migrate 
everything to Buildstream,
we have some information in the README here: 
https://gitlab.com/freedesktop-sdk/freedesktop-sdk

Adam


More information about the Flatpak mailing list