[Bug 1726138] Tk::Text ignores non-ASCII input from a keyboard with SCIM input method

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



https://bugzilla.redhat.com/show_bug.cgi?id=1726138

Petr Pisar <ppisar@xxxxxxxxxx> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Summary|Tk::Text ignores non-ASCII  |Tk::Text ignores non-ASCII
                   |input from a keyboard       |input from a keyboard with
                   |                            |SCIM input method



--- Comment #1 from Petr Pisar <ppisar@xxxxxxxxxx> ---
Actually it works unless an input method is used. If an input method is in use,
XMODIFIERS environment variable is set (e.g. to "@im=SCIM" if scim input method
is used). Then a branch for handling 'A' Tk::Ev events at pTk/tkBind.c:2925:

                    string = TkpGetString(winPtr, eventPtr, &buf);
                    numChars = Tcl_DStringLength(&buf);

obtains an empty string and returns an empty string back to Perl Tk.

If XMODIFIERS is unset, the code obtains at a second key event a correct
two-byte string "ř".

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
perl-devel mailing list -- perl-devel@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to perl-devel-leave@xxxxxxxxxxxxxxxxxxxxxxx
Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/perl-devel@xxxxxxxxxxxxxxxxxxxxxxx




[Index of Archives]     [Fedora Announce]     [Fedora Kernel]     [Fedora Testing]     [Fedora Legacy Announce]     [Fedora PHP Devel]     [Kernel Devel]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Big List of Linux Books]     [Gimp]     [Yosemite Information]

  Powered by Linux