Comment 5 for bug 764739

Revision history for this message
Abbakus (abbakus) wrote : Re: [Bug 764739] Re: Deleting brick while active hangs up the menu

Well, once upon a time was uncommented. :-) Then I commented. Then you
decommented. Now I commented again (give up, I will win :-D )

->Commented works perfectly for me.
->Uncommented hangs systematically for me (for example when I enable
KVM checkbox on preferences window. I don't have KVM so a message pops
out to alert me).

Having two gtk.gdk.threads_enter() nested hangs for sure I think (the
first gtk.gdk.threads_enter()/leave() is around gtk.main() ).

2011/5/4, Francesco Apollonio <email address hidden>:
> 2011/5/4 Abbakus <email address hidden>:
>> Modified again. Who did add threads_enter/leave around show_error? And
>> why?!
>> Removed threads_enter/leave on rev. 264
>>                gtk.gdk.threads_enter()
>>                try:
>>                        self.show_error(text)
>>                finally:
>>                        gtk.gdk.threads_leave()
>>
>> Here threads_enter/leave hangs GUI every time an error is showed while
>> works correctly without.
>
> using show_error instead of error or error without this code block
> doesn't work well.
> Why do you re-comment this code block? Have you noticed again the
> freeze on brick delete or another related bug?
>
> Francesco
>
> --
> You received this bug notification because you are a bug assignee.
> https://bugs.launchpad.net/bugs/764739
>
> Title:
> Deleting brick while active hangs up the menu
>
> Status in Virtualbricks:
> Fix Committed
>
> Bug description:
> Deleting brick while active shows up an error message, but after that
> it hangs up the menu and vb has to be killed. :(
>

--
                       Simone