Opened 8 years ago

Closed 7 years ago

Last modified 5 years ago

#2364 closed bug (WorksForMe)

Dialog focus when multiple torrents added from magnet links

Reported by: rmlrml Owned by:
Priority: minor Milestone:
Component: GTK UI Version: other (please specify)
Keywords: add dialog focus Cc:

Description

Installation type: package

Version information:

Deluge reports: Deluge 1.3.6 libtorrent 0.16.10.0

My package manager reports: Deluge 1.3.6-2 from Experimental repository libtorrent 0.16.10-3.1+b1 from Unstable repository

Operating System - Crunchbang Debian Testing GNU/Linux

Steps involved to reproduce the bug:

using GTK interface using Iceweasel 24.0

In Iceweasel Preferences - Applications

Set Content type "magnet" to "Use deluge"

In Deluge Preferences - Interface

"Main Window"

Deselect "Focus window when adding torrent"

"Add Torrents Dialog"

Select "Always show" Deselect "Bring the dialog to focus"

Click OK

Click a magnet link in web browser, it is received by deluge and a dialog is opened which does not steal focus, as expected. Alt-tab to deluge-gtk to confirm a dialog box was opened.

Alt-tab back over to web browser. (you can click inside the web browser window to confirm it really has focus). Click another magnet link. This time the add torrent dialog pops up, stealing focus, showing your two torrents to be added. The main window does not take focus behind the add torrents dialog.

Click another magnet link in web browser - same behavior.

Seems like the "Bring the dialog to focus" option only works when there's only one torrent in the dialog.

Thank you for all your hard work!

Change History (3)

comment:1 Changed 8 years ago by Cas

  • Milestone changed from Future to 1.3.x

comment:2 Changed 7 years ago by Cas

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

I have tested this in Ubuntu 12.04 and I cannot replicate. This seems more likely to be an issue with GTK or Windowing on your OS as there is no difference in the code for additional urls.

comment:3 Changed 5 years ago by Cas

  • Milestone 1.3.x deleted

Milestone deleted

Note: See TracTickets for help on using tickets.