Bug 1647627 - Electron Flatpak apps failed to trigger iBus
Summary: Electron Flatpak apps failed to trigger iBus
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Fedora
Classification: Fedora
Component: flatpak
Version: 29
Hardware: x86_64
OS: Linux
unspecified
unspecified
Target Milestone: ---
Assignee: David King
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2018-11-07 23:13 UTC by Jeff Shee
Modified: 2019-09-10 06:26 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2019-09-10 06:26:19 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Github flatpak flatpak issues 1671 0 None None None 2018-11-09 08:34:00 UTC

Description Jeff Shee 2018-11-07 23:13:54 UTC
Description of problem:
As title described, Flatpak apps failed to trigger iBus. User couldn't type, for example Chinese, Japanese... into Flatpak apps directly. Currently tested with Atom, Discord, Slack, Visual Studio Code, all of them are having the same issue. Also tested with non-Flatpak apps, working normally.

Version-Release number of selected component (if applicable):
$ ibus version
IBus 1.5.19

$ flatpak list
Ref                                                  Options       
com.spotify.Client/x86_64/stable                     user,current  
com.discordapp.Discord/x86_64/stable                 system,current
com.github.wwmm.pulseeffects/x86_64/stable           system,current
com.slack.Slack/x86_64/stable                        system,current
com.visualstudio.code/x86_64/stable                  system,current
io.atom.Atom/x86_64/stable                           system,current
org.kde.kdenlive/x86_64/stable                       system,current
org.freedesktop.Platform.GL.nvidia-396-45/x86_64/1.4 system,runtime
org.freedesktop.Platform.GL.nvidia-396-54/x86_64/1.4 system,runtime
org.freedesktop.Platform.GL.nvidia-410-66/x86_64/1.4 system,runtime
org.freedesktop.Platform.VAAPI.Intel/x86_64/1.6      system,runtime
org.freedesktop.Platform.VAAPI.Intel/x86_64/18.08    system,runtime
org.freedesktop.Platform.ffmpeg/x86_64/1.6           system,runtime
org.freedesktop.Platform.html5-codecs/x86_64/18.08   system,runtime
org.freedesktop.Platform/x86_64/18.08                system,runtime
org.freedesktop.Sdk/x86_64/18.08                     system,runtime
org.gnome.Platform/x86_64/3.28                       system,runtime
org.gnome.Platform/x86_64/3.30                       system,runtime
org.kde.KStyle.Adwaita/x86_64/5.11                   system,runtime
org.kde.Platform/x86_64/5.11                         system,runtime

How reproducible:
It always happen.

Steps to Reproduce:
1. Install one of the Flatpak apps
2. Type in language which would trigger ibus (Chinese, Japanese... )
3. Ibus wouldn't be triggered. User could only type in Alphabet.

Actual results:
User couldn't type in selected language

Expected results:
User should be able to type in selected language

Additional info:
https://github.com/flatpak/flatpak/issues/675
Similar issue that closed 1 year ago.

Comment 1 Jens Petersen 2018-11-08 04:50:32 UTC
See https://github.com/flatpak/flatpak/issues/1671

Comment 2 Jens Petersen 2018-11-08 04:51:32 UTC
As also per the upstream issue comments, I suspect this is an issue with
Electron-based flatpaks.

I think if you try most "non-webapp" flatpaks, you should find that ibus is working (that is why the upstream issue is closed - because the feature
was implemented in flatpak runtimes and ibus).

eg I just tried GeoGebra (probably not the best testcase) and ibus is working
there for example.

Comment 3 Jens Petersen 2018-11-08 04:55:08 UTC
Maybe when we have (more) Fedora built flatpaks, this will become a Fedora issue.

Comment 4 Jeff Shee 2018-11-08 11:51:21 UTC
Tested with some non-Electron Flatpak app (Kdenlive for example), and it turns out that Jens Petersen is right. This might be an issue especially with Electron + Flatpak, not all Flatpak.

Comment 5 Jens Petersen 2018-11-09 08:39:14 UTC
A workaround sometimes is `flatpak run --env=GTK_IM_MODULE=xim ...`.

Comment 6 Jens Petersen 2018-11-09 08:40:34 UTC
(Also I heard that the KDE 5.11 Runtime should support ibus.)

Comment 7 Jens Petersen 2019-09-10 06:26:19 UTC
This should be long fixed now in current releases.  If not please re-open or open a new bug, thanks


Note You need to log in before you can comment on or make changes to this bug.