logo       

Text Selection Bug in ActiveState W32 Perl?: msg#00009

Subject: Text Selection Bug in ActiveState W32 Perl?
Folks-

I think I may have found a bug in the ActiveState W32 Perl
(version 5.8.7 build 813 and before). Please help me verify
it if you can.

This seems to work fine on unix boxes (SGIs & Suns), but
doesn't work on windows XP & 2000 (and maybe others).

To verify:

1.) Run the following program:
use Tk;

my $mw = MainWindow->new;
my $text = $mw->Scrolled('Text', -state=>'disabled')->pack;

$text->configure(-state=>'normal');
$text->insert('end',"one\ntwo\nthree\nfor\nfive\nsix\nseven\neight\nnine\nten\n");
$text->configure(-state=>'disabled');

$mw->Button(
    -text    => "enable",
    -command => sub{$text->configure(-state=>'normal')} )->pack;

$mw->Button(
    -text    => "disable",
    -command => sub{$text->configure(-state=>'disabled')} )->pack;

MainLoop;

2.) Before hitting any buttons, try selecting some text. For me,
        any text that I select is not highlighted (but it is
        selected). THIS IS THE BUG!

3.) Now, hit the 'enable' button (hitting disable at this point
        doesn't change anything for me). Now select some text. For
        me, selected text is now highlighted.

4.) Now, hit the 'disable' button, and select some text. For me,
        selected text is still highlighted.

If others see this problem too, then I will submit the bug
to activestate. If others don't see this bug, let me know too;
maybe it's just me...

If anybody has a fix, please let me know!

Thanks

-Craig Votava

Lucent Technologies
-++**==--++**==--++**==--++**==--++**==--++**==--++**==
This message was posted through the Stanford campus mailing list
server.  If you wish to unsubscribe from this mailing list, send the
message body of "unsubscribe ptk" to majordomo@xxxxxxxxxxxxxxxxxx



<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

Recently Viewed:
qnx.openqnx.dev...    politics.lenini...    audio.emagic.ex...    tex.texinfo.gen...    handhelds.linux...    ietf.sipping/20...    lang.erlang.gen...    cygwin.talk/200...    yellowdog.gener...    mozilla.devel.l...    xfree86.newbie/...    openbsd.ports/2...    db.oracle.devel...    kde.kalyxo.deve...    user-groups.lin...    bbc.cvs/2003-04...    gnu.libtool.bug...    redhat.k12osn/2...    emulators.wine....    freebsd.devel.d...    search.xapian.g...    java.izpack.use...    network.mrtg.us...    windows.total-c...   
Home | blog view | USPTO Patent Archive | advertise | OSDir is an inevitable website. super tiny logo

Free Magazines

Cisco News
Receive a free quarterly e-newsletter with exclusive articles on how Cisco IT uses its own products and solutions to enable the business.
subscribe

Systems Management News, the newspaper for IT systems administration and data center managers! Each issue of Systems Management News is chock-full of news and analysis to help you understand what's happening in your field.
subscribe

The Enterprise Newsweekly eWeek is the essential technology information source for builders of e-business.
subscribe

Oracle Magazine Oracle Magazine contains technology strategy articles, sample code, tips, Oracle and partner news, how to articles for developers and DBAs, and more. Oracle (NASDAQ: ORCL) is the world's largest enterprise software company.
subscribe

Total Telecom Total Telecom is "The Economist of the communications industry".
subscribe