Ticket #308 (closed bug: worksforme)

Opened 5 years ago

Last modified 4 years ago

opening a .torrent file from a browser opens a new gtkui

Reported by: danii Owned by: andar
Priority: minor Milestone:
Component: gtkui Version: 0.9.02 (1.0.0_RC2)
Keywords: add torrent browser Cc:

Description

Deluge 0.6.0.0r3301

opening a .torrent file from a browser, in this case firefox 3, opens a new gtkui, I think deluge should check if there's a ui running and only if it doesn't exist open the torrent in the new ui, don't know if it is possible to open torrents directly for the console and web ui, if they are the ones being used but it would be a nice feature also I think only one ui of each type should be allowed to run per user, I don't see anyone wanting to use more than one ui at the same time

Change History

Changed 5 years ago by andar

This will only happen if DBUS is not available. Do you not have DBUS installed and running on your system?

Changed 5 years ago by danii

yes it's installed and running:

danii@hemper ~ $ dbus-daemon --version
D-Bus Message Bus Daemon 1.1.20
danii@hemper ~ $ ps ux|grep dbus
danii     7949  0.0  0.0   3020   480 ?        S    Jun23   0:00 /usr/bin/dbus-launch --sh-syntax --exit-with-session
danii     7951  0.0  0.0   2260   868 ?        Ss   Jun23   0:00 /usr/bin/dbus-daemon --fork --print-pid 5 --print-address 7 --session
[DEBUG   ] 03:37:40 dbusinterface:100 Processing args from other process: ['/tmp/Life.on.Mars.US.S01E01.PREAiR.DVDSCR.XviD-MEDiEVAL.[eztv].torrent']
[DEBUG   ] 03:37:40 dbusinterface:119 Attempting to add /tmp/Life.on.Mars.US.S01E01.PREAiR.DVDSCR.XviD-MEDiEVAL.[eztv].torrent from external source..
[DEBUG   ] 03:37:40 addtorrentdialog:185 Attempting to open /tmp/Life.on.Mars.US.S01E01.PREAiR.DVDSCR.XviD-MEDiEVAL.[eztv].torrent for add.
[DEBUG   ] 03:37:40 addtorrentdialog:204 Torrent already in list!

in this example although the torrent already exists the new gtkui still opens

Changed 5 years ago by andar

I don't know what to say. I cannot reproduce this behaviour. On my system, if a gtkui is already running and i run another it simply exits after it detects the other gtkui's dbus session. And if you add another torrent to an existing session it just sends the dbus command to the existing session to add the torrent and then exits.

Changed 5 years ago by markybob

what system is this? linux? which distro/release?

Changed 5 years ago by danii

distro is gentoo, WM is XFCE 4, I'm going to update and see if the bug persists

Changed 5 years ago by andar

Is this still an issue? Can we close?

Changed 5 years ago by anonymous

  • milestone 0.6.0 deleted

Milestone 0.6.0 deleted

Changed 5 years ago by danii

yes this is still an issue in Deluge 0.9.01

Changed 5 years ago by andar

  • status changed from new to closed
  • version changed from 0.6.0svn to 0.9.02 (1.0.0_RC2)
  • resolution set to worksforme
  • milestone set to 1.0.0

I think you need to start the system dbus daemon. This should be accomplished by running /etc/init.d/dbus start in Gentoo. I would suggest adding this service to your default runlevel.

Changed 4 years ago by anonymous

  • milestone 1.0.0 deleted

Milestone 1.0.0 deleted

Note: See TracTickets for help on using tickets.