[PHP-BUG] Bug #53813 [NEW]: GdkEvent keyval field not writable

classic Classic list List threaded Threaded
8 messages Options
Reply | Threaded
Open this post in threaded view
|

[PHP-BUG] Bug #53813 [NEW]: GdkEvent keyval field not writable

Guthrie at att dot net
From:            
Operating system: Linux 32bit
PHP version:      5.3.5
Package:          PHP-GTK related
Bug Type:         Bug
Bug description:GdkEvent keyval field not writable

Description:
------------
If you create a GdkEvent with the GdkEventType Gdk::KEY_PRESS and try to
assign a value to the keyval field the keyval field does not change.

Test script:
---------------
$event = new GdkEvent(Gdk::KEY_PRESS);

$event->keyval = Gdk::KEY_Return;

var_dump($event);

Expected result:
----------------
object(GdkEvent)#4466 (9) {

  ["keyval"]=>

  int(65293)

  ["time"]=>

  int(0)

  ["state"]=>

  int(0)

  ["string"]=>

  string(0) ""

  ["hardware_keycode"]=>

  int(0)

  ["group"]=>

  int(0)

  ["type"]=>

  int(8)

  ["window"]=>

  NULL

  ["send_event"]=>

  bool(false)

}



Actual result:
--------------
object(GdkEvent)#4466 (9) {

  ["keyval"]=>

  int(0)

  ["time"]=>

  int(0)

  ["state"]=>

  int(0)

  ["string"]=>

  string(0) ""

  ["hardware_keycode"]=>

  int(0)

  ["group"]=>

  int(0)

  ["type"]=>

  int(8)

  ["window"]=>

  NULL

  ["send_event"]=>

  bool(false)

}



--
Edit bug report at http://bugs.php.net/bug.php?id=53813&edit=1
--
Try a snapshot (PHP 5.2):            http://bugs.php.net/fix.php?id=53813&r=trysnapshot52
Try a snapshot (PHP 5.3):            http://bugs.php.net/fix.php?id=53813&r=trysnapshot53
Try a snapshot (trunk):              http://bugs.php.net/fix.php?id=53813&r=trysnapshottrunk
Fixed in SVN:                        http://bugs.php.net/fix.php?id=53813&r=fixed
Fixed in SVN and need be documented: http://bugs.php.net/fix.php?id=53813&r=needdocs
Fixed in release:                    http://bugs.php.net/fix.php?id=53813&r=alreadyfixed
Need backtrace:                      http://bugs.php.net/fix.php?id=53813&r=needtrace
Need Reproduce Script:               http://bugs.php.net/fix.php?id=53813&r=needscript
Try newer version:                   http://bugs.php.net/fix.php?id=53813&r=oldversion
Not developer issue:                 http://bugs.php.net/fix.php?id=53813&r=support
Expected behavior:                   http://bugs.php.net/fix.php?id=53813&r=notwrong
Not enough info:                     http://bugs.php.net/fix.php?id=53813&r=notenoughinfo
Submitted twice:                     http://bugs.php.net/fix.php?id=53813&r=submittedtwice
register_globals:                    http://bugs.php.net/fix.php?id=53813&r=globals
PHP 4 support discontinued:          http://bugs.php.net/fix.php?id=53813&r=php4
Daylight Savings:                    http://bugs.php.net/fix.php?id=53813&r=dst
IIS Stability:                       http://bugs.php.net/fix.php?id=53813&r=isapi
Install GNU Sed:                     http://bugs.php.net/fix.php?id=53813&r=gnused
Floating point limitations:          http://bugs.php.net/fix.php?id=53813&r=float
No Zend Extensions:                  http://bugs.php.net/fix.php?id=53813&r=nozend
MySQL Configuration Error:           http://bugs.php.net/fix.php?id=53813&r=mysqlcfg


--
PHP-GTK Development Mailing List (http://gtk.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply | Threaded
Open this post in threaded view
|

Bug #53813 [Com]: GdkEvent keyval field not writable

Guthrie at att dot net
Edit report at http://bugs.php.net/bug.php?id=53813&edit=1

 ID:                 53813
 Comment by:         [hidden email]
 Reported by:        ptlis at ptlis dot net
 Summary:            GdkEvent keyval field not writable
 Status:             Open
 Type:               Bug
 Package:            PHP-GTK related
 Operating System:   Linux 32bit
 PHP Version:        5.3.5
 Block user comment: N
 Private report:     N

 New Comment:

There's no write_property handler for the GdkEvent stuff. It also seems
to be

missing for other objects. I'll work on a patch today for GdkEvent.


Previous Comments:
------------------------------------------------------------------------
[2011-01-22 14:10:11] ptlis at ptlis dot net

Description:
------------
If you create a GdkEvent with the GdkEventType Gdk::KEY_PRESS and try to
assign a value to the keyval field the keyval field does not change.

Test script:
---------------
$event = new GdkEvent(Gdk::KEY_PRESS);

$event->keyval = Gdk::KEY_Return;

var_dump($event);

Expected result:
----------------
object(GdkEvent)#4466 (9) {

  ["keyval"]=>

  int(65293)

  ["time"]=>

  int(0)

  ["state"]=>

  int(0)

  ["string"]=>

  string(0) ""

  ["hardware_keycode"]=>

  int(0)

  ["group"]=>

  int(0)

  ["type"]=>

  int(8)

  ["window"]=>

  NULL

  ["send_event"]=>

  bool(false)

}



Actual result:
--------------
object(GdkEvent)#4466 (9) {

  ["keyval"]=>

  int(0)

  ["time"]=>

  int(0)

  ["state"]=>

  int(0)

  ["string"]=>

  string(0) ""

  ["hardware_keycode"]=>

  int(0)

  ["group"]=>

  int(0)

  ["type"]=>

  int(8)

  ["window"]=>

  NULL

  ["send_event"]=>

  bool(false)

}




------------------------------------------------------------------------



--
Edit this bug report at http://bugs.php.net/bug.php?id=53813&edit=1

--
PHP-GTK Development Mailing List (http://gtk.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply | Threaded
Open this post in threaded view
|

Bug #53813 [Opn->Asn]: GdkEvent keyval field not writable

markskilbeck
In reply to this post by Guthrie at att dot net
Edit report at http://bugs.php.net/bug.php?id=53813&edit=1

 ID:                 53813
 Updated by:         [hidden email]
 Reported by:        ptlis at ptlis dot net
 Summary:            GdkEvent keyval field not writable
-Status:             Open
+Status:             Assigned
 Type:               Bug
 Package:            PHP-GTK related
 Operating System:   Linux 32bit
 PHP Version:        5.3.5
-Assigned To:        
+Assigned To:        markskilbeck
 Block user comment: N
 Private report:     N



Previous Comments:
------------------------------------------------------------------------
[2011-01-25 17:08:34] [hidden email]

There's no write_property handler for the GdkEvent stuff. It also seems
to be

missing for other objects. I'll work on a patch today for GdkEvent.

------------------------------------------------------------------------
[2011-01-22 14:10:11] ptlis at ptlis dot net

Description:
------------
If you create a GdkEvent with the GdkEventType Gdk::KEY_PRESS and try to
assign a value to the keyval field the keyval field does not change.

Test script:
---------------
$event = new GdkEvent(Gdk::KEY_PRESS);

$event->keyval = Gdk::KEY_Return;

var_dump($event);

Expected result:
----------------
object(GdkEvent)#4466 (9) {

  ["keyval"]=>

  int(65293)

  ["time"]=>

  int(0)

  ["state"]=>

  int(0)

  ["string"]=>

  string(0) ""

  ["hardware_keycode"]=>

  int(0)

  ["group"]=>

  int(0)

  ["type"]=>

  int(8)

  ["window"]=>

  NULL

  ["send_event"]=>

  bool(false)

}



Actual result:
--------------
object(GdkEvent)#4466 (9) {

  ["keyval"]=>

  int(0)

  ["time"]=>

  int(0)

  ["state"]=>

  int(0)

  ["string"]=>

  string(0) ""

  ["hardware_keycode"]=>

  int(0)

  ["group"]=>

  int(0)

  ["type"]=>

  int(8)

  ["window"]=>

  NULL

  ["send_event"]=>

  bool(false)

}




------------------------------------------------------------------------



--
Edit this bug report at http://bugs.php.net/bug.php?id=53813&edit=1

--
PHP-GTK Development Mailing List (http://gtk.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply | Threaded
Open this post in threaded view
|

Bug #53813 [Asn->Opn]: GdkEvent keyval field not writable

markskilbeck
In reply to this post by Guthrie at att dot net
Edit report at https://bugs.php.net/bug.php?id=53813&edit=1

 ID:                 53813
 Updated by:         [hidden email]
 Reported by:        ptlis at ptlis dot net
 Summary:            GdkEvent keyval field not writable
-Status:             Assigned
+Status:             Open
 Type:               Bug
 Package:            PHP-GTK related
 Operating System:   Linux 32bit
 PHP Version:        5.3.5
-Assigned To:        markskilbeck
+Assigned To:        auroraeosrose
 Block user comment: N
 Private report:     N



Previous Comments:
------------------------------------------------------------------------
[2011-01-25 17:08:34] [hidden email]

There's no write_property handler for the GdkEvent stuff. It also seems to be
missing for other objects. I'll work on a patch today for GdkEvent.

------------------------------------------------------------------------
[2011-01-22 14:10:11] ptlis at ptlis dot net

Description:
------------
If you create a GdkEvent with the GdkEventType Gdk::KEY_PRESS and try to assign a value to the keyval field the keyval field does not change.

Test script:
---------------
$event = new GdkEvent(Gdk::KEY_PRESS);
$event->keyval = Gdk::KEY_Return;
var_dump($event);

Expected result:
----------------
object(GdkEvent)#4466 (9) {
  ["keyval"]=>
  int(65293)
  ["time"]=>
  int(0)
  ["state"]=>
  int(0)
  ["string"]=>
  string(0) ""
  ["hardware_keycode"]=>
  int(0)
  ["group"]=>
  int(0)
  ["type"]=>
  int(8)
  ["window"]=>
  NULL
  ["send_event"]=>
  bool(false)
}


Actual result:
--------------
object(GdkEvent)#4466 (9) {
  ["keyval"]=>
  int(0)
  ["time"]=>
  int(0)
  ["state"]=>
  int(0)
  ["string"]=>
  string(0) ""
  ["hardware_keycode"]=>
  int(0)
  ["group"]=>
  int(0)
  ["type"]=>
  int(8)
  ["window"]=>
  NULL
  ["send_event"]=>
  bool(false)
}



------------------------------------------------------------------------



--
Edit this bug report at https://bugs.php.net/bug.php?id=53813&edit=1

--
PHP-GTK Development Mailing List (http://gtk.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply | Threaded
Open this post in threaded view
|

Bug #53813 [Asn->Ana]: GdkEvent keyval field not writable

buhlerax
In reply to this post by Guthrie at att dot net
Edit report at https://bugs.php.net/bug.php?id=53813&edit=1

 ID:                 53813
 Updated by:         [hidden email]
 Reported by:        ptlis at ptlis dot net
 Summary:            GdkEvent keyval field not writable
-Status:             Assigned
+Status:             Analyzed
 Type:               Bug
 Package:            PHP-GTK related
 Operating System:   Linux 32bit
 PHP Version:        5.3.5
 Assigned To:        buhlerax
 Block user comment: N
 Private report:     N

 New Comment:

The 2.0.1 version of php-gtk will no longer fixes.
We will work on version 3 of the php-gtk with gtk 3.


Previous Comments:
------------------------------------------------------------------------
[2011-01-25 17:08:34] [hidden email]

There's no write_property handler for the GdkEvent stuff. It also seems to be
missing for other objects. I'll work on a patch today for GdkEvent.

------------------------------------------------------------------------
[2011-01-22 14:10:11] ptlis at ptlis dot net

Description:
------------
If you create a GdkEvent with the GdkEventType Gdk::KEY_PRESS and try to assign a value to the keyval field the keyval field does not change.

Test script:
---------------
$event = new GdkEvent(Gdk::KEY_PRESS);
$event->keyval = Gdk::KEY_Return;
var_dump($event);

Expected result:
----------------
object(GdkEvent)#4466 (9) {
  ["keyval"]=>
  int(65293)
  ["time"]=>
  int(0)
  ["state"]=>
  int(0)
  ["string"]=>
  string(0) ""
  ["hardware_keycode"]=>
  int(0)
  ["group"]=>
  int(0)
  ["type"]=>
  int(8)
  ["window"]=>
  NULL
  ["send_event"]=>
  bool(false)
}


Actual result:
--------------
object(GdkEvent)#4466 (9) {
  ["keyval"]=>
  int(0)
  ["time"]=>
  int(0)
  ["state"]=>
  int(0)
  ["string"]=>
  string(0) ""
  ["hardware_keycode"]=>
  int(0)
  ["group"]=>
  int(0)
  ["type"]=>
  int(8)
  ["window"]=>
  NULL
  ["send_event"]=>
  bool(false)
}



------------------------------------------------------------------------



--
Edit this bug report at https://bugs.php.net/bug.php?id=53813&edit=1

--
PHP-GTK Development Mailing List (http://gtk.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply | Threaded
Open this post in threaded view
|

Bug #53813 [Ana->Asn]: GdkEvent keyval field not writable

Kalle Sommer Nielsen
In reply to this post by Guthrie at att dot net
Edit report at https://bugs.php.net/bug.php?id=53813&edit=1

 ID:                 53813
 Updated by:         [hidden email]
 Reported by:        ptlis at ptlis dot net
 Summary:            GdkEvent keyval field not writable
-Status:             Analyzed
+Status:             Assigned
 Type:               Bug
 Package:            PHP-GTK related
 Operating System:   Linux 32bit
 PHP Version:        5.3.5
 Assigned To:        buhlerax
 Block user comment: N
 Private report:     N



Previous Comments:
------------------------------------------------------------------------
[2016-10-23 15:58:18] [hidden email]

The 2.0.1 version of php-gtk will no longer fixes.
We will work on version 3 of the php-gtk with gtk 3.

------------------------------------------------------------------------
[2011-01-25 17:08:34] [hidden email]

There's no write_property handler for the GdkEvent stuff. It also seems to be
missing for other objects. I'll work on a patch today for GdkEvent.

------------------------------------------------------------------------
[2011-01-22 14:10:11] ptlis at ptlis dot net

Description:
------------
If you create a GdkEvent with the GdkEventType Gdk::KEY_PRESS and try to assign a value to the keyval field the keyval field does not change.

Test script:
---------------
$event = new GdkEvent(Gdk::KEY_PRESS);
$event->keyval = Gdk::KEY_Return;
var_dump($event);

Expected result:
----------------
object(GdkEvent)#4466 (9) {
  ["keyval"]=>
  int(65293)
  ["time"]=>
  int(0)
  ["state"]=>
  int(0)
  ["string"]=>
  string(0) ""
  ["hardware_keycode"]=>
  int(0)
  ["group"]=>
  int(0)
  ["type"]=>
  int(8)
  ["window"]=>
  NULL
  ["send_event"]=>
  bool(false)
}


Actual result:
--------------
object(GdkEvent)#4466 (9) {
  ["keyval"]=>
  int(0)
  ["time"]=>
  int(0)
  ["state"]=>
  int(0)
  ["string"]=>
  string(0) ""
  ["hardware_keycode"]=>
  int(0)
  ["group"]=>
  int(0)
  ["type"]=>
  int(8)
  ["window"]=>
  NULL
  ["send_event"]=>
  bool(false)
}



------------------------------------------------------------------------



--
Edit this bug report at https://bugs.php.net/bug.php?id=53813&edit=1

--
PHP-GTK Development Mailing List (http://gtk.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply | Threaded
Open this post in threaded view
|

Bug #53813 [Asn->Opn]: GdkEvent keyval field not writable

Kalle Sommer Nielsen
In reply to this post by Guthrie at att dot net
Edit report at https://bugs.php.net/bug.php?id=53813&edit=1

 ID:                 53813
 Updated by:         [hidden email]
 Reported by:        ptlis at ptlis dot net
 Summary:            GdkEvent keyval field not writable
-Status:             Assigned
+Status:             Open
 Type:               Bug
 Package:            PHP-GTK related
 Operating System:   Linux 32bit
 PHP Version:        5.3.5
-Assigned To:        buhlerax
+Assigned To:        
 Block user comment: N
 Private report:     N



Previous Comments:
------------------------------------------------------------------------
[2016-10-23 15:58:18] [hidden email]

The 2.0.1 version of php-gtk will no longer fixes.
We will work on version 3 of the php-gtk with gtk 3.

------------------------------------------------------------------------
[2011-01-25 17:08:34] [hidden email]

There's no write_property handler for the GdkEvent stuff. It also seems to be
missing for other objects. I'll work on a patch today for GdkEvent.

------------------------------------------------------------------------
[2011-01-22 14:10:11] ptlis at ptlis dot net

Description:
------------
If you create a GdkEvent with the GdkEventType Gdk::KEY_PRESS and try to assign a value to the keyval field the keyval field does not change.

Test script:
---------------
$event = new GdkEvent(Gdk::KEY_PRESS);
$event->keyval = Gdk::KEY_Return;
var_dump($event);

Expected result:
----------------
object(GdkEvent)#4466 (9) {
  ["keyval"]=>
  int(65293)
  ["time"]=>
  int(0)
  ["state"]=>
  int(0)
  ["string"]=>
  string(0) ""
  ["hardware_keycode"]=>
  int(0)
  ["group"]=>
  int(0)
  ["type"]=>
  int(8)
  ["window"]=>
  NULL
  ["send_event"]=>
  bool(false)
}


Actual result:
--------------
object(GdkEvent)#4466 (9) {
  ["keyval"]=>
  int(0)
  ["time"]=>
  int(0)
  ["state"]=>
  int(0)
  ["string"]=>
  string(0) ""
  ["hardware_keycode"]=>
  int(0)
  ["group"]=>
  int(0)
  ["type"]=>
  int(8)
  ["window"]=>
  NULL
  ["send_event"]=>
  bool(false)
}



------------------------------------------------------------------------



--
Edit this bug report at https://bugs.php.net/bug.php?id=53813&edit=1

--
PHP-GTK Development Mailing List (http://gtk.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply | Threaded
Open this post in threaded view
|

Bug #53813 [Opn->Sus]: GdkEvent keyval field not writable

Kalle Sommer Nielsen
In reply to this post by Guthrie at att dot net
Edit report at https://bugs.php.net/bug.php?id=53813&edit=1

 ID:                 53813
 Updated by:         [hidden email]
 Reported by:        ptlis at ptlis dot net
 Summary:            GdkEvent keyval field not writable
-Status:             Open
+Status:             Suspended
 Type:               Bug
 Package:            PHP-GTK related
 Operating System:   Linux 32bit
 PHP Version:        5.3.5
 Block user comment: N
 Private report:     N

 New Comment:

I'm gonna suspend this report as the PHP GTK project activity seems halted, if the activity picks backup for the project then this report should be re-opened.


Previous Comments:
------------------------------------------------------------------------
[2016-10-23 15:58:18] [hidden email]

The 2.0.1 version of php-gtk will no longer fixes.
We will work on version 3 of the php-gtk with gtk 3.

------------------------------------------------------------------------
[2011-01-25 17:08:34] [hidden email]

There's no write_property handler for the GdkEvent stuff. It also seems to be
missing for other objects. I'll work on a patch today for GdkEvent.

------------------------------------------------------------------------
[2011-01-22 14:10:11] ptlis at ptlis dot net

Description:
------------
If you create a GdkEvent with the GdkEventType Gdk::KEY_PRESS and try to assign a value to the keyval field the keyval field does not change.

Test script:
---------------
$event = new GdkEvent(Gdk::KEY_PRESS);
$event->keyval = Gdk::KEY_Return;
var_dump($event);

Expected result:
----------------
object(GdkEvent)#4466 (9) {
  ["keyval"]=>
  int(65293)
  ["time"]=>
  int(0)
  ["state"]=>
  int(0)
  ["string"]=>
  string(0) ""
  ["hardware_keycode"]=>
  int(0)
  ["group"]=>
  int(0)
  ["type"]=>
  int(8)
  ["window"]=>
  NULL
  ["send_event"]=>
  bool(false)
}


Actual result:
--------------
object(GdkEvent)#4466 (9) {
  ["keyval"]=>
  int(0)
  ["time"]=>
  int(0)
  ["state"]=>
  int(0)
  ["string"]=>
  string(0) ""
  ["hardware_keycode"]=>
  int(0)
  ["group"]=>
  int(0)
  ["type"]=>
  int(8)
  ["window"]=>
  NULL
  ["send_event"]=>
  bool(false)
}



------------------------------------------------------------------------



--
Edit this bug report at https://bugs.php.net/bug.php?id=53813&edit=1

--
PHP-GTK Development Mailing List (http://gtk.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php