https://bugzilla.redhat.com/show_bug.cgi?id=1726138 Bug ID: 1726138 Summary: Tk::Text ignores non-ASCII input from a keyboard Product: Fedora Version: 29 Status: NEW Component: perl-Tk Assignee: andreas.bierfert@xxxxxxxxxxxxx Reporter: ppisar@xxxxxxxxxx QA Contact: extras-qa@xxxxxxxxxxxxxxxxx CC: andreas.bierfert@xxxxxxxxxxxxx, perl-devel@xxxxxxxxxxxxxxxxxxxxxxx, tremble@xxxxxxxxxxxxxx, xavier@xxxxxxxxxxxx Target Milestone: --- Classification: Fedora This code: #!/usr/bin/perl use strict; use warnings; use Tk; my $mw = MainWindow->new; $mw->title ($]); my $tw = $mw->Text ( -font => "{ DejaVu Sans Mono } 9", )->pack (-side => "top", -expand => 1, -fill => "both", -anchor => "nw"); MainLoop; creates a text area widget where one can write a text as in a text editor. If I press 'A' key, 'a' appears. That's fine. If I press key that returns a non-ASCII character (e.g. '5' key on Czech keyboard should return 'ř' character), nothing shows. I still can insert the non-ASCII characters from a primary X11 selection by pressing a middle mouse button. Thus I conclude perl-Tk ignores non-ASCII keys. This happens with any perl-Tk-804.034 or perl-libs. Also upstream sources suffer from this. A previous perl-Tk-804.033 ignores all keys, including ASCII ones. I guess something has changes in X11 and the bundled Tk does not process Unicode labels from the key press events. -- 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