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
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>
* Attachment "path_combo_chooser.patch" added.
patch for path_combo_chooser.py
--
Ticket URL: <http://dev.deluge-torrent.org/ticket/3625>
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>