Repository navigation
Improve and standardize input methods - #11254
21 commits merged into
Conversation
|
By analyzing the blame information on this pull request, we identified @iyzsong and @cdepillabout to be potential reviewers. |
97e0061 to
0b65771
Compare
|
the fails for me. it seems that in the generated cmake_install.cmake file, And: @ttuegel , how to get the qtbase that ECM using? |
|
@iyzsong The package needs to be upgraded to Qt 5.5; the manual describes how Qt packaging has changed. If your package requires |
0b65771 to
84c225a
Compare
|
ah, cool! I have to do my homework though :-) |
|
I have cherry-pick 3 commit to master, hope it's ok. |
|
@iyzsong As I tested so far, there are some issues with fcitx and qutebrowser that is a qt5 application using I would suggest to test each input method and engine on a different set of applications (Qt, GTK, ..), and if possible gather some feedback from multiple users to be sure it is working before further merging to master. |
There was a problem hiding this comment.
Please provide a better description of what Fctix input method is.
|
I'm the maintainer of ibus-table and ibus-table-others. They currently don't do anything, and I plan on working on them over the next few weeks. If I manage to make something useful, how should I share it? Should I pretend that this PR doesn't exist and structure things in the old way, or do some IBus refactoring before starting? |
|
@laMudri Thanks for the input. This PR might take some take to get ready as it still require some work, tests and documentation. I hope we can get some more work done during this month Tokyo NixOS meetup. I should be able to push an updated version of the PR based on current master with a few more commits for uim and ibus this week so you could use it and push your updates on that branch. But as your work is more likely to be merged in master before this PR, using the current structure and a dedicated PR should be easier and faster (and would just require to rebase this PR on the new master). |
|
@ttuegel I am stuck trying to make the I thought the problem was on the qutebrowser/pyqt5 side as What do you think could be the cause? |
|
@ericsagnes Currently, PyQt5 in Nixpkgs is built with Qt 5.4, so it isn't going to be compatible with |
|
@ericsagnes Most packages that depend on Qt 5 have not been updated to the new Qt infrastructure yet, so I can't automatically switch their Qt version. I'm waiting on the package maintainers, basically. |
84c225a to
f5f9164
Compare
f5f9164 to
cbf05bf
Compare
755fcd7 to
85114ae
Compare
|
update: I just saw that @astsmtl packaged So now, this PR should bring input support for most non-alphabet languages. |
There was a problem hiding this comment.
There is no services for input method before, so I think just add them to the "new services" para should be enough.
|
Expect the You should send an email to the |
85114ae to
dc6bd61
Compare
|
@iyzsong Thanks for the review! I updated the release notes. |
|
IBus works on my machine. ibus-hangul doesn't (I mean, switching to it doesn't affect the input), but that's a different issue. I'll look into it. |
|
@laMudri
If you left click the hangul symbol in the systray, you should be able to change the shortcut for the hangul mode and other different settings. You can also launch the tool directly by running |
|
Yep, all working, then. |
|
Another note is these lint issues: Not sure if they need to be fixed, just a reminder. |
|
@grahamc Thanks for pointing. Yes, I raised some concerns in the issues description related |
|
Confirmed that uim (Anthy and SKK) works on Konsole (Qt4) and Firefox (GTK+2). It does not work on Flash nor text fields on uim-pref-gtk and uim-pref-gtk3, but it seems not related to this PR because it does not work on stable branch neither. |
Improve and standardize input methods
|
I have test fcitx with various plugins, work fine. |
|
Thanks for merging! |
Work in progress, please do not merge yet.
implementation of #11138
Status
fcitx:
ibus:
Librairies:
libchewing: init at 0.4.0Cherry picked in masternabi:
uim:
Documentation:
Current issues
fcitx-anthy: any touch beside letters and numbers is inactive.-> Fixed by upgradingibus-anthyto 0.2.2.fcitx-config-gtk3: "settings" button has no effect-> Fixed by usingibus-wrapperCurrent packaging issues
Fixed by the use ofibus-hangul-setup toolis giving runtime errorsibus-wrappertoolbar icon missing, seems common to all ibus engines. Need more investigation.-> fixed by addinghicolor_icon_themetoibus_wrappersunpinyin: lib, data, fcitx packaged separately. fcitx engine miss to find the dictionary file:-> Splitting sunpinyin packaging in a future PRlooking for
/lib/sunpinyin/data/lm_sc.t3gbut data is in/share/sunpinyin/lm_sc.t3gTesting
preparing a custom nixpkgs
get a copy of
nixpkgsget this PR
add nixpgs-channel as a remote and get
nixos-unstablecreate a test branch based on
standardize-imrebase
test/11254note: A few conflicts in
nixos/modules/module-list.nixmight happen.Fcitx
in
/etc/nixos/configuration.nixadd:and rebuild using the custom nixpkgs:
After restarting the X server, fcitx should be active.
note: mozc might require a computer reboot to work.
IBus
in
/etc/nixos/configuration.nixadd:Uim
in
/etc/nixos/configuration.nixadd:nabi
in
/etc/nixos/configuration.nixadd:and rebuild using the custom nixpkgs:
After restarting the X server, ibus should be active.
note: mozc might require a computer reboot to work.
Testing
Each input method and engine combination should be tested on as many applications toolkits as possible.
sample applications:
geanygnome3.geditkde4.katequasselClient_qt5,kde5.katequtebrowsere19.terminologyfilezillajeditTest results
◯ working
X not working
-- not supported
Fcitx PyQt5
-> Fixedfcitx-qt5is usingqt55butpyqt5is usingqt54, will be fixed whenpyqt5will be updated toqt55Possible improvements
ibus-wrapperandfcitx-wrappercode (taken from pidgin plugins) feels like it could be improved.Updates
resolved conflicts with release-notes
removed module rename for
programs.ibus.enablefcitx-m17nandibus-m17n, updated the changelog accordingly