Opened 10 years ago

Closed 8 years ago

#812 closed defect (not relevant)

Win32::GUI programs require 'external window' option

Reported by: Floyd-ATC Owned by: azawawi
Priority: major Milestone:
Component: Debugger for Perl 5 Version: 0.53
Keywords: win32::gui invisible Cc:


The following tutorial script shows a simple window:

use Win32::GUI();  # Version 1.06 from CPAN
my $main = Win32::GUI::Window->new(
  -name   => 'Main',
  -width  => 800, 
  -height => 600,
  -title  => $0
Win32::GUI->Dialog();   # Enter message loop
sub Main_Terminate { -1; }  # Terminate message loop

When run from the command-line, it works as expected. When run from inside Padre using F5 or the debugger, the script runs but the window does not show.

The problem goes away if I enable "Use external window" under Edit | Preferences | Run parameters

Change History (2)

comment:1 Changed 8 years ago by azawawi

  • Owner set to azawawi
  • Status changed from new to assigned

Related to #962

comment:2 Changed 8 years ago by bowtie

  • Component changed from editor to Debugger for Perl 5
  • Resolution set to not relevant
  • Status changed from assigned to closed
Note: See TracTickets for help on using tickets.