Opened 15 months ago
Last modified 2 days ago
#3625 new bug
Deluge-gtk crashes when selecting or moving folder
Reported by: | Joachim Hillestad | Owned by: | |
---|---|---|---|
Priority: | blocker | Milestone: | needs verified |
Component: | GTK UI | Version: | 2.1.0 |
Keywords: | crash, folder-select, strace | Cc: |
Description
Deluge-gtk alwaysh crashes when I click the drop-down list to select a different folder for a torrent, be it at the initial stage just after a torrent has been added, or after a torrent has completed.
Steps to reproduce (case 1, torrent already completed)
- Launch Deluge-GTK
- Right-click any torrent that's already completed, but in the wrong folder.
- Click "Move Download Folder" from the context menu.
- Click the drop-down icon to select a different folder.
- Crashes every time at this point.
Steps to reproduce (case 2, new torrent added)
- Find a torrent you want to add to Deluge
- Open up Deluge-GTK
- Browse your filesystem to select the new torrent.
- Go to the "Options"-tab to select a destination folder.
- Click the drop-down icon to select a different folder.
- Crashes every time at this point.
This behaviour is blocking me from using Deluge-GTK.
Deluge-gtk version: 2.1.1[[BR]] Deluge server version: 2.1.1[[BR]] OS: Arch 6.7.1-zen1-1-zen[[BR]] DE: KDE Plasma - (X11 or Wayland does not matter in this case)
I did a strace capture (case 1), that file ended up being 32Mb. Manage to compress it to 544Kb, as a tarball with Ark.
Attachments (1)
Change History (3)
by , 15 months ago
Attachment: | deluge-gtk_strace-awk.tar.gz added |
---|
comment:1 by , 15 months ago
I noticed a repeating pattern in my console while running strace, so I removed duplicate lines with
awk '!seen[$0]++' deluge-gtk_strace.txt > deluge-gtk_strace-awk.txt
I hope that is still useful.
comment:2 by , 2 days ago
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
strace with duplicate lines removed.