Bug 259152

Summary: KMail adds text typed after adding a link to the link name
Product: [Applications] kmail Reporter: Ricardo Graça <ricardo>
Component: composerAssignee: kdepim bugs <kdepim-bugs>
Status: RESOLVED WORKSFORME    
Severity: normal    
Priority: NOR    
Version: 1.13.5   
Target Milestone: ---   
Platform: openSUSE   
OS: Linux   
Latest Commit: Version Fixed In: kdepim 4.6

Description Ricardo Graça 2010-12-07 18:54:19 UTC
Version:           1.13.5 (using KDE 4.5.3) 
OS:                Linux

When I create a link in kmail by selecting a piece of text and clicking the link button, somehow the anchor tag isn't closed, so (infuriatingly) everything I type after that gets added to the link name. If I select only the portion of text that I want to serve as link name, then kmail automatically (and to my great frustration and extreme brain swelling anger) selects ALL the text that it thinks is the link name (all the text that is effectively and wrongly linked) before opening the dialog window to edit the link. The only way to add two consecutive links to different locations is to first type all the email including all the links and only then add the relevant links.

Reproducible: Always

Steps to Reproduce:
1. Add text that you want to use as link name
2. Create the link
3. Write some more text after that

Actual Results:  
Everything typed (step 3 above) after adding the link (step 2) gets added to the link name.

Expected Results:  
The link name is correctly enclosed by the anchor tags and I'm able to add text after this link without it being added to the link name
Comment 1 Christophe Marin 2011-05-01 00:17:41 UTC
Cannot reproduce in KMail2 with the steps you mentioned.
Comment 2 Ricardo Graça 2011-05-01 14:12:20 UTC
This seems to be fixed in version 1.13.7 as well.