Opened 11 years ago

Closed 9 years ago

Last modified 9 years ago

#79 closed enhancement (released)

Make use of GTK# callback for exceptions

Reported by: ibboard Owned by: ibboard
Priority: minor Milestone: WarFoundry 0.1
Component: WarFoundry-GUI-GTK# Version:
Keywords: Cc:
Blocked By: Blocking: #86

Description

When fatal exceptions occur they are preceded by the message:
{{{Exception in Gtk# callback delegate

Note: Applications can use GLib.ExceptionManager.UnhandledException to handle the exception.}}}

Use of the callback should be implemented to stop the fatal crashes and display an error message.

Change History (7)

comment:1 Changed 11 years ago by ibboard

Owner: ibboard deleted

Remove owner so that the team can more easily see bugs. Using default owners seems good at first but is bad practice when a team can be working on any part of the project.

comment:2 Changed 10 years ago by ibboard

Blocking: 86 added

comment:3 Changed 10 years ago by ibboard

Status: newconfirmed

Move tickets to new "confirmed" status to show that they've been checked

comment:4 Changed 10 years ago by ibboard

Priority: majorminor

Reduce some tickets to "Minor" so that we've not just got lots all at "Major"

comment:5 Changed 9 years ago by ibboard

(In r651) Re #79: Make use of GTK# callback for exceptions

  • Hook up method to event
  • Add dialog on unhandled exception so that the user knows

Note: Still prints lots of stack trace about GLib stuff, but I don't know if that's normal yet

comment:6 Changed 9 years ago by ibboard

Owner: set to ibboard
Resolution: fixed
Status: confirmedclosed

In [717]:

Fixes #79: Make use of GTK# callback for exceptions

  • Tests of calling method on GLib.ExceptionManager to trigger event showed dialog appropriately

Also:

  • Remove unused code
  • Commit changes to objects.xml

comment:7 Changed 9 years ago by ibboard

Resolution: fixedreleased

Released in WF GTK v0.1 beta 1

Note: See TracTickets for help on using tickets.