| [Gtk2-perl-bugs] [Bug 567666] New: AboutDialog and LinkButton uri
	and email callback exception trapsFrom: gnome-perl (bugzilla.gnome.org) <bug...@bu...> - 2009-01-13 23:36:54 | 
| If you have any questions why you received this email, please see the text at the end of this email. Replies to this email are NOT read, please see the text at the end of this email. You can add comments to this bug at: http://bugzilla.gnome.org/show_bug.cgi?id=567666 gnome-perl | Gtk2 | Ver: unspecified Summary: AboutDialog and LinkButton uri and email callback exception traps Product: gnome-perl Version: unspecified Platform: Other OS/Version: Linux Status: UNCONFIRMED Severity: normal Priority: Normal Component: Gtk2 AssignedTo: gtk...@li... ReportedBy: us...@zi... QAContact: gtk...@li... GNOME version: Unspecified GNOME milestone: Unspecified The uri_hook/url_hook and email_hook of Gtk2::LinkButton and Gtk2::AboutDialog could helpfully trap errors through the Glib->install_exception_handler mechanism. Each is basically a user button press, much like a Gtk2::Button 'clicked' signal, and almost certainly shouldn't terminate the whole program. Sample programs attached for the three places it arises. -- See http://bugzilla.gnome.org/page.cgi?id=email.html for more info about why you received this email, why you can't respond via email, how to stop receiving emails (or reduce the number you receive), and how to contact someone if you are having problems with the system. You can add comments to this bug at http://bugzilla.gnome.org/show_bug.cgi?id=567666. | 
| 
      
      
      From: gnome-perl (bugzilla.gnome.org) <bug...@bu...> - 2009-01-13 23:03:28
       | 
| If you have any questions why you received this email, please see the text at the end of this email. Replies to this email are NOT read, please see the text at the end of this email. You can add comments to this bug at: http://bugzilla.gnome.org/show_bug.cgi?id=567666 gnome-perl | Gtk2 | Ver: unspecified ------- Comment #2 from Kevin Ryde 2009-01-13 22:09 UTC ------- Created an attachment (id=126384) --> (http://bugzilla.gnome.org/attachment.cgi?id=126384&action=view) AboutDialog error trap sample Click under "Credits" for the email hook which dies as well as the url hook. -- See http://bugzilla.gnome.org/page.cgi?id=email.html for more info about why you received this email, why you can't respond via email, how to stop receiving emails (or reduce the number you receive), and how to contact someone if you are having problems with the system. You can add comments to this bug at http://bugzilla.gnome.org/show_bug.cgi?id=567666. | 
| 
      
      
      From: gnome-perl (bugzilla.gnome.org) <bug...@bu...> - 2009-01-13 23:03:30
       | 
| If you have any questions why you received this email, please see the text at the end of this email. Replies to this email are NOT read, please see the text at the end of this email. You can add comments to this bug at: http://bugzilla.gnome.org/show_bug.cgi?id=567666 gnome-perl | Gtk2 | Ver: unspecified ------- Comment #1 from Kevin Ryde 2009-01-13 22:08 UTC ------- Created an attachment (id=126383) --> (http://bugzilla.gnome.org/attachment.cgi?id=126383&action=view) LinkButton exception sample program -- See http://bugzilla.gnome.org/page.cgi?id=email.html for more info about why you received this email, why you can't respond via email, how to stop receiving emails (or reduce the number you receive), and how to contact someone if you are having problems with the system. You can add comments to this bug at http://bugzilla.gnome.org/show_bug.cgi?id=567666. | 
| 
      
      
      From: gnome-perl (bugzilla.gnome.org) <bug...@bu...> - 2009-01-15 23:06:47
       | 
| If you have any questions why you received this email, please see the text at the end of this email. Replies to this email are NOT read, please see the text at the end of this email. You can add comments to this bug at: http://bugzilla.gnome.org/show_bug.cgi?id=567666 gnome-perl | Gtk2 | Ver: unspecified ------- Comment #3 from Kevin Ryde 2009-01-15 21:51 UTC ------- muppet points out an original motivation for trapping in signal handlers was that it's not possible to jump out of a main loop from a signal handler without leaving glib in a terrible state. I think that may apply to these AboutButton and LinkButton callbacks, ie. that they're run out of signal handlers. LinkButton runs the uri hook out of its class handler for the "clicked" signal. AboutButton runs its url hook out of a signal connected on the "activate" signal of a button widget (a LinkButton as it happens). The AboutButton email hook runs from somewhere deep in TextView "follow" business, though presumably it usually gets there from either a button_press_event or key_press_event handler somewhere far up the chain. -- See http://bugzilla.gnome.org/page.cgi?id=email.html for more info about why you received this email, why you can't respond via email, how to stop receiving emails (or reduce the number you receive), and how to contact someone if you are having problems with the system. You can add comments to this bug at http://bugzilla.gnome.org/show_bug.cgi?id=567666. | 
| 
      
      
      From: gnome-perl (bugzilla.gnome.org) <bug...@bu...> - 2009-01-20 18:20:13
       | 
| If you have any questions why you received this email, please see the text at the end of this email. Replies to this email are NOT read, please see the text at the end of this email. You can add comments to this bug at: http://bugzilla.gnome.org/show_bug.cgi?id=567666 gnome-perl | Gtk2 | Ver: unspecified Torsten Schoenfeld changed: What |Removed |Added ---------------------------------------------------------------------------- BugsThisDependsOn| |568460 -- See http://bugzilla.gnome.org/page.cgi?id=email.html for more info about why you received this email, why you can't respond via email, how to stop receiving emails (or reduce the number you receive), and how to contact someone if you are having problems with the system. You can add comments to this bug at http://bugzilla.gnome.org/show_bug.cgi?id=567666. |