Bug 26202 - Wrapped URL are not recognized in mail viewer
Summary: Wrapped URL are not recognized in mail viewer
Status: CLOSED FIXED
Alias: None
Product: kmail
Classification: Unmaintained
Component: general (show other bugs)
Version: 1.2
Platform: Compiled Sources Linux
: NOR normal
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2001-05-26 05:03 UTC by jansorg
Modified: 2007-09-14 12:17 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description jansorg 2001-05-26 04:48:04 UTC
(*** This bug was imported into bugs.kde.org ***)

Package:           kmail
Version:           1.2 (using KDE 2.1.1 - CVS 20010306)
Severity:          normal
Installed from:    compiled sources
Compiler:          gcc version 2.95.2 19991024 (release)
OS:                Linux 2.2.18 i586
OS/Compiler notes: 

If a URL is really long and line-wrapping is enabled in the HTML viewer widget the URL is wrapped to two or more lines.
Only the first line is marked as URL the other part is left as normal text.


(Submitted via bugs.kde.org)
(Called from KBugReport dialog)
Comment 1 Ingo Kl 2001-05-28 22:27:32 UTC
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Saturday 26. May 2001 06:48 jansorg@gmx.de wrote:
> If a URL is really long and line-wrapping is enabled in the HTML
> viewer widget the URL is wrapped to two or more lines. Only the first
> line is marked as URL the other part is left as normal text.

This is a khtml problem. Could someone please reassign this bug report 
to khtml? Or tell me how it's done (for the next time)!

Regards
Ingo
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.4 (GNU/Linux)
Comment: For info see http://www.gnupg.org

iD8DBQE7EtDUGnR+RTDgudgRAjITAJ9eOXmWiqACW111gAPOeHSV3nc//ACeNkN4
hPxPx5PB1BlItMKyGMQqZLQ=
=0tW4
-----END PGP SIGNATURE-----
Comment 2 Michael Haeckel 2001-06-01 14:03:07 UTC
On Saturday 26. May 2001 06:48 jansorg@gmx.de wrote:
>
> If a URL is really long and line-wrapping is enabled in the HTML viewer
> widget the URL is wrapped to two or more lines. Only the first line is
> marked as URL the other part is left as normal text.

Could you please tell me where you are able to enable line wrapping for the 
HTML viewer?

If the line was already wrapped by the sending mail client then KMail of 
course can't recognize it as URL since it can't know if the next line 
belongs to the URL or not.

Regards
Michael Häckel
Comment 3 Ingo Kl 2001-06-01 18:40:14 UTC
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Friday 1. June 2001 16:03 Michael Häckel wrote:
> On Saturday 26. May 2001 06:48 jansorg@gmx.de wrote:
> > If a URL is really long and line-wrapping is enabled in the HTML
> > viewer widget the URL is wrapped to two or more lines. Only the
> > first line is marked as URL the other part is left as normal text.
>
> Could you please tell me where you are able to enable line wrapping
> for the HTML viewer?

The khtml part always wraps lines. This can't be disabled AFAIK.

> If the line was already wrapped by the sending mail client then
> KMail of course can't recognize it as URL since it can't know if
> the next line belongs to the URL or not.

I guess the problem is that the URL is broken after a character which 
the khtml part interprets as the end of a word. IIRC this already 
happened in a message I received. But I'm not sure.
Maybe jansorg@gmx.de can provide us with an example for a long URL 
which is broken into two or more parts because of wrapping.

Anyway I'd say that this is a khtml bug and not a KMail bug.

Regards
Ingo
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.4 (GNU/Linux)
Comment: For info see http://www.gnupg.org

iD8DBQE7F+GUGnR+RTDgudgRAqj/AKCZVdT1TCY3O4UMMW9/mJaFEn18iwCgrd/T
4C6dH+5oJMRdSKKC3U4KJ7I=
=BSXS
-----END PGP SIGNATURE-----
Comment 4 jansorg 2001-06-01 21:09:27 UTC
Hi!

>=A0If the line was already wrapped by the sending mail client then
>=A0KMail of course can't recognize it as URL since it can't know if
>=A0the next line belongs to the URL or not.

I guess the problem is that the URL is broken after a character which
the khtml part interprets as the end of a word. IIRC this already
happened in a message I received. But I'm not sure.
Maybe jansorg@gmx.de can provide us with an example for a long URL
which is broken into two or more parts because of wrapping.

Now I
'm not sure if it's a real bug. I'm absolutely sure I had wrapping URLS whi=
ch=20
were not marked as URL in the new line.

But I looked now into my archive and searched such an eMail. The URL was=20
wrapped by the eMail reader of the sender! If this is true for all messages=
=20
this is not a KDE problem.

Sorry for the bug report without verifying it first

Joachim
--=20
Joachim Ansorg
BibleTime - www.bibletime.de - info@bibletime.de
BibleTime is an easy to use Bible study tool for KDE / Linux.
Comment 5 Michael Haeckel 2001-06-01 21:41:00 UTC
On Friday 1. June 2001 23:09 Joachim Ansorg wrote:
>
> But I looked now into my archive and searched such an eMail. The URL was
> wrapped by the eMail reader of the sender! If this is true for all messages
> this is not a KDE problem.
>
> Sorry for the bug report without verifying it first
>
> Joachim

I close the issue though.