GTK-UI freezes after dialog close

Suggestions and discussion of future versions
DjLegolas
New User
New User
Posts: 8
Joined: Thu Oct 12, 2017 3:31 pm
OS or Distro: Windows

GTK-UI freezes after dialog close

Postby DjLegolas » Tue Oct 17, 2017 9:46 am

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: 3466
Joined: Mon Dec 07, 2009 6:04 am
OS or Distro: Ubuntu 16.04
Location: Scotland

Re: GTK-UI freezes after dialog close

Postby Cas » Wed Oct 18, 2017 1:05 pm

Can you provide the example code

DjLegolas
New User
New User
Posts: 8
Joined: Thu Oct 12, 2017 3:31 pm
OS or Distro: Windows

Re: GTK-UI freezes after dialog close

Postby DjLegolas » Wed Oct 18, 2017 1:40 pm


Cas
Top Bloke
Top Bloke
Posts: 3466
Joined: Mon Dec 07, 2009 6:04 am
OS or Distro: Ubuntu 16.04
Location: Scotland

Re: GTK-UI freezes after dialog close

Postby Cas » Wed Oct 18, 2017 3:10 pm

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


Return to “Development”

Who is online

Users browsing this forum: No registered users and 5 guests