Open MortezaRahmani opened 1 year ago
I can confirm that keyboard layouts for RTL languages are problematic (especially since direction will change if an ASCII character, e.g. for a variable, function, or unit, is added) and affects all input fields. I assume that it would be preferable if LTR was used for mathematical expressions regardless of language or keyboard layout. Unfortunately I've not been able to find any solution.
Switching keyboard layout should however work without closing qalculate-gtk. On Windows (10) it seems necessary for the expression field, or the whole window, to lose and regain focus.
The same issue is present in gnome-calculator (https://gitlab.gnome.org/GNOME/gnome-calculator/-/issues/289).
Problem: If I switch to a Right-to-Left keyboard language before opening Qalculate (e.g. Arabic, Persian, or Hebrew), the input direction of Qalculate will change to RTL and there is no way to change it back. In this case, I must close it, switch back to the English keyboard, and then open Qalculate again.
Is there a setting that prevents the input direction from changing?