From:             jbelton at shaw dot ca
Operating system: Windows 98
PHP version:      Irrelevant
PHP Bug Type:     Output Control
Bug description:  Little Square Dots Everywhere

Description:
------------
Just installed PHP-GTK 1.0.0 on Windows 98.  Don't know the version of
PHP.  Downloaded the hello world script below.  Works fine, but the
default "color" is light grey, covered with dark grey dots.  Also
downloaded a longer sample program.  Again, works fine but with little
grey dots all over it.

Reproduce code:
---------------
<?php

if (!class_exists('gtk')) {
    if (strtoupper(substr(PHP_OS, 0,3) == 'WIN'))
    dl('php_gtk.dll');
  else
    dl('php_gtk.so');
}

function delete_event()
{
    return false;
}

function shutdown()
{
    print("Shutting down...\n");
    gtk::main_quit();
}

function hello()
{
    global $window;
    print "Hello World!\n";
    $window->destroy();
}

$window = &new GtkWindow();
$window->connect('destroy', 'shutdown');
$window->connect('delete-event', 'delete_event');
$window->set_border_width(10);

$button = &new GtkButton('Hello World!');
$button->connect('clicked', 'hello');
$window->add($button);

$window->show_all();

gtk::main();

?>


Expected result:
----------------
A little window with a button saying hello world, but without little dark
grey spots all over it.

Actual result:
--------------
Could send a screen shot, 

-- 
Edit bug report at http://bugs.php.net/?id=28587&edit=1
-- 
Try a CVS snapshot (php4):  http://bugs.php.net/fix.php?id=28587&r=trysnapshot4
Try a CVS snapshot (php5):  http://bugs.php.net/fix.php?id=28587&r=trysnapshot5
Fixed in CVS:               http://bugs.php.net/fix.php?id=28587&r=fixedcvs
Fixed in release:           http://bugs.php.net/fix.php?id=28587&r=alreadyfixed
Need backtrace:             http://bugs.php.net/fix.php?id=28587&r=needtrace
Need Reproduce Script:      http://bugs.php.net/fix.php?id=28587&r=needscript
Try newer version:          http://bugs.php.net/fix.php?id=28587&r=oldversion
Not developer issue:        http://bugs.php.net/fix.php?id=28587&r=support
Expected behavior:          http://bugs.php.net/fix.php?id=28587&r=notwrong
Not enough info:            http://bugs.php.net/fix.php?id=28587&r=notenoughinfo
Submitted twice:            http://bugs.php.net/fix.php?id=28587&r=submittedtwice
register_globals:           http://bugs.php.net/fix.php?id=28587&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=28587&r=php3
Daylight Savings:           http://bugs.php.net/fix.php?id=28587&r=dst
IIS Stability:              http://bugs.php.net/fix.php?id=28587&r=isapi
Install GNU Sed:            http://bugs.php.net/fix.php?id=28587&r=gnused
Floating point limitations: http://bugs.php.net/fix.php?id=28587&r=float

Reply via email to