Bug 135453

Summary: Pasting a text in Konsole removes the 'file:/' text when it is present.
Product: [Applications] konsole Reporter: gambas <g4mba5>
Component: generalAssignee: Konsole Developer <konsole-devel>
Status: RESOLVED WORKSFORME    
Severity: normal    
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Mandriva RPMs   
OS: Linux   
Latest Commit: Version Fixed In:

Description gambas 2006-10-11 15:00:32 UTC
Version:            (using KDE KDE 3.5.4)
Installed from:    Mandriva RPMs

When pasting the text:

/usr/bin/svn mkdir -m "Création du domaine 'test'" file:///home/benoit/asap/ecosys/ecosys/svn/test

in Konsole the 'file://' part was removed. And so the command becomes syntactically incorrect.

I think this behaviour comes from wish #64238, and that implementing it was a *very* bad idea.
Comment 1 Kurt Hindenburg 2006-10-11 16:04:51 UTC
*** Bug 135454 has been marked as a duplicate of this bug. ***
Comment 2 Kurt Hindenburg 2006-10-11 16:06:46 UTC
How are you pasting the text?

It works here for:
1. Using middle mouse
2. Using Shift_Insert 
3. Using Menu for paste
Comment 3 gambas 2006-10-11 16:14:31 UTC
1) or 3)
Comment 4 Kurt Hindenburg 2006-10-11 16:30:48 UTC
Can't duplicate it here... how are you copying the file and from what app?
Comment 5 gambas 2006-10-11 16:51:49 UTC
Apparently from any application.

For example, I open KWrite, and I type:

abc def file:///test/test

Then I select all the text and I paste it into Konsole. I get:

abc def ///test/test

'file:' was removed.
Comment 6 gambas 2006-10-11 16:52:53 UTC
This bug does not occur if I use drag the text with the mouse and drop it into Konsole.
Comment 7 gambas 2006-11-26 19:40:57 UTC
This bug is there with KDE 3.5.5 too.
Comment 8 Robert Knight 2006-11-26 21:29:13 UTC
I cannot reproduce this here either.  KDE 3.5.5.
Comment 9 gambas 2007-04-13 09:05:46 UTC
This bug is there with KDE 3.5.6.
Comment 10 gambas 2007-06-03 11:06:04 UTC
The bug is present in KDE 3.5.7.
Comment 11 Robert Knight 2007-07-28 20:11:08 UTC
I am still not able to reproduce this in KDE 3.5.6.  Plus, just looking at the code I cannot see any logic to do this - which would have to exist since the text will not trim itself.
Comment 12 gambas 2007-12-19 19:57:39 UTC
The bug has gone away... Yet with KDE 3.5.7, but on Mandriva 2008.