Bug 115323 - Only the last part of the page gets displayed
Summary: Only the last part of the page gets displayed
Status: RESOLVED WORKSFORME
Alias: None
Product: konqueror
Classification: Applications
Component: khtml parsing (show other bugs)
Version: unspecified
Platform: Compiled Sources Linux
: NOR normal
Target Milestone: ---
Assignee: Konqueror Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-10-29 17:02 UTC by Isaac Clerencia
Modified: 2008-05-05 01:22 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Isaac Clerencia 2005-10-29 17:02:44 UTC
Version:            (using KDE Devel)
Installed from:    Compiled sources

Loading http://lists.debian.org/debian-mentors/2005/10/msg00319.html in Konqueror only displays half of the page (beginning with the Reply To). Sometimes it gets displayed correctly when loaded, but a reload causes it to break again. If I save it in the HD and show it locally it gets displayed correctly. I've checked if the server was sending the good stuff every time with Ethereal, and it looks like the server was sending it correctly.
Comment 1 Maksim Orlovich 2005-10-29 17:12:45 UTC
This can be reproduced by running "konqueror http://lists.debian.org/debian-mentors/2005/10/msg00319.html" -- it'll probably show up right -- and then pressing F5 --- it probably wouldn't. I put in a debug dump in HTMLTokenizer::write, to see what it's getting. Here is a diff between the two runs:
@@ -18,7 +18,8 @@
 </head>
 <body>
 <!--X-Body-Begin-->
-<!--X-User-Header-->
+<!--X-User-Header--")
+Tokenizer::write(">
 <!--X-User-Header-End-->
 <!--X-TopPNI-->
 <hr>
@@ -56,7 +57,8 @@
 <hr>
 <!--X-Head-Body-Sep-End-->
 <!--X-Body-of-Message-->
-<pre>well, my question is about gcc-4.0.
+<pre>well, my question is about gcc-4.0.")
+Tokenizer::write("

 if i have a package that doesn't compile against gcc-4.0,what are my
 choices??and what is the best ??,Build-Depends on gcc-3.4 or  modify
@@ -90,7 +92,8 @@
 <ul>
 <li><strong><a name="00320" href="msg00320.html">Re: gcc best practices | problems</a></strong>
 <ul><li><em>From:</em> Steve Langasek &lt;vorlon@debian.org&gt;</li></ul></li>
-<li><strong><a name="00322" href="msg00322.html">Re: gcc best practices | problems</a></strong>
+<li><strong><a name="00322" href="")
+Tokenizer::write("msg00322.html">Re: gcc best practices | problems</a></strong>
 <ul><li><em>From:</em> Henrique de Moraes Holschuh &lt;hmh@debian.org&gt;</li></ul></li>
 </ul></li></ul>
 <!--X-Follow-Ups-End-->

=====================================
my guess would be that splitting --> closing the comment gets us into trouble
Comment 2 FiNeX 2008-04-06 22:55:51 UTC
The page is rendered correctly both on KDE 3.5.8 and 4.0.3.
Comment 3 FiNeX 2008-05-05 01:22:43 UTC
Tried even with 3.5.9: It is ok!