Bug 399994 - Fcitx not avaliabe with appimage
Summary: Fcitx not avaliabe with appimage
Status: RESOLVED FIXED
Alias: None
Product: kdenlive
Classification: Applications
Component: User Interface (show other bugs)
Version: 18.04.1
Platform: Ubuntu Linux
: NOR normal
Target Milestone: ---
Assignee: Jean-Baptiste Mardelle
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-10-18 16:01 UTC by xqqy189
Modified: 2021-05-15 08:10 UTC (History)
4 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description xqqy189 2018-10-18 16:01:42 UTC
SUMMARY
Can not using Fcitx with Kdenlive appimage.
Even unpack it and add libfcitxplatforminputcontextplugin.so into usr/lib/qt5/plugins/platforminputcontexts/

STEPS TO REPRODUCE
1. Open the app
2. Can't use switch to other input
3. 

OBSERVED RESULT

Not switch.

EXPECTED RESULT

Add Fcitx support.

SOFTWARE VERSIONS
(available in About System)
KDE Plasma Version: 5.12.7
KDE Frameworks Version: 5.44.0
Qt Version: 5.9.5
Kubuntu18.04.1

ADDITIONAL INFORMATION
Comment 1 emohr 2018-10-18 16:40:37 UTC
I’m not a Linux specialist. Try the following: Restart your system (switch off, switch on). Then update Linux. Maybe there are some parts missing.
sudo apt-get update
sudo apt-get upgrade
sudo apt-get dist-upgrade

And then try with Kdenlive AppImage 18.08.2
Comment 2 xqqy189 2018-10-19 10:55:50 UTC
This does not work.
I think the problems is just like Qt creator:
Qt's fcitx input plugins are missing.
Comment 3 emohr 2018-10-25 15:18:31 UTC
Run the Appimage from the terminal (press CTRL + ALT + T). Move to the AppImage folder and run the .AppImage: ./Kdenlive*.AppImage
Comment 4 Tyson Tan 2020-06-04 20:56:15 UTC
From this resolved report:
"feat: add Fcitx and Uim support to AppImage"
https://github.com/qTox/qTox/pull/5825

Qt needs some libraries to be present in order to support IBus, Fcitx and Uim IMEs. Specifically:

plugins/platforminputcontexts/libibusplatforminputcontextplugin.so
plugins/platforminputcontexts/libfcitxplatforminputcontextplugin.so
plugins/platforminputcontexts/libuimplatforminputcontextplugin.so

I wonder it has something to do with this bug too.
Comment 5 farid 2021-03-10 19:32:42 UTC
Is this fixed in the latest appimage? If yes, can you reproduce this in the flatpak version?
Comment 6 Tyson Tan 2021-03-11 01:04:16 UTC
Fcitx still doesn't work in the latest appimage (using the fixed test build provided in https://bugs.kde.org/show_bug.cgi?id=434179).

Fcitx works in the flatpak version. Although the flatpak version is using the old translation instead of the new one (as described in https://bugs.kde.org/show_bug.cgi?id=434179) It's basically the same situation as the Archlinux prebuilt package.

(In reply to farid from comment #5)
> Is this fixed in the latest appimage? If yes, can you reproduce this in the
> flatpak version?
Comment 7 Bug Janitor Service 2021-03-26 04:33:35 UTC
Dear Bug Submitter,

This bug has been in NEEDSINFO status with no change for at least
15 days. Please provide the requested information as soon as
possible and set the bug status as REPORTED. Due to regular bug
tracker maintenance, if the bug is still in NEEDSINFO status with
no change in 30 days the bug will be closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

If you have already provided the requested information, please
mark the bug as REPORTED so that the KDE team knows that the bug is
ready to be confirmed.

Thank you for helping us make KDE software even better for everyone!
Comment 8 Tyson Tan 2021-04-19 02:16:41 UTC
We've figured it out in Krita's appimage packaging:
https://bugs.kde.org/show_bug.cgi?id=422465
(See Comment 4 by Weng Xuetian and Halla's commits in Comment 6, 7, 12)

Can we try it out?
Comment 9 farid 2021-04-19 03:11:14 UTC
(In reply to Tyson Tan from comment #8)
> We've figured it out in Krita's appimage packaging:
> https://bugs.kde.org/show_bug.cgi?id=422465
> (See Comment 4 by Weng Xuetian and Halla's commits in Comment 6, 7, 12)
> 
> Can we try it out?

Hey Tyson, would you try if the Flatpak works for you?
Comment 10 Tyson Tan 2021-04-19 03:16:14 UTC
Hi Farid, in Comment 6 I already reported fcitx to be working fine in the Flatpak version.

(In reply to farid from comment #9)
> (In reply to Tyson Tan from comment #8)
> > We've figured it out in Krita's appimage packaging:
> > https://bugs.kde.org/show_bug.cgi?id=422465
> > (See Comment 4 by Weng Xuetian and Halla's commits in Comment 6, 7, 12)
> > 
> > Can we try it out?
> 
> Hey Tyson, would you try if the Flatpak works for you?
Comment 11 Tyson Tan 2021-04-19 03:31:28 UTC
Oh, if you mean the translation part, the current Flatpak version has the correct translation, so it works perfectly for me. 

However, Flatpak can't replace Appimage in many usecases, because it requires a fast network connection to install. Appimage on the other hand can be shared via cloud storage and take away in a USB drive. Especially when it comes to China, there is "something" messing with our international connections, making it slow/unreliable all the time.
Comment 12 Bug Janitor Service 2021-04-19 20:18:34 UTC
A possibly relevant merge request was started @ https://invent.kde.org/multimedia/kdenlive/-/merge_requests/209
Comment 13 farid 2021-04-19 23:47:32 UTC
Hopefully this fixes the build. https://invent.kde.org/multimedia/kdenlive/-/merge_requests/210
Comment 14 Tyson Tan 2021-04-20 02:17:44 UTC
Thank you Farid! Can't wait to test it out when a new appimage is ready! :D
Comment 15 Jean-Baptiste Mardelle 2021-04-20 07:05:22 UTC
I just uploaded a test appimage with fcitx, based on Farid's patch. Could you test as I have no way to make sure it works ?

https://files.kde.org/kdenlive/unstable/kdenlive-21.04.0-fcitx-x86_64.appimage.mirrorlist
Comment 16 Tyson Tan 2021-04-20 10:37:38 UTC
It worked! Thank you! :D
Comment 17 Julius Künzel 2021-05-14 22:56:51 UTC
The merge request is merged. Please test with the nightly appimage (https://binary-factory.kde.org/job/Kdenlive_Nightly_Appimage_Build/) and close this report if it is fixed.
Comment 18 Tyson Tan 2021-05-15 08:10:04 UTC
Fcitx is now working in the latest nightly apimages. Thanks!