|
View:
New views
4 Messages
—
Rating Filter:
Alert me
|
|
|
#41007 [NEW]: PHP GTK2 GtkListStore invoke signal callback problemFrom: james dot smith at cybertill dot co dot uk
Operating system: WinXP PHP version: 5.2.1 PHP Bug Type: PHP-GTK related Bug description: PHP GTK2 GtkListStore invoke signal callback problem Description: ------------ While designing a Till system using php gtk2 and grabbing code from several examples. I encountered the following problem. When clicking on an item in a GtkListStore object, the callback function is either renamed/ stored incorrectly. Despite me renaming it several times the function name is not handled properly and causes characters to be misinterpreted. $sectionBasketView = GtkListStore( Gtk::TYPE_STRING, Gtk::TYPE_LONG, Gtk::TYPE_DOUBLE); . . $selection = $sectionBasketView->get_selection(); $selection->connect('changed', "on_selection"); . . function on_selection() { . . Expected result: ---------------- on_selection function execution Actual result: -------------- The error log shows that the 9th character is pushed up by 1 character code. Here is a report from the error.txt it produced. The first instance the letter "t" being replaced with a "s" character. The second instance "i" renamed the function call with a "j" at the start this in turn affected the next character "c" changing to a "b". As far as i can tell the on_selection is not used anywhere else. Is this an inbuilt command/event/property? [05-Apr-2007 17:06:32] PHP Warning: Unable to invoke signal callback 'on_selecsion' specified in C:\PHP-Gtk2\examples\EtTill\Till.phpw on line 218 in C:\PHP-Gtk2\examples\EtTill\Till.phpw on line 331 [05-Apr-2007 17:07:37] PHP Warning: Unable to invoke signal callback 'on_jselebtion' specified in C:\PHP-Gtk2\examples\EtTill\Till.phpw on line 218 in C:\PHP-Gtk2\examples\EtTill\Till.phpw on line 331 [05-Apr-2007 17:07:37] PHP Warning: Unable to invoke signal callback 'on_jselebtion' specified in C:\PHP-Gtk2\examples\EtTill\Till.phpw on line 218 in C:\PHP-Gtk2\examples\EtTill\Till.phpw on line 331 [05-Apr-2007 17:09:24] PHP Warning: Unable to invoke signal callback 'aaaaaaaa' specified in C:\PHP-Gtk2\examples\EtTill\Till.phpw on line 218 in C:\PHP-Gtk2\examples\EtTill\Till.phpw on line 331 [05-Apr-2007 17:10:11] PHP Warning: Unable to invoke signal callback 'abcdefghijklmnopqrstuvwxyz' specified in C:\PHP-Gtk2\examples\EtTill\Till.phpw on line 218 in C:\PHP-Gtk2\examples\EtTill\Till.phpw on line 331 [05-Apr-2007 17:10:12] PHP Warning: Unable to invoke signal callback 'abcdefghijklmnopqrstuvwxyz' specified in C:\PHP-Gtk2\examples\EtTill\Till.phpw on line 218 in C:\PHP-Gtk2\examples\EtTill\Till.phpw on line 331 [05-Apr-2007 17:10:12] PHP Warning: Unable to invoke signal callback 'abcdefghijklmnopqrstuvwxyz' specified in C:\PHP-Gtk2\examples\EtTill\Till.phpw on line 218 in C:\PHP-Gtk2\examples\EtTill\Till.phpw on line 331 [05-Apr-2007 17:10:47] PHP Warning: Unable to invoke signal callback 'on_abcdefghijklmnopqrstuvwxyz' specified in C:\PHP-Gtk2\examples\EtTill\Till.phpw on line 218 in C:\PHP-Gtk2\examples\EtTill\Till.phpw on line 331 [05-Apr-2007 17:10:47] PHP Warning: Unable to invoke signal callback 'on_abcdefghijklmnopqrstuvwxyz' specified in C:\PHP-Gtk2\examples\EtTill\Till.phpw on line 218 in C:\PHP-Gtk2\examples\EtTill\Till.phpw on line 331 [05-Apr-2007 17:11:15] PHP Warning: Unable to invoke signal callback 'on_selabcdefghijklmnopqrstuvwxyz' specified in C:\PHP-Gtk2\examples\EtTill\Till.phpw on line 218 in C:\PHP-Gtk2\examples\EtTill\Till.phpw on line 331 [05-Apr-2007 17:11:16] PHP Warning: Unable to invoke signal callback 'on_selabcdefghijklmnopqrstuvwxyz' specified in C:\PHP-Gtk2\examples\EtTill\Till.phpw on line 218 in C:\PHP-Gtk2\examples\EtTill\Till.phpw on line 331 [05-Apr-2007 17:11:52] PHP Warning: Unable to invoke signal callback 'on_selectionabcdefghijklmnopqrstuvwxyz' specified in C:\PHP-Gtk2\examples\EtTill\Till.phpw on line 218 in C:\PHP-Gtk2\examples\EtTill\Till.phpw on line 331 [05-Apr-2007 17:11:53] PHP Warning: Unable to invoke signal callback 'on_selectionabcdefghijklmnopqrstuvwxyz' specified in C:\PHP-Gtk2\examples\EtTill\Till.phpw on line 218 in C:\PHP-Gtk2\examples\EtTill\Till.phpw on line 331 [05-Apr-2007 17:12:20] PHP Warning: Unable to invoke signal callback 'on_selecsionabc' specified in C:\PHP-Gtk2\examples\EtTill\Till.phpw on line 218 in C:\PHP-Gtk2\examples\EtTill\Till.phpw on line 331 [05-Apr-2007 17:12:20] PHP Warning: Unable to invoke signal callback 'on_selecsionabc' specified in C:\PHP-Gtk2\examples\EtTill\Till.phpw on line 218 in C:\PHP-Gtk2\examples\EtTill\Till.phpw on line 331 [05-Apr-2007 17:12:53] PHP Warning: Unable to invoke signal callback 'on_selectionabcd' specified in C:\PHP-Gtk2\examples\EtTill\Till.phpw on line 218 in C:\PHP-Gtk2\examples\EtTill\Till.phpw on line 331 [05-Apr-2007 17:12:53] PHP Warning: Unable to invoke signal callback 'on_selectionabcd' specified in C:\PHP-Gtk2\examples\EtTill\Till.phpw on line 218 in C:\PHP-Gtk2\examples\EtTill\Till.phpw on line 331 [05-Apr-2007 17:12:53] PHP Warning: Unable to invoke signal callback 'on_selectionabcd' specified in C:\PHP-Gtk2\examples\EtTill\Till.phpw on line 218 in C:\PHP-Gtk2\examples\EtTill\Till.phpw on line 331 [05-Apr-2007 17:12:54] PHP Warning: Unable to invoke signal callback 'on_selectionabcd' specified in C:\PHP-Gtk2\examples\EtTill\Till.phpw on line 218 in C:\PHP-Gtk2\examples\EtTill\Till.phpw on line 331 [05-Apr-2007 17:12:55] PHP Warning: Unable to invoke signal callback 'on_selectionabcd' specified in C:\PHP-Gtk2\examples\EtTill\Till.phpw on line 218 in C:\PHP-Gtk2\examples\EtTill\Till.phpw on line 331 [05-Apr-2007 17:12:55] PHP Warning: Unable to invoke signal callback 'on_selectionabcd' specified in C:\PHP-Gtk2\examples\EtTill\Till.phpw on line 218 in C:\PHP-Gtk2\examples\EtTill\Till.phpw on line 331 -- Edit bug report at http://bugs.php.net/?id=41007&edit=1 -- Try a CVS snapshot (PHP 4.4): http://bugs.php.net/fix.php?id=41007&r=trysnapshot44 Try a CVS snapshot (PHP 5.2): http://bugs.php.net/fix.php?id=41007&r=trysnapshot52 Try a CVS snapshot (PHP 6.0): http://bugs.php.net/fix.php?id=41007&r=trysnapshot60 Fixed in CVS: http://bugs.php.net/fix.php?id=41007&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=41007&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=41007&r=needtrace Need Reproduce Script: http://bugs.php.net/fix.php?id=41007&r=needscript Try newer version: http://bugs.php.net/fix.php?id=41007&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=41007&r=support Expected behavior: http://bugs.php.net/fix.php?id=41007&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=41007&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=41007&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=41007&r=globals PHP 3 support discontinued: http://bugs.php.net/fix.php?id=41007&r=php3 Daylight Savings: http://bugs.php.net/fix.php?id=41007&r=dst IIS Stability: http://bugs.php.net/fix.php?id=41007&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=41007&r=gnused Floating point limitations: http://bugs.php.net/fix.php?id=41007&r=float No Zend Extensions: http://bugs.php.net/fix.php?id=41007&r=nozend MySQL Configuration Error: http://bugs.php.net/fix.php?id=41007&r=mysqlcfg -- PHP-GTK Development Mailing List (http://gtk.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php |
|
|
#41007 [Opn->Fbk]: PHP GTK2 GtkListStore invoke signal callback problem ID: 41007
Updated by: auroraeosrose@... Reported By: james dot smith at cybertill dot co dot uk -Status: Open +Status: Feedback Bug Type: PHP-GTK related Operating System: WinXP PHP Version: 5.2.1 New Comment: Please try using this CVS snapshot: http://snaps.php.net/php5.2-latest.tar.gz For Windows (zip): http://snaps.php.net/win32/php5.2-win32-latest.zip For Windows (installer): http://snaps.php.net/win32/php5.2-win32-installer-latest.msi Does this still occur with newer versions? Previous Comments: ------------------------------------------------------------------------ [2007-04-05 16:43:53] james dot smith at cybertill dot co dot uk Description: ------------ While designing a Till system using php gtk2 and grabbing code from several examples. I encountered the following problem. When clicking on an item in a GtkListStore object, the callback function is either renamed/ stored incorrectly. Despite me renaming it several times the function name is not handled properly and causes characters to be misinterpreted. $sectionBasketView = GtkListStore( Gtk::TYPE_STRING, Gtk::TYPE_LONG, Gtk::TYPE_DOUBLE); . . $selection = $sectionBasketView->get_selection(); $selection->connect('changed', "on_selection"); . . function on_selection() { . . Expected result: ---------------- on_selection function execution Actual result: -------------- The error log shows that the 9th character is pushed up by 1 character code. Here is a report from the error.txt it produced. The first instance the letter "t" being replaced with a "s" character. The second instance "i" renamed the function call with a "j" at the start this in turn affected the next character "c" changing to a "b". As far as i can tell the on_selection is not used anywhere else. Is this an inbuilt command/event/property? [05-Apr-2007 17:06:32] PHP Warning: Unable to invoke signal callback 'on_selecsion' specified in C:\PHP-Gtk2\examples\EtTill\Till.phpw on line 218 in C:\PHP-Gtk2\examples\EtTill\Till.phpw on line 331 [05-Apr-2007 17:07:37] PHP Warning: Unable to invoke signal callback 'on_jselebtion' specified in C:\PHP-Gtk2\examples\EtTill\Till.phpw on line 218 in C:\PHP-Gtk2\examples\EtTill\Till.phpw on line 331 [05-Apr-2007 17:07:37] PHP Warning: Unable to invoke signal callback 'on_jselebtion' specified in C:\PHP-Gtk2\examples\EtTill\Till.phpw on line 218 in C:\PHP-Gtk2\examples\EtTill\Till.phpw on line 331 [05-Apr-2007 17:09:24] PHP Warning: Unable to invoke signal callback 'aaaaaaaa' specified in C:\PHP-Gtk2\examples\EtTill\Till.phpw on line 218 in C:\PHP-Gtk2\examples\EtTill\Till.phpw on line 331 [05-Apr-2007 17:10:11] PHP Warning: Unable to invoke signal callback 'abcdefghijklmnopqrstuvwxyz' specified in C:\PHP-Gtk2\examples\EtTill\Till.phpw on line 218 in C:\PHP-Gtk2\examples\EtTill\Till.phpw on line 331 [05-Apr-2007 17:10:12] PHP Warning: Unable to invoke signal callback 'abcdefghijklmnopqrstuvwxyz' specified in C:\PHP-Gtk2\examples\EtTill\Till.phpw on line 218 in C:\PHP-Gtk2\examples\EtTill\Till.phpw on line 331 [05-Apr-2007 17:10:12] PHP Warning: Unable to invoke signal callback 'abcdefghijklmnopqrstuvwxyz' specified in C:\PHP-Gtk2\examples\EtTill\Till.phpw on line 218 in C:\PHP-Gtk2\examples\EtTill\Till.phpw on line 331 [05-Apr-2007 17:10:47] PHP Warning: Unable to invoke signal callback 'on_abcdefghijklmnopqrstuvwxyz' specified in C:\PHP-Gtk2\examples\EtTill\Till.phpw on line 218 in C:\PHP-Gtk2\examples\EtTill\Till.phpw on line 331 [05-Apr-2007 17:10:47] PHP Warning: Unable to invoke signal callback 'on_abcdefghijklmnopqrstuvwxyz' specified in C:\PHP-Gtk2\examples\EtTill\Till.phpw on line 218 in C:\PHP-Gtk2\examples\EtTill\Till.phpw on line 331 [05-Apr-2007 17:11:15] PHP Warning: Unable to invoke signal callback 'on_selabcdefghijklmnopqrstuvwxyz' specified in C:\PHP-Gtk2\examples\EtTill\Till.phpw on line 218 in C:\PHP-Gtk2\examples\EtTill\Till.phpw on line 331 [05-Apr-2007 17:11:16] PHP Warning: Unable to invoke signal callback 'on_selabcdefghijklmnopqrstuvwxyz' specified in C:\PHP-Gtk2\examples\EtTill\Till.phpw on line 218 in C:\PHP-Gtk2\examples\EtTill\Till.phpw on line 331 [05-Apr-2007 17:11:52] PHP Warning: Unable to invoke signal callback 'on_selectionabcdefghijklmnopqrstuvwxyz' specified in C:\PHP-Gtk2\examples\EtTill\Till.phpw on line 218 in C:\PHP-Gtk2\examples\EtTill\Till.phpw on line 331 [05-Apr-2007 17:11:53] PHP Warning: Unable to invoke signal callback 'on_selectionabcdefghijklmnopqrstuvwxyz' specified in C:\PHP-Gtk2\examples\EtTill\Till.phpw on line 218 in C:\PHP-Gtk2\examples\EtTill\Till.phpw on line 331 [05-Apr-2007 17:12:20] PHP Warning: Unable to invoke signal callback 'on_selecsionabc' specified in C:\PHP-Gtk2\examples\EtTill\Till.phpw on line 218 in C:\PHP-Gtk2\examples\EtTill\Till.phpw on line 331 [05-Apr-2007 17:12:20] PHP Warning: Unable to invoke signal callback 'on_selecsionabc' specified in C:\PHP-Gtk2\examples\EtTill\Till.phpw on line 218 in C:\PHP-Gtk2\examples\EtTill\Till.phpw on line 331 [05-Apr-2007 17:12:53] PHP Warning: Unable to invoke signal callback 'on_selectionabcd' specified in C:\PHP-Gtk2\examples\EtTill\Till.phpw on line 218 in C:\PHP-Gtk2\examples\EtTill\Till.phpw on line 331 [05-Apr-2007 17:12:53] PHP Warning: Unable to invoke signal callback 'on_selectionabcd' specified in C:\PHP-Gtk2\examples\EtTill\Till.phpw on line 218 in C:\PHP-Gtk2\examples\EtTill\Till.phpw on line 331 [05-Apr-2007 17:12:53] PHP Warning: Unable to invoke signal callback 'on_selectionabcd' specified in C:\PHP-Gtk2\examples\EtTill\Till.phpw on line 218 in C:\PHP-Gtk2\examples\EtTill\Till.phpw on line 331 [05-Apr-2007 17:12:54] PHP Warning: Unable to invoke signal callback 'on_selectionabcd' specified in C:\PHP-Gtk2\examples\EtTill\Till.phpw on line 218 in C:\PHP-Gtk2\examples\EtTill\Till.phpw on line 331 [05-Apr-2007 17:12:55] PHP Warning: Unable to invoke signal callback 'on_selectionabcd' specified in C:\PHP-Gtk2\examples\EtTill\Till.phpw on line 218 in C:\PHP-Gtk2\examples\EtTill\Till.phpw on line 331 [05-Apr-2007 17:12:55] PHP Warning: Unable to invoke signal callback 'on_selectionabcd' specified in C:\PHP-Gtk2\examples\EtTill\Till.phpw on line 218 in C:\PHP-Gtk2\examples\EtTill\Till.phpw on line 331 ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=41007&edit=1 -- PHP-GTK Development Mailing List (http://gtk.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php |
|
|
#41007 [Fbk->Opn]: PHP GTK2 GtkListStore invoke signal callback problem ID: 41007
User updated by: james dot smith at cybertill dot co dot uk Reported By: james dot smith at cybertill dot co dot uk -Status: Feedback +Status: Open Bug Type: PHP-GTK related Operating System: WinXP PHP Version: 5.2.1 New Comment: I shall try and dig out the code i tested at the time. If not the GtkList Object is easily created from one of the demos. I shall add the callback function and see how i get on. Previous Comments: ------------------------------------------------------------------------ [2008-03-16 14:38:06] auroraeosrose@... Please try using this CVS snapshot: http://snaps.php.net/php5.2-latest.tar.gz For Windows (zip): http://snaps.php.net/win32/php5.2-win32-latest.zip For Windows (installer): http://snaps.php.net/win32/php5.2-win32-installer-latest.msi Does this still occur with newer versions? ------------------------------------------------------------------------ [2007-04-05 16:43:53] james dot smith at cybertill dot co dot uk Description: ------------ While designing a Till system using php gtk2 and grabbing code from several examples. I encountered the following problem. When clicking on an item in a GtkListStore object, the callback function is either renamed/ stored incorrectly. Despite me renaming it several times the function name is not handled properly and causes characters to be misinterpreted. $sectionBasketView = GtkListStore( Gtk::TYPE_STRING, Gtk::TYPE_LONG, Gtk::TYPE_DOUBLE); . . $selection = $sectionBasketView->get_selection(); $selection->connect('changed', "on_selection"); . . function on_selection() { . . Expected result: ---------------- on_selection function execution Actual result: -------------- The error log shows that the 9th character is pushed up by 1 character code. Here is a report from the error.txt it produced. The first instance the letter "t" being replaced with a "s" character. The second instance "i" renamed the function call with a "j" at the start this in turn affected the next character "c" changing to a "b". As far as i can tell the on_selection is not used anywhere else. Is this an inbuilt command/event/property? [05-Apr-2007 17:06:32] PHP Warning: Unable to invoke signal callback 'on_selecsion' specified in C:\PHP-Gtk2\examples\EtTill\Till.phpw on line 218 in C:\PHP-Gtk2\examples\EtTill\Till.phpw on line 331 [05-Apr-2007 17:07:37] PHP Warning: Unable to invoke signal callback 'on_jselebtion' specified in C:\PHP-Gtk2\examples\EtTill\Till.phpw on line 218 in C:\PHP-Gtk2\examples\EtTill\Till.phpw on line 331 [05-Apr-2007 17:07:37] PHP Warning: Unable to invoke signal callback 'on_jselebtion' specified in C:\PHP-Gtk2\examples\EtTill\Till.phpw on line 218 in C:\PHP-Gtk2\examples\EtTill\Till.phpw on line 331 [05-Apr-2007 17:09:24] PHP Warning: Unable to invoke signal callback 'aaaaaaaa' specified in C:\PHP-Gtk2\examples\EtTill\Till.phpw on line 218 in C:\PHP-Gtk2\examples\EtTill\Till.phpw on line 331 [05-Apr-2007 17:10:11] PHP Warning: Unable to invoke signal callback 'abcdefghijklmnopqrstuvwxyz' specified in C:\PHP-Gtk2\examples\EtTill\Till.phpw on line 218 in C:\PHP-Gtk2\examples\EtTill\Till.phpw on line 331 [05-Apr-2007 17:10:12] PHP Warning: Unable to invoke signal callback 'abcdefghijklmnopqrstuvwxyz' specified in C:\PHP-Gtk2\examples\EtTill\Till.phpw on line 218 in C:\PHP-Gtk2\examples\EtTill\Till.phpw on line 331 [05-Apr-2007 17:10:12] PHP Warning: Unable to invoke signal callback 'abcdefghijklmnopqrstuvwxyz' specified in C:\PHP-Gtk2\examples\EtTill\Till.phpw on line 218 in C:\PHP-Gtk2\examples\EtTill\Till.phpw on line 331 [05-Apr-2007 17:10:47] PHP Warning: Unable to invoke signal callback 'on_abcdefghijklmnopqrstuvwxyz' specified in C:\PHP-Gtk2\examples\EtTill\Till.phpw on line 218 in C:\PHP-Gtk2\examples\EtTill\Till.phpw on line 331 [05-Apr-2007 17:10:47] PHP Warning: Unable to invoke signal callback 'on_abcdefghijklmnopqrstuvwxyz' specified in C:\PHP-Gtk2\examples\EtTill\Till.phpw on line 218 in C:\PHP-Gtk2\examples\EtTill\Till.phpw on line 331 [05-Apr-2007 17:11:15] PHP Warning: Unable to invoke signal callback 'on_selabcdefghijklmnopqrstuvwxyz' specified in C:\PHP-Gtk2\examples\EtTill\Till.phpw on line 218 in C:\PHP-Gtk2\examples\EtTill\Till.phpw on line 331 [05-Apr-2007 17:11:16] PHP Warning: Unable to invoke signal callback 'on_selabcdefghijklmnopqrstuvwxyz' specified in C:\PHP-Gtk2\examples\EtTill\Till.phpw on line 218 in C:\PHP-Gtk2\examples\EtTill\Till.phpw on line 331 [05-Apr-2007 17:11:52] PHP Warning: Unable to invoke signal callback 'on_selectionabcdefghijklmnopqrstuvwxyz' specified in C:\PHP-Gtk2\examples\EtTill\Till.phpw on line 218 in C:\PHP-Gtk2\examples\EtTill\Till.phpw on line 331 [05-Apr-2007 17:11:53] PHP Warning: Unable to invoke signal callback 'on_selectionabcdefghijklmnopqrstuvwxyz' specified in C:\PHP-Gtk2\examples\EtTill\Till.phpw on line 218 in C:\PHP-Gtk2\examples\EtTill\Till.phpw on line 331 [05-Apr-2007 17:12:20] PHP Warning: Unable to invoke signal callback 'on_selecsionabc' specified in C:\PHP-Gtk2\examples\EtTill\Till.phpw on line 218 in C:\PHP-Gtk2\examples\EtTill\Till.phpw on line 331 [05-Apr-2007 17:12:20] PHP Warning: Unable to invoke signal callback 'on_selecsionabc' specified in C:\PHP-Gtk2\examples\EtTill\Till.phpw on line 218 in C:\PHP-Gtk2\examples\EtTill\Till.phpw on line 331 [05-Apr-2007 17:12:53] PHP Warning: Unable to invoke signal callback 'on_selectionabcd' specified in C:\PHP-Gtk2\examples\EtTill\Till.phpw on line 218 in C:\PHP-Gtk2\examples\EtTill\Till.phpw on line 331 [05-Apr-2007 17:12:53] PHP Warning: Unable to invoke signal callback 'on_selectionabcd' specified in C:\PHP-Gtk2\examples\EtTill\Till.phpw on line 218 in C:\PHP-Gtk2\examples\EtTill\Till.phpw on line 331 [05-Apr-2007 17:12:53] PHP Warning: Unable to invoke signal callback 'on_selectionabcd' specified in C:\PHP-Gtk2\examples\EtTill\Till.phpw on line 218 in C:\PHP-Gtk2\examples\EtTill\Till.phpw on line 331 [05-Apr-2007 17:12:54] PHP Warning: Unable to invoke signal callback 'on_selectionabcd' specified in C:\PHP-Gtk2\examples\EtTill\Till.phpw on line 218 in C:\PHP-Gtk2\examples\EtTill\Till.phpw on line 331 [05-Apr-2007 17:12:55] PHP Warning: Unable to invoke signal callback 'on_selectionabcd' specified in C:\PHP-Gtk2\examples\EtTill\Till.phpw on line 218 in C:\PHP-Gtk2\examples\EtTill\Till.phpw on line 331 [05-Apr-2007 17:12:55] PHP Warning: Unable to invoke signal callback 'on_selectionabcd' specified in C:\PHP-Gtk2\examples\EtTill\Till.phpw on line 218 in C:\PHP-Gtk2\examples\EtTill\Till.phpw on line 331 ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=41007&edit=1 -- PHP-GTK Development Mailing List (http://gtk.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php |
|
|
#41007 [Opn->Fbk]: PHP GTK2 GtkListStore invoke signal callback problem ID: 41007
Updated by: auroraeosrose@... Reported By: james dot smith at cybertill dot co dot uk -Status: Open +Status: Feedback Bug Type: PHP-GTK related Operating System: WinXP PHP Version: 5.2.1 New Comment: Thank you for this bug report. To properly diagnose the problem, we need a short but complete example script to be able to reproduce this bug ourselves. A proper reproducing script starts with <?php and ends with ?>, is max. 10-20 lines long and does not require any external resources such as databases, etc. If the script requires a database to demonstrate the issue, please make sure it creates all necessary tables, stored procedures etc. Please avoid embedding huge scripts into the report. I don't see this issue with newer versions Previous Comments: ------------------------------------------------------------------------ [2008-03-17 14:44:49] james dot smith at cybertill dot co dot uk I shall try and dig out the code i tested at the time. If not the GtkList Object is easily created from one of the demos. I shall add the callback function and see how i get on. ------------------------------------------------------------------------ [2008-03-16 14:38:06] auroraeosrose@... Please try using this CVS snapshot: http://snaps.php.net/php5.2-latest.tar.gz For Windows (zip): http://snaps.php.net/win32/php5.2-win32-latest.zip For Windows (installer): http://snaps.php.net/win32/php5.2-win32-installer-latest.msi Does this still occur with newer versions? ------------------------------------------------------------------------ [2007-04-05 16:43:53] james dot smith at cybertill dot co dot uk Description: ------------ While designing a Till system using php gtk2 and grabbing code from several examples. I encountered the following problem. When clicking on an item in a GtkListStore object, the callback function is either renamed/ stored incorrectly. Despite me renaming it several times the function name is not handled properly and causes characters to be misinterpreted. $sectionBasketView = GtkListStore( Gtk::TYPE_STRING, Gtk::TYPE_LONG, Gtk::TYPE_DOUBLE); . . $selection = $sectionBasketView->get_selection(); $selection->connect('changed', "on_selection"); . . function on_selection() { . . Expected result: ---------------- on_selection function execution Actual result: -------------- The error log shows that the 9th character is pushed up by 1 character code. Here is a report from the error.txt it produced. The first instance the letter "t" being replaced with a "s" character. The second instance "i" renamed the function call with a "j" at the start this in turn affected the next character "c" changing to a "b". As far as i can tell the on_selection is not used anywhere else. Is this an inbuilt command/event/property? [05-Apr-2007 17:06:32] PHP Warning: Unable to invoke signal callback 'on_selecsion' specified in C:\PHP-Gtk2\examples\EtTill\Till.phpw on line 218 in C:\PHP-Gtk2\examples\EtTill\Till.phpw on line 331 [05-Apr-2007 17:07:37] PHP Warning: Unable to invoke signal callback 'on_jselebtion' specified in C:\PHP-Gtk2\examples\EtTill\Till.phpw on line 218 in C:\PHP-Gtk2\examples\EtTill\Till.phpw on line 331 [05-Apr-2007 17:07:37] PHP Warning: Unable to invoke signal callback 'on_jselebtion' specified in C:\PHP-Gtk2\examples\EtTill\Till.phpw on line 218 in C:\PHP-Gtk2\examples\EtTill\Till.phpw on line 331 [05-Apr-2007 17:09:24] PHP Warning: Unable to invoke signal callback 'aaaaaaaa' specified in C:\PHP-Gtk2\examples\EtTill\Till.phpw on line 218 in C:\PHP-Gtk2\examples\EtTill\Till.phpw on line 331 [05-Apr-2007 17:10:11] PHP Warning: Unable to invoke signal callback 'abcdefghijklmnopqrstuvwxyz' specified in C:\PHP-Gtk2\examples\EtTill\Till.phpw on line 218 in C:\PHP-Gtk2\examples\EtTill\Till.phpw on line 331 [05-Apr-2007 17:10:12] PHP Warning: Unable to invoke signal callback 'abcdefghijklmnopqrstuvwxyz' specified in C:\PHP-Gtk2\examples\EtTill\Till.phpw on line 218 in C:\PHP-Gtk2\examples\EtTill\Till.phpw on line 331 [05-Apr-2007 17:10:12] PHP Warning: Unable to invoke signal callback 'abcdefghijklmnopqrstuvwxyz' specified in C:\PHP-Gtk2\examples\EtTill\Till.phpw on line 218 in C:\PHP-Gtk2\examples\EtTill\Till.phpw on line 331 [05-Apr-2007 17:10:47] PHP Warning: Unable to invoke signal callback 'on_abcdefghijklmnopqrstuvwxyz' specified in C:\PHP-Gtk2\examples\EtTill\Till.phpw on line 218 in C:\PHP-Gtk2\examples\EtTill\Till.phpw on line 331 [05-Apr-2007 17:10:47] PHP Warning: Unable to invoke signal callback 'on_abcdefghijklmnopqrstuvwxyz' specified in C:\PHP-Gtk2\examples\EtTill\Till.phpw on line 218 in C:\PHP-Gtk2\examples\EtTill\Till.phpw on line 331 [05-Apr-2007 17:11:15] PHP Warning: Unable to invoke signal callback 'on_selabcdefghijklmnopqrstuvwxyz' specified in C:\PHP-Gtk2\examples\EtTill\Till.phpw on line 218 in C:\PHP-Gtk2\examples\EtTill\Till.phpw on line 331 [05-Apr-2007 17:11:16] PHP Warning: Unable to invoke signal callback 'on_selabcdefghijklmnopqrstuvwxyz' specified in C:\PHP-Gtk2\examples\EtTill\Till.phpw on line 218 in C:\PHP-Gtk2\examples\EtTill\Till.phpw on line 331 [05-Apr-2007 17:11:52] PHP Warning: Unable to invoke signal callback 'on_selectionabcdefghijklmnopqrstuvwxyz' specified in C:\PHP-Gtk2\examples\EtTill\Till.phpw on line 218 in C:\PHP-Gtk2\examples\EtTill\Till.phpw on line 331 [05-Apr-2007 17:11:53] PHP Warning: Unable to invoke signal callback 'on_selectionabcdefghijklmnopqrstuvwxyz' specified in C:\PHP-Gtk2\examples\EtTill\Till.phpw on line 218 in C:\PHP-Gtk2\examples\EtTill\Till.phpw on line 331 [05-Apr-2007 17:12:20] PHP Warning: Unable to invoke signal callback 'on_selecsionabc' specified in C:\PHP-Gtk2\examples\EtTill\Till.phpw on line 218 in C:\PHP-Gtk2\examples\EtTill\Till.phpw on line 331 [05-Apr-2007 17:12:20] PHP Warning: Unable to invoke signal callback 'on_selecsionabc' specified in C:\PHP-Gtk2\examples\EtTill\Till.phpw on line 218 in C:\PHP-Gtk2\examples\EtTill\Till.phpw on line 331 [05-Apr-2007 17:12:53] PHP Warning: Unable to invoke signal callback 'on_selectionabcd' specified in C:\PHP-Gtk2\examples\EtTill\Till.phpw on line 218 in C:\PHP-Gtk2\examples\EtTill\Till.phpw on line 331 [05-Apr-2007 17:12:53] PHP Warning: Unable to invoke signal callback 'on_selectionabcd' specified in C:\PHP-Gtk2\examples\EtTill\Till.phpw on line 218 in C:\PHP-Gtk2\examples\EtTill\Till.phpw on line 331 [05-Apr-2007 17:12:53] PHP Warning: Unable to invoke signal callback 'on_selectionabcd' specified in C:\PHP-Gtk2\examples\EtTill\Till.phpw on line 218 in C:\PHP-Gtk2\examples\EtTill\Till.phpw on line 331 [05-Apr-2007 17:12:54] PHP Warning: Unable to invoke signal callback 'on_selectionabcd' specified in C:\PHP-Gtk2\examples\EtTill\Till.phpw on line 218 in C:\PHP-Gtk2\examples\EtTill\Till.phpw on line 331 [05-Apr-2007 17:12:55] PHP Warning: Unable to invoke signal callback 'on_selectionabcd' specified in C:\PHP-Gtk2\examples\EtTill\Till.phpw on line 218 in C:\PHP-Gtk2\examples\EtTill\Till.phpw on line 331 [05-Apr-2007 17:12:55] PHP Warning: Unable to invoke signal callback 'on_selectionabcd' specified in C:\PHP-Gtk2\examples\EtTill\Till.phpw on line 218 in C:\PHP-Gtk2\examples\EtTill\Till.phpw on line 331 ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=41007&edit=1 -- PHP-GTK Development Mailing List (http://gtk.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php |
| Free Forum Powered by Nabble | Forum Help |