Bug 198139

Summary: Enabling clipboard monitoring throws up Kget errors whenever a non-url is copied to clipboard
Product: [Applications] kget Reporter: Ajay <ajay.s>
Component: generalAssignee: KGet authors <kget>
Status: RESOLVED FIXED    
Severity: normal CC: ajay.s
Priority: NOR    
Version: 2.2.4   
Target Milestone: ---   
Platform: unspecified   
OS: Linux   
Latest Commit: Version Fixed In:

Description Ajay 2009-06-28 11:22:31 UTC
Version:           2.2.4 (using 4.2.4 (KDE 4.2.4), Arch Linux)
Compiler:          gcc
OS:                Linux (i686) release 2.6.30-ARCH

Kget displays "malformed url" error every time a non-url is copied to clipboard when monitoring is enabled. Steps to reproduce

# Enable Kget clipboard monitoring in Setting > Configure Kget > Advanced > Integration > "Monitor clipboard for files to download"

# Go to any application (tested with Konqueror, Opera, open-office etc) and copy some text,

# Note Kget almost immediately display a "Malformed URL: Protocol missing" error.

What should actually happen - If a non-URL is copied to clipboard, Kget should parse it and silently ignore, if the copied content is unrelated.
Comment 1 Matthias Fuchs 2009-07-03 10:51:05 UTC
SVN commit 990755 by mfuchs:

BUG:198139
Copied text needs to have a protocoll and a path before it tries to download the "url".

 M  +1 -1      mainwindow.cpp  


WebSVN link: http://websvn.kde.org/?view=rev&revision=990755
Comment 2 Matthias Fuchs 2009-07-03 10:54:15 UTC
SVN commit 990758 by mfuchs:

Backport -r990755
CCBUG:198139
Copied text needs to have a protocoll and a path before it tries to download the "url".

 M  +1 -1      mainwindow.cpp  


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