• Bug#1104034: maliit-keyboard: Can't enable prediction / spellchecking d

    From mando@21:1/5 to All on Thu Apr 24 16:30:01 2025
    Package: maliit-keyboard
    Version: 2.3.1-6
    Severity: normal
    X-Debbugs-Cc: mando@april.org

    Dear Maintainer,

    * What led up to the situation?

    I installed maliit-keyboard through APT and tried to enable (French) spellchecking using:

    gsettings set org.maliit.keyboard.maliit enabled-languages "['fr', 'ru', 'emoji']"
    gsettings set org.maliit.keyboard.maliit spell-checking-languages "['fr', 'en', 'ru']"
    gsettings set org.maliit.keyboard.maliit spell-checking true"
    gsettings set org.maliit.keyboard.maliit predictive-text true"

    * What exactly did you do (or not do) that was effective (or
    ineffective)?

    I tried the options listed in the above item. I did not find any relevant option running gsettings list-keys org.maliit.keyboard.maliit:

    (mando@velvet) (~) $ gsettings list-keys org.maliit.keyboard.maliit active-language
    auto-capitalization
    auto-completion
    device
    disable-height
    double-space-full-stop
    enable-magnifier
    enabled-languages
    key-press-feedback
    key-press-feedback-sound
    key-press-haptic-feedback
    opacity
    plugin-paths
    predictive-text
    spell-checking
    spell-checking-languages
    stay-hidden
    theme

    I installed hunspell-fr, hunspell-en-us, hunspell-ru.

    When running maliit-server, I get:

    wordengine.cpp plugin "/usr/lib/x86_64-linux- gnu/maliit/keyboard2/languages/en/libenplugin.so" loaded
    inputmethod_p.h registerActiveLanguage(): activeLanguage is: "fr"
    in inputMethod.cpp setActiveLanguage() activeLanguage is: "fr"
    wordengine.cpp plugin "/usr/lib/x86_64-linux- gnu/maliit/keyboard2/languages/fr/libfrplugin.so" loaded
    DB path: /usr/lib/x86_64-linux-gnu/maliit/keyboard2/languages/fr/database_fr.db spellechecker.cpp in setLanguage() lang= "fr" dictPath= "/usr/share/hunspell" inputMethod::reset()
    in clear preedit.. clearing word engine
    spellechecker.cpp in setLanguage() aff_file= "/usr/share/hunspell/fr.aff" dic_file= "/usr/share/hunspell/fr.dic" user dictionary= "/home/mando/.local/share/maliit-server/fr_userDictionary.dic"

    ... so the French dictionary seems correctly loaded. However, no suggestion is displayed in the virtual keyboard.

    * What was the outcome of this action?

    The keyboard works but there is not suggestions/corrections proposed by the keyboard.

    * What outcome did you expect instead?

    The keyboard should display suggestions/corrections proposed by the keyboard. They look disabled by default [1] but is there a way to turn them on?

    [1] https://github.com/maliit/keyboard/pull/146


    -- System Information:
    Debian Release: trixie/sid
    APT prefers testing
    APT policy: (500, 'testing'), (100, 'unstable')
    Architecture: amd64 (x86_64)

    Kernel: Linux 6.12.21-amd64 (SMP w/8 CPU threads; PREEMPT)
    Kernel taint flags: TAINT_WARN
    Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8), LANGUAGE not set
    Shell: /bin/sh linked to /usr/bin/dash
    Init: systemd (via /run/systemd/system)
    LSM: AppArmor: enabled

    Versions of packages maliit-keyboard depends on:
    ii dconf-gsettings-backend [gsettings-backend] 0.40.0-5
    ii fonts-noto 20201225-2
    ii fonts-noto-color-emoji 2.047-1
    ii libc6 2.41-7
    ii libchewing3 0.9.1-1
    ii libgcc-s1 14.2.0-19
    ii libglib2.0-0t64 2.84.1-1
    ii libhunspell-1.7-0 1.7.2+really1.7.2-10+b4
    ii libmaliit-plugins2 2.3.0-5+b1
    ii libpinyin15 2.8.1-1+b2
    ii libpresage1v5 0.9.1-2.6+b2
    ii libqt5core5t64 5.15.15+dfsg-5
    ii libqt5feedback5 5.0~git20180903.a14bd0b-6+b1 ii libqt5gui5t64 5.15.15+dfsg-5
    ii libqt5multimedia5 5.15.15-2
    ii libqt5qml5 5.15.15+dfsg-3
    ii libqt5quick5 5.15.15+dfsg-3
    ii libqt5quickcontrols2-5 5.15.15+dfsg-2
    ii libstdc++6 14.2.0-19
    ii maliit-framework 2.3.0-5+b1
    ii qml-module-qtgraphicaleffects 5.15.15-2
    ii qml-module-qtquick-controls2 5.15.15+dfsg-2
    ii qml-module-qtquick-layouts 5.15.15+dfsg-3
    ii qml-module-qtquick2 5.15.15+dfsg-3

    Versions of packages maliit-keyboard recommends:
    ii hunspell-de-de 20161207-15
    ii hunspell-en-us 1:2020.12.07-4
    ii hunspell-fr 1:7.0-3
    ii hunspell-nl 2:2.20.19-2

    maliit-keyboard suggests no packages.

    -- no debconf information

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)