Bug 84594 - konsole pastes file:/// URLS without the "file:" part
Summary: konsole pastes file:/// URLS without the "file:" part
Status: RESOLVED FIXED
Alias: None
Product: konsole
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Mandrake RPMs Linux
: NOR normal
Target Milestone: ---
Assignee: Konsole Developer
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-07-06 20:49 UTC by Shlomi Fish
Modified: 2005-02-07 01:30 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Shlomi Fish 2004-07-06 20:49:06 UTC
Version:            (using KDE KDE 3.2.3)
Installed from:    Mandrake RPMs
OS:                Linux

If the clipboard contains text and as such a file:/// URL like:

<<<
file:///home/shlomi/tmp/
>>>

then pasting it using the middle mouse button, causes it to paste it without the file: part. The same thing in xterm works fine, and it also works in konsole for other kinds of URLs.

This makes dealing with command line programs that require file:/// URLs (like the Subversion command-line client) very awkward.
Comment 1 Stephan Binner 2004-07-09 22:28:56 UTC
That's a feature :-) - there are way more command line programs imo which cannot handle file:/// URLs.
Comment 2 Shlomi Fish 2004-07-10 13:19:35 UTC
If this is a feature, then it is a mis-feature, and there should be some way to turn it off. When I copy a URL, I later want this URL to be pasted to the console. When I copy a paste on the hard-disk, I later want this path to be pasted. I don't want to paste a path when pasting a URL or a URL when pasting a path. 

Examples for cases where not pasting the file: prefix is annoying if not destructive:

1. The svn client example.

2. Editing a file using a console text editor (like joe or vim), and wishing
to paste a "file:///" URL. Not everybody are using an X editor, you know.

3. Using Lynx.

4. Invoking Mozilla or whatever from the command-line.

In all of this cases this "feature" is annoying. Generally, you should not assume that you know better than the user. Please create an option to disable this annoying behaviour.
Comment 3 Kurt Hindenburg 2005-01-30 21:24:01 UTC
This appears to be 'fixed' in soon-to-be-KDE3.4.

The file:// is pasted by using the middle-mouse button and by 'Paste menu item'
Comment 4 Kurt Hindenburg 2005-02-07 01:30:43 UTC
This has been 'fixed'.  It works with and without klipper.