Abort executing not working

Bug #780980 reported by ppareit
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
valide
Confirmed
Undecided
Unassigned

Bug Description

After build and run of the following program:

void main (string[] args)
{
  while (true)
  {
    ;
  }
}

I'm unable to abort executing from the gui. (project abort, or SHIFT-F8)

Revision history for this message
Monkey (monkey-libre) wrote :

I can confirm this bug, with the next example [1] and also If I click the abort button and then I close the window in execution, it will be executed again.
I think the bug is in the line 466 of the executable-manager.vala file [2]

// [1]
using Gtk;
static void main (string[] args)
{
  Gtk.init (ref args);
  Gtk.Spinner spinner = new Gtk.Spinner ();
  Gtk.Window window = new Gtk.Window ();
  spinner.start ();
  window.set_title("spinner");
  window.position = WindowPosition.CENTER;
  window.destroy.connect (Gtk.main_quit);
  window.add (spinner);
  window.show_all ();
  Gtk.main ();
}

[2] http://bazaar.launchpad.net/~valide/valide/trunk/view/head:/libvalide/executable-manager.vala#L466

Changed in valide:
status: New → Confirmed
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.