GithubHelp home page GithubHelp logo

fcitx / fcitx5-cskk Goto Github PK

View Code? Open in Web Editor NEW
30.0 6.0 2.0 348 KB

SKK input method plugin for fcitx5 that uses LibCSKK

License: GNU General Public License v3.0

CMake 11.09% Shell 0.96% C++ 86.82% C 1.12%
fcitx5 input-method skk

fcitx5-cskk's Issues

Setup minimal unit test

Current unit test is an empty placeholder and doesn't run on github actions.
Add single any unit test and run on github actions.

Pretty format of preedit

Update cskk lib dependency and make preedit's text not committing text into NoCommit format,
Also set underline to not confirmed messages.

Doesn't work with Ubuntu21.04 binary fctix5

Haven't looked into deep but local built fcitx5 of tag: 5.0.5 can load this addon but the official hirsute release fcitx5 cannot load.

D2021-05-01 22:12:59.853884 addonmanager.cpp:143] Call loadAddon() with cskk checkDependencies() returns 0 Dep: [] OptDep: []

But after that no debug message is shown. No 'Failed to load library for addon...' or 'Loaded addon ...'.

Use your own name for input context property.

https://github.com/naokiri/fcitx5-cskk/blob/3773af3b0ef697502d98e5f4ab6afb9d1c391afb/src/cskk.cpp#L26

I know you probably take fcitx5-skk as a reference, but the input context property name need to be globally unique. This would cause problem if cskk and skk are loaded at the same time since they both use "skkState".

It is defined as a meaningful string instead of a random string just in case any external module want to reuse it, but usually the name itself doesn't matter.

Copy & Paste, especially paste

Need more investigation on how fcitx5 handles clipboard copy/paste, but want to be able to paste on register mode.

Is it pass-through to wayland that we get some file descriptor on paste? Or have to call or register callback on fcitx5?

Feature: アノテーション表示の有無を設定可能項目にする

Preeditの表示位置と候補リストの表示位置をアドオンから制御できないので、アノテーションの有無によって候補リストの位置が上下して選択する際に邪魔となる。
フロントエンドによってはどうやら制御できないので、fcitx本体で修正するのも難しそうである。
よって、アノテーションを表示するか否かを設定可能項目にして、候補リストの表示がガタガタとぶれる問題への対処とする。

期待される動作

  1. 設定項目にアノテーション表示を常に表示、単候補のみ表示、常に表示しないの中から選べるようにする。
  2. 設定に応じ、アノテーションを表示するかしないか変更する。

fcitx5-cskk の辞書設定ファイルを構造化する

cskkで辞書毎に設定を増やすために、fcitx5-cskkの辞書設定ファイルを定義なしcsvのようなファイルから構造のあるファイルに変える。
Qtでサポートのあるjsonが第一候補。

Bug: 候補ウィンドウ表示時に直前のアノテーション表示が残る

バグの簡潔な説明 Describe the bug

候補を複数から選ぶ直前の候補にアノテーションがあると、そのアノテーション表示が消えない。

再現手順 To Reproduce

  1. リスト表示をするまでの候補数を2と設定する
  2. 3つ以上候補が存在する変換候補の2番目の候補にアノテーションを入れる
  3. 次の候補選択を繰り返し、3つ目以降の候補をリスト表示させる
  4. 候補リストの上に2つめの候補のアノテーションが表示されたままになる。

期待した動作 Expected behavior

リストのみ表示される

動作環境 (次の内容を挙げてください) Environment (please complete the following information):

fcitx5-cskk 1.0.0
cskk 1.1.0

その他の情報 Additional context

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.