Opened 9 years ago

Closed 9 years ago

Last modified 9 years ago

#2731 closed bug (Fixed)

GTK UI: Add Torrent dialog does not appears

Reported by: Shished Owned by:
Priority: minor Milestone: 1.3.12
Component: GTK UI Version: 1.3-stable
Keywords: Magnet, osx, mac Cc: g.litenstein@…

Description

Clicking on magnet link or opening torrent file does not bring Add Torrent dialog unless Client window is opened.

When "focus on window when adding torrent" option is disabled, clicking on magnet link (or opening torrent file) does nothing. If this option is enabled and window is closed, clicking on magnet link (or opening torrent file) opens Deluge window but does not open torrent add dialog. It works correctly only if Deluge window was opened before clicking on magnet link (or opening torrent file).

Steps to reproduce: 1). Have a Deluge running, main window should be closed 2). Click a Magnet URL or open torrent file

Expected results:

  • Deluge launches (depends on settings), Add Torrent dialog opens

Actual results:

  • Deluge launches (depends on settings), Add Torrent dialog does not appears

Tested on 1.3.11 with GTK UI, both split and classic modes are affected, openSUSE 13.2 x86_64 with Gnome-Shell 3.14 is used.

Traceback is attached

Attachments (1)

traceback (1.4 KB) - added by Shished 9 years ago.

Download all attachments as: .zip

Change History (8)

Changed 9 years ago by Shished

comment:1 Changed 9 years ago by Lord-Kamina

I'm using deluge 1.3.11 for OSX and have experienced the same bug. Only, in my case, even if the UI is already open, magnets won't open the add torrent dialog. Normal torrent files will work without regard to whether the UI is open or not.

comment:2 Changed 9 years ago by Cas

  • Component changed from other/unknown to GTK-UI
  • Milestone changed from Future to 1.3.12
  • Version changed from other (please specify) to 1.3.11

comment:3 Changed 9 years ago by Cas

As I can't replicate the problem, are you able to test if this fixes the issue:

  • deluge/ui/gtkui/mainwindow.py

    a b def is_on_active_workspace(self): 
    341341        """ 
    342342        if not wnck: 
    343343            return True 
     344        self.screen.force_update() 
    344345        win = wnck.window_get(self.window.window.xid) 
    345346        active_wksp = win.get_screen().get_active_workspace() 
    346347        if active_wksp: 

comment:4 Changed 9 years ago by Cas

  • Resolution set to Fixed
  • Status changed from new to closed

Should be fixed in 1.3-stable: [8e3d737ad]

comment:5 Changed 9 years ago by Lord-Kamina

  • Cc g.litenstein@… added
  • Keywords Magnet osx mac added
  • Resolution Fixed deleted
  • Status changed from closed to reopened
  • Version changed from 1.3.11 to 1.3-stable (git)

Still not working in 1.3.12.

Sorry I took this long to post this but as-of-yet am still unable to produce a working deluge executable, so had to wait for the official release.

EDIT: While trying out 1.3.12 and posting this, I left Deluge open and idling and after a while it just crashed; will post the crash report in a bit in another ticket.

Last edited 9 years ago by Lord-Kamina (previous) (diff)

comment:6 Changed 9 years ago by Cas

  • Milestone changed from 1.3.12 to 1.3.x

comment:7 Changed 9 years ago by Cas

  • Milestone changed from 1.3.x to 1.3.12
  • Resolution set to Fixed
  • Status changed from reopened to closed

Ok after IRC discussion your issue is different to OP so closing.

Version 0, edited 9 years ago by Cas (next)
Note: See TracTickets for help on using tickets.