Oooh, sorry! The first problem is: The original code is much too big and copyright-sensitive aswell, so i just extracted some of the routines which cause the problems.

I extracted the following test example, which i am pretty sure would cause the same errors. The script either freezes, when the cursor rests more than 200ms over the first test button when the ballloon help would normally show up, or when you hit the second button and the getOpenFile-dialog normally would open:
#!/usr/bin/perl -w use strict; use warnings; use Tk; use Tk::Balloon; use Tk::Dialog; use Tk::DialogBox; #-------------------------------------------- my $mw = MainWindow->new( ); #-------------------------------------------- my $balloonbutt = $mw->Button( -text => 'Test Balloon MouseOver', ) ->grid( -column => 10, -row => 10, -padx => 10, -pady => 10, ); my $ball = $balloonbutt->Balloon( -state => "balloon", -cancelcommand => sub { return 1 }, ); $ball->attach( $balloonbutt, -balloonposition => 'mouse', -msg => "Balloon Test", -cancelcommand => sub { return 1 }, -initwait => 200, ); #-------------------------------------------- $mw->Button( -text => 'Browse', -command => sub { my $types = [ [ 'Modellfiles' , ' +*.fif *.nas *.bdf' ], [ 'All Files' , ' +*' ] ]; my $file = $mw->getOpenFile( -filetypes => $ty +pes, -title => "Te +st getOpenFile", ); }, ) ->grid( -column => 20, -row => 10, -padx => 10, -pady => 10, ); #-------------------------------------------- MainLoop();
The second, major problem: The error only occurs on the environment of my customer. And i don't get too many chances, to try out this and that all the time on this system. I am expectet to provide my customer some code, which runs ... ;-) I know, stupid me selling scripts, not beeing evaluated on the environment which they're running on later ... ;-)
On my environment, the test script above runs absolutely normal without any problems.

Markus.

In reply to Re^2: Perl Tk, GUI / Window Manager freezes/blocks when creating new windows, dialogues or balloons by vertigomagic
in thread Perl Tk, GUI / Window Manager freezes/blocks when creating new windows, dialogues or balloons by vertigomagic

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.