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(a)lowlatency.de
Reporter: ppisar(a)redhat.com
QA Contact: extras-qa(a)fedoraproject.org
CC: andreas.bierfert(a)lowlatency.de,
perl-devel(a)lists.fedoraproject.org,
tremble(a)tremble.org.uk, xavier(a)bachelot.org
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.