Re: [Deluge] #3625: Deluge-gtk crashes when selecting or moving folder

8 views
Skip to first unread message

Deluge

unread,
Apr 21, 2025, 4:47:25 PMApr 21
to delug...@googlegroups.com
#3625: Deluge-gtk crashes when selecting or moving folder
--------------------------------+-----------------------------------------
Reporter: Joachim Hillestad | Owner: (none)
Type: bug | Status: new
Priority: blocker | Milestone: needs verified
Component: GTK UI | Version: 2.1.0
Resolution: | Keywords: crash, folder-select,strace
--------------------------------+-----------------------------------------
Comment (by fast9881):

Hello,

i think i have the same problem on Fedora 41, the UI hangs when trying to
show saved paths either when adding or moving torrents

Trying to get logs i found this:


{{{
(deluge:365523): Gtk-CRITICAL **: 21:32:16.777:
gtk_widget_get_scale_factor: assertion 'GTK_IS_WIDGET (widget)' failed

Gdk-Message: 21:32:28.304: Window 0x562a7fd397d0 is a temporary window
without parent, application will not be able to position it on screen.

(deluge:365523): Gdk-WARNING **: 21:32:28.304: Couldn't map as window
0x562a7fd397d0 as popup because it doesn't have a parent

(deluge:365523): Gdk-WARNING **: 21:32:28.305: Window 0x562a7fd397d0 is
already mapped at the time of grabbing. gdk_seat_grab() should be used to
simultanously grab input and show this popup. You may find oddities ahead.
}}}


The gtk_widget_get_scale_factor message is always posted to stderr at the
opening of Deluge. The last warning is repeated like a billion times

Both the thin client and the server use Deluge 2.1.1 from the Fedora
repository

Thin client is on Fedora 41 6.13.10-200.fc41.x86_64

later edit:

After a bit of tinkering i found that breaking the popup_grab_window
function in path_combo_chooser.py before the Gdk.keyboard_grab call stops
the UI from hanging and makes the saved paths combo box(?) show, it's
small and not where it should be but at least the UI is still working. All
the Gdk messages above are still present though
--
Ticket URL: <http://dev.deluge-torrent.org/ticket/3625#comment:2>
Deluge <https://deluge-torrent.org/>
Deluge Project

Deluge

unread,
Nov 29, 2025, 5:43:22 PM (3 days ago) Nov 29
to delug...@googlegroups.com
#3625: Deluge-gtk crashes when selecting or moving folder
--------------------------------+-----------------------------------------
Reporter: Joachim Hillestad | Owner: (none)
Type: bug | Status: new
Priority: blocker | Milestone: needs verified
Component: GTK UI | Version: 2.1.0
Resolution: | Keywords: crash, folder-select,strace
--------------------------------+-----------------------------------------
Comment (by fast9881):

Problem persisting in Deluge version 2.2.0 on Fedora 43
6.17.7-300.fc43.x86_64 GTK3 version is 3.24.51-2.fc43

Ticket is duplicate of #3587 (see also https://bugs.debian.org/cgi-
bin/bugreport.cgi?bug=954235 ), behaviour is the same and reproducible
--
Ticket URL: <http://dev.deluge-torrent.org/ticket/3625#comment:3>

Deluge

unread,
Dec 1, 2025, 3:55:53 PM (yesterday) Dec 1
to delug...@googlegroups.com
#3625: Deluge-gtk crashes when selecting or moving folder
--------------------------------+-----------------------------------------
Reporter: Joachim Hillestad | Owner: (none)
Type: bug | Status: new
Priority: blocker | Milestone: needs verified
Component: GTK UI | Version: 2.1.0
Resolution: | Keywords: crash, folder-select,strace
--------------------------------+-----------------------------------------
Changes (by fast9881):

* Attachment "path_combo_chooser.patch" added.

patch for path_combo_chooser.py
--
Ticket URL: <http://dev.deluge-torrent.org/ticket/3625>

Deluge

unread,
Dec 1, 2025, 3:56:21 PM (yesterday) Dec 1
to delug...@googlegroups.com
#3625: Deluge-gtk crashes when selecting or moving folder
--------------------------------+-----------------------------------------
Reporter: Joachim Hillestad | Owner: (none)
Type: bug | Status: new
Priority: blocker | Milestone: needs verified
Component: GTK UI | Version: 2.1.0
Resolution: | Keywords: crash, folder-select,strace
--------------------------------+-----------------------------------------
Comment (by fast9881):

In case it could be useful i managed to make a somewhat functioning patch
for path_combo_chooser.py and it seems to resolve this issue. The code is
probably garbage and wrong but i'm not a programmer so...

With my patch now:
-the Ui doesn't hang
-no messages are reported to journactl
-the path chooser dialog is drawn at the cursor position (which should be
on the button to show saved paths)
-i had a weird scrolling problem wich should be patched too
--
Ticket URL: <http://dev.deluge-torrent.org/ticket/3625#comment:4>

Reply all
Reply to author
Forward
0 new messages