Bug 157146 - Implement a "cancel all downloads"
Summary: Implement a "cancel all downloads"
Status: RESOLVED FIXED
Alias: None
Product: kget
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Ubuntu Linux
: NOR wishlist
Target Milestone: ---
Assignee: KGet authors
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-02-03 22:40 UTC by Sven Boden
Modified: 2008-07-26 19:17 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments
Add transfers always in the same dialog (21.97 KB, patch)
2008-07-25 13:29 UTC, Javier goday
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Sven Boden 2008-02-03 22:40:52 UTC
Version:            (using KDE 3.5.8)
Installed from:    Ubuntu Packages
OS:                Linux

My situations is as follows, I run Firefox on Kubuntu in combination with the flashgot plugin. When I'm on a site with a lot of things to download and I accidently click "flashgot all" Kget will be instructed to download them all, and there's no real easy way out: logging out/in or clicking maybe 100 times on cancel.

Wishlist request: make an easy way out of such a situation.... something as a "cancel all pending requests" or so.
Comment 1 Javier goday 2008-07-25 13:29:16 UTC
Created attachment 26405 [details]
Add transfers always in the same dialog

Converts the 'new transfer' dialog in a singleton (lukas idea).

When a source is added then the already showed dialog becomes multiple and the
listwidget appears, avoiding multiples dialogs.
Comment 2 Lukas Appelhans 2008-07-25 15:03:34 UTC
From implementation it's pretty cool, I like it :) But it does not work, I guess the problem is, that you should check somewhere if it already has some urls in and then just append, or if it's only 1 url which is already in, switch to multiple-mode and then insert all urls...

Lukas

PS: Also probably making the Dialog Window-Modal (to MainWindow) would be cool, then we can drop links to the droptarget at any time :)
Comment 3 Javier goday 2008-07-26 19:17:30 UTC
SVN commit 838089 by jgoday:

Convert the 'new transfer' Dialog in a singleton, avoiding multiple dialogs when more than one transfer is added
BUG:157146


 M  +2 -2      main.cpp  
 M  +6 -6      mainwindow.cpp  
 M  +4 -4      ui/droptarget.cpp  
 M  +1 -1      ui/history/transferhistory.cpp  
 M  +2 -1      ui/history/transferhistoryitemdelegate.cpp  
 M  +1 -1      ui/linkview/kget_linkview.cpp  
 M  +213 -163  ui/newtransferdialog.cpp  
 M  +39 -26    ui/newtransferdialog.h  


WebSVN link: http://websvn.kde.org/?view=rev&revision=838089