Page 1 of 1

GTK-UI freezes after dialog close

Posted: Tue Oct 17, 2017 9:46 am
by DjLegolas
Hi,

I'm developing some a new plugin for deluge, with GTK-UI interface.
I added a button to the Right-Click list in Files tab. Clicking it will open a new Dialog - which shows correctly.
But, when I close the window, the UI freezes and only killing it helps.
I tried to check the logs (debug level) and nothing in there.
It happens only in linux (tested on ubuntu 14.04 and voidlinux).
On windows the windows closes without any error.

What can be the cause of it?

Re: GTK-UI freezes after dialog close

Posted: Wed Oct 18, 2017 1:05 pm
by Cas
Can you provide the example code

Re: GTK-UI freezes after dialog close

Posted: Wed Oct 18, 2017 1:40 pm
by DjLegolas

Re: GTK-UI freezes after dialog close

Posted: Wed Oct 18, 2017 3:10 pm
by Cas
You should use a window instead of a dialog as it's likely blocking the gtk loop.