Bug 198139 - Enabling clipboard monitoring throws up Kget errors whenever a non-url is copied to clipboard
Summary: Enabling clipboard monitoring throws up Kget errors whenever a non-url is cop...
Status: RESOLVED FIXED
Alias: None
Product: kget
Classification: Applications
Component: general (show other bugs)
Version: 2.2.4
Platform: unspecified Linux
: NOR normal
Target Milestone: ---
Assignee: KGet authors
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-06-28 11:22 UTC by Ajay
Modified: 2009-07-03 10:54 UTC (History)
1 user (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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