Bug 237927 - Long URLs are cutted off when containing a hyphen
Summary: Long URLs are cutted off when containing a hyphen
Status: RESOLVED FIXED
Alias: None
Product: kmail
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Ubuntu Unspecified
: NOR normal
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
: 244856 (view as bug list)
Depends on:
Blocks:
 
Reported: 2010-05-17 13:25 UTC by Andreas Pietzowski
Modified: 2013-02-27 12:40 UTC (History)
6 users (show)

See Also:
Latest Commit:
Version Fixed In: 4.10.1


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Andreas Pietzowski 2010-05-17 13:25:48 UTC
Version:            (using KDE 4.4.3)
Installed from:    Ubuntu Packages

I created an email containing a long URL from Amazon. This URL contained a "-" somewhere and kmail used this position to insert a newline. But this happened after I sent the email.

Example:

http://www.verylong.url/containing-something_for_auto_word_wrap.html

Result in Email after sending:

http://www.verylong.url/containing-
something_for_auto_word_wrap.html

The problem is that you cannot click the link because the second line is not included in the link. Also the receiver has a problem. Please don't wrap those URLs.
Comment 1 Christopher Yeleighton 2010-09-16 22:34:12 UTC
*** Bug 244856 has been marked as a duplicate of this bug. ***
Comment 2 Tilo 2010-11-07 21:24:59 UTC
possible CAUSE: automatically word wrap of kmail

WORKAROUND: deactivate "Word wrap at column" at Options/Composer Page/General
Comment 3 tnemeth 2011-03-20 13:45:16 UTC
(In reply to comment #2)
> possible CAUSE: automatically word wrap of kmail
> 
> WORKAROUND: deactivate "Word wrap at column" at Options/Composer Page/General

    I have the same problem as the bug's author. Indeed I have word wrapping
    enabled but it should only work for long lines, not for very long words that
    are mainly URLs.

    Lines must not be too long for better reading. But URLs must not be splitted
    in order to allow clicks on the to open the right page. Only opening

http://www.verylong.url/containing-

    instead of

http://www.verylong.url/containing-something_for_auto_word_wrap.html

    is not the way to go.
Comment 4 Jan Kundrát 2012-11-29 15:32:50 UTC
I can confirm that this is a valid report as of User-Agent: KMail/4.9.3 (Linux/3.5.0-gentoo; KDE/4.9.3; x86_64; ; ).

An example of how such a message looks like is http://lists.qt-project.org/pipermail/development/2012-November/008189.html .
Comment 5 Cédric Bellegarde 2013-01-14 13:36:09 UTC
https://git.reviewboard.kde.org/r/108254/diff/
Comment 6 Allen Winter 2013-02-18 22:52:03 UTC
Since review 108254 was indeed committed, I think this one can be RESOLVED. Right?
Comment 7 Allen Winter 2013-02-23 19:17:51 UTC
no response.
I'm resolving then.  reopen as needed.
Comment 8 tnemeth 2013-02-27 12:40:46 UTC
> no response.
> I'm resolving then.  reopen as needed.

    Sorry. Missed your request... Indeed it is fixed now.