Bug 140692

Summary: [testcase] Regression: Middle click on smb links starts drag.
Product: [Applications] konqueror Reporter: Tim Hutt <tdhutt>
Component: khtmlAssignee: Konqueror Developers <konq-bugs>
Status: RESOLVED WORKSFORME    
Severity: normal CC: james, rickard.narstrom
Priority: NOR    
Version: 3.5   
Target Milestone: ---   
Platform: Compiled Sources   
OS: Linux   
Latest Commit: Version Fixed In:
Attachments: testcase

Description Tim Hutt 2007-01-27 00:42:56 UTC
Version:            (using KDE Devel)
Installed from:    Compiled sources
OS:                Linux

Actually I think they are file:/// links.

When you middle click on them and the 'Do you want to follow this link' dialog appears, the pointer changes the folder dragging image and leaves trails everywhere.

Didn't do this in KDE 3.5.5.
Comment 1 Philip Rodrigues 2007-01-27 22:19:44 UTC
I'm not quite sure I understand what you mean. What sort of links are you talking about? Hyperlinks? Can you provide a test page that shows the problem?
Comment 2 Tim Hutt 2007-01-27 23:47:31 UTC
Ooo actually it appears to be a bit more specific than I previously said, and it was with smb:// not file:// links. I'll investigate further.
Comment 3 Tim Hutt 2007-02-03 18:28:28 UTC
Test case:

http://www.srcf.ucam.org/~tdh29/test.html

Just click on the link. Weirdness ensues.

Note, it doesn't do this if you copy the file to your computer, because the security dialog doesn't appear.
Comment 4 Philip Rodrigues 2007-02-04 12:47:02 UTC
Probably related to bug 140778
Comment 5 Tim Hutt 2007-02-18 17:14:57 UTC
This is probably related:

Go to http://www.newhavenindependent.org/archives/2007/01/your_antiterror_1.php

And middle click on the second '_here_ and _here_' link. The cursor changes into a cross (the 'can't drop here' icon) and you can't click anywhere on the entire desktop! Press control lots and eventually konqueror segfaults. Or you can close it with alt-F4.
Comment 6 David Faure 2008-01-19 01:37:30 UTC
Test page from comment #3 seems to have disappeared.
Couldn't reproduce #5 (but didn't try long)...
Comment 7 Tim Hutt 2008-01-19 02:00:43 UTC
Ah yes, I have left Cambridge and don't seem to have a copy of the test case, nor can I remember how to reproduce it. However the link in #5 still produces the bug (Konqueror 3.5.8). In Konqueror 4.0.0.0.0 it instead asks you if you want to save the HTML file or view it in Kate, so you might want to mark this as fixed for KDE 4.
Comment 8 Michael Leupold 2008-04-20 16:06:56 UTC
I don't think the original bug is related to the one mentioned in c#5.

The original bug is still present in 3.5.9. Basically on clicking a href="smb://..." link inside a webpage pops up a dialog warning you that this might be an insecure action. While the dialog is popped-up the wrong mouse pointer is shown. You can still click though and I don't see any strange traces being left behind.

On trunk r798768 this is no longer reproducible.
Comment 9 Michael Leupold 2008-04-20 16:07:27 UTC
Created attachment 24444 [details]
testcase

Testcase demonstrating the bug.
Comment 10 James Spahlinger 2008-04-25 09:48:09 UTC
Works for me in 4.0.3