#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

-- 
You received this message because you are subscribed to the Google Groups 
"Deluge Dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to deluge-dev+unsubscr...@googlegroups.com.
To view this discussion visit 
https://groups.google.com/d/msgid/deluge-dev/062.df5e67c0458041dd41c842f2ace6771a%40deluge-torrent.org.

Reply via email to