Skip Menu |

This queue is for tickets about the PAR CPAN distribution.

Report information
The Basics
Id: 5114
Status: open
Priority: 0/
Queue: PAR

People
Owner: Nobody in particular
Requestors: pwhitney [...] mit.edu
Cc:
AdminCc:

Bug Information
Severity: Normal
Broken in: (no value)
Fixed in: (no value)



Subject: TK window does not open as active/foreground window when pp --gui is used
When creating an executable using pp --gui, when executed a TK window generated by my script is opened, but it is not the active/foreground window, it appears behind other windows open on the screen. If I use pp without the '--gui' option, the window opens as expected as the active, forground window.
From: pwhitney [...] mit.edu
[guest - Thu Jan 29 14:40:23 2004]: Show quoted text
> When creating an executable using pp --gui, when executed a TK window > generated by my script is opened, but it is not the > active/foreground window, it appears behind other windows open on > the screen. If I use pp without the '--gui' option, the window > opens as expected as the active, forground window.
I forgot this info!! I am using ActivePerl build 808 (5.8.2) and manually installed (perl Makefile... etc) Par 0.79 OS is XPPro SP1
[guest - Thu Jan 29 14:40:23 2004]: Show quoted text
> When creating an executable using pp --gui, when executed a TK window > generated by my script is opened, but it is not the > active/foreground window, it appears behind other windows open on > the screen. If I use pp without the '--gui' option, the window > opens as expected as the active, forground window.
Able to reproduce with this code: use Tk; $top = MainWindow->new(); $top->title ("Simple"); $l = $top->Label(text => 'hello', anchor => 'n', relief => 'groove', width => 10, height => 3); $l->pack(); MainLoop(); Compiled with: C:\Documents and Settings\Patrick\Desktop\devel>pp -o tktest2.exe tktest2.pl C:\Documents and Settings\Patrick\Desktop\devel>pp --gui -o tktest2ng.exe tktest2.pl When executing tktest2.exe the window appears as the active window When executing tktest2ng.exe the window appears but not active.