Bug 437379

Summary: Ktorrent not opening torrent files silently
Product: [Applications] ktorrent Reporter: ehrich.weiss
Component: generalAssignee: Joris Guisson <joris.guisson>
Status: REPORTED ---    
Severity: normal    
Priority: NOR    
Version First Reported In: 21.04.1   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description ehrich.weiss 2021-05-19 21:34:45 UTC
SUMMARY

When I try to open torrents silently with KT in the task tray, KT will suddenly open itself up in front of all other windows(usually). This is with all the "open silently" settings enabled.

STEPS TO REPRODUCE
1. Minimize Ktorrent to task tray
2. Open torrent
3. 

OBSERVED RESULT

Ktorrent will open itself in front of all other windows.

EXPECTED RESULT

Ktorrent opens torrent silently and stays in task tray.

SOFTWARE/OS VERSIONS
Windows: 

Linux/KDE Plasma: Arch Linux KDE 5.21.3 I think. I just started using Arch so I'm not 100% on this.
(available in About System)
KDE Plasma Version: 5.21.3
KDE Frameworks Version: 5.82.0
Qt Version: 5.15.2

ADDITIONAL INFORMATION
Comment 1 ehrich.weiss 2021-12-15 19:54:23 UTC
I have confirmed that this is also happening if you use "--silent" when opening a torrent from command line. So if I use "ktorrent --silent sometorrent.file", if Ktorrent is already running and iconified in the systray, it will pull Ktorrent out of the iconified state and open a window. The first time it does it the window will be in the background but the second time it'll bring it to the foreground.
Comment 2 ehrich.weiss 2022-04-04 22:27:36 UTC
This is still occurring as of v22.03.70.