#308 closed bug (WorksForMe)
opening a .torrent file from a browser opens a new gtkui
Reported by: | danii | Owned by: | andar |
---|---|---|---|
Priority: | minor | Milestone: | |
Component: | GTK UI | 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 (10)
comment:1 by , 16 years ago
comment:2 by , 16 years ago
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
comment:3 by , 16 years ago
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.
comment:5 by , 16 years ago
distro is gentoo, WM is XFCE 4, I'm going to update and see if the bug persists
comment:9 by , 16 years ago
Milestone: | → 1.0.0 |
---|---|
Resolution: | → worksforme |
Status: | new → closed |
Version: | 0.6.0svn → 0.9.02 (1.0.0_RC2) |
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.
This will only happen if DBUS is not available. Do you not have DBUS installed and running on your system?