ibus-avro icon indicating copy to clipboard operation
ibus-avro copied to clipboard

This ibus version fails to write some spellings and turns back to English immediately. For example, if I try to write েতা, I write tO, and it immediately turns back to English and becomes O

Open HRIDOY-BUZZ opened this issue 2 years ago • 10 comments

HRIDOY-BUZZ avatar Sep 14 '22 08:09 HRIDOY-BUZZ

What are your OS and desktop environment?

archisman-panigrahi avatar Sep 14 '22 12:09 archisman-panigrahi

What are your OS and desktop environment?

POP!_OS 22.04 DE Gnome 42

HRIDOY-BUZZ avatar Oct 17 '22 18:10 HRIDOY-BUZZ

I'm also facing this same problem

os: q4os (Debian based) environment: KDE plasma

abkarim avatar Nov 20 '22 17:11 abkarim

Works for me on Ubuntu 22.04: tO -> তো

gunnarhj avatar Nov 20 '22 18:11 gunnarhj

It works but I need to restart it every time it crashes, and it crashes after writing 3-5 words of text.

abkarim avatar Nov 20 '22 19:11 abkarim

@abkarim: Then your problem is of another nature than the specific problem as reported in this issue, right?

gunnarhj avatar Nov 20 '22 20:11 gunnarhj

yes, similar problem but not exactly like this.

abkarim avatar Nov 21 '22 11:11 abkarim

I use 2 PC. The problem occurs on different spellings on different pc. One pc can't right tO, another pc can. But that another pc Avro shows issues on different spelling...

HRIDOY-BUZZ avatar Nov 22 '22 15:11 HRIDOY-BUZZ

I was having the same issue. But I think this problem is linked to "Language support". On Ubuntu 20.04, this problem occurred to me. After installing the "Language support" or updating it, Avro was working completely fine. Hope this would be helpful.

Rafiquzzaman420 avatar Dec 22 '22 02:12 Rafiquzzaman420

@Rafiquzzaman420 wrote:

On Ubuntu 20.04, this problem occurred to me. After installing the "Language support" or updating it, Avro was working completely fine.

While I don't think that Language Support itself is involved, Ubuntu's language-selector-gnome package depends on im-config, and that latter tool is highly relevant.

GNOME starts and configures ibus by itself if ibus is installed. But Previously, on both Ubuntu and Debian desktops, we let im-config override the GNOME way to do so. This was true as late as at the release of Ubuntu 20.04.

But then we changed that. The applicable Ubuntu bug is Let im-config back off if IBus on GNOME desktops. Since that bug was fixed as an update of Ubuntu 20.04, im-config no longer does anything when ibus is used on a GNOME desktop. We rather defer to GNOME's way to do it.

There were two significant changes in substance:

  1. im-config started ibus via this command:

    /usr/bin/ibus-daemon --daemonize --xim
    

    But GNOME starts it via:

    /usr/bin/ibus-daemon --panel disable --xim
    

    (where the --xim flag is omitted for Wayland sessions).

  2. im-config set the GTK_IM_MODULE environment variable, but GNOME does not set that variable.

This makes me think about the command for restarting ibus-daemon if a crash happens. One command often suggested for restarting ibus-daemon is:

ibus-daemon -rxd

But if you are on a GNOME desktop that command is not optimal. On GNOME you can do:

ibus-daemon -rxd --panel disable

or, in case of a Wayland session:

ibus-daemon -rd --panel disable

(i.e. drop the -x aka --xim part).

Hope this would be helpful.

At least it inspired me to write this comment. 🙂

gunnarhj avatar Dec 22 '22 11:12 gunnarhj