GTK-UI freezes after dialog close

Suggestions and discussion of future versions
Post Reply
DjLegolas
Member
Member
Posts: 35
Joined: Thu Oct 12, 2017 3:31 pm

GTK-UI freezes after dialog close

Post 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?
Cas
Top Bloke
Top Bloke
Posts: 3679
Joined: Mon Dec 07, 2009 6:04 am
Location: Scotland

Re: GTK-UI freezes after dialog close

Post by Cas »

Can you provide the example code
DjLegolas
Member
Member
Posts: 35
Joined: Thu Oct 12, 2017 3:31 pm

Re: GTK-UI freezes after dialog close

Post by DjLegolas »

Cas
Top Bloke
Top Bloke
Posts: 3679
Joined: Mon Dec 07, 2009 6:04 am
Location: Scotland

Re: GTK-UI freezes after dialog close

Post by Cas »

You should use a window instead of a dialog as it's likely blocking the gtk loop.
Post Reply