Summary: | khtml printing accomodates long unwrapped text by severely scaling page | ||
---|---|---|---|
Product: | [Applications] konqueror | Reporter: | Joseph Reagle <joseph.2011> |
Component: | khtml printing | Assignee: | Konqueror Developers <konq-bugs> |
Status: | RESOLVED LATER | ||
Severity: | major | CC: | itlistuser, kobe, pavel.simerda, ViktorHorvath |
Priority: | NOR | ||
Version: | 3.5 | ||
Target Milestone: | --- | ||
Platform: | Unlisted Binaries | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: | |||
Attachments: |
This is the example file
I won't print I will print |
Description
Joseph Reagle
2003-02-21 20:05:32 UTC
This is how konqueror/khtml works internally. KDEPrint is not responsible of what is printed and how it gets printed. Michael. any test case? Created attachment 3117 [details]
This is the example file
Print preview this html file, and you'll see what I mean.
Still present in KDE 3.2.1 Debian/Unstable. *** Bug 45935 has been marked as a duplicate of this bug. *** This "feature" has given me quite a number of printed pages that are completely unreadable. It may be sensible to scale images, it's not sensible at all to scale text. Instead, the stylesheet(s) should be honored, in particular the "@media print"-specific definitions. Regarding overlong <pre>-lines, they should either be cut off, or wrapped. In the latter case preferrably with a visual indication that this happened. Michael Still present in 3.3.0 ... Is this report just being ignored? confirming for 3.4.0 hmm, that's bad The question is how wide in pixels the page should be considered. Currently we fit webpages to a sheet by scaling the width. Is there any progress? *** Bug 121763 has been marked as a duplicate of this bug. *** still in kde 3.5.4 seems to be on the list of the bug to be never fixed Bug still present in KDE 3.5.5 (made also $subject more precise) *** Bug 139968 has been marked as a duplicate of this bug. *** Something abstracted from heise.de which demonstrates the problem nicely. Two files are going to be uploaded below: one with a long url, and the other without. Viewing the two html files in konq produces a page which displays nothing, and one which displays everything. Testcase shows all. Created attachment 19271 [details]
I won't print
Won't print even though text shows up fine in konqueror
<pre> is not necessary. We just need to have a sufficiently long line which isn't wrapped. e.g. [8] http://fundraising.wikimedia.org/de/fundcore/list?edit%5Bstart%5D%5Byear%5D=2006&edit%5Bstart%5D%5Bmonth%5D=1&edit%5Bstart%5D%5Bday%5D=12&edit%5Bend%5D%5Byear%5D=2007&edit%5Bend%5D%5Bmonth%5D=1&edit%5Bend%5D%5Bday%5D=12&edit%5Bcurrency%5D=&edit%5Bminimum%5D=200000&op=Ergebnisse+anzeigen&edit%5Bform_id%5D=fundcore_filter Created attachment 19272 [details]
I will print
Segment of unwrapped text remove which "prints"
(used print to pdf function to test these)
Bug still present in KDE 3.5.7 (Debian Package 4:3.5.7.dfsg.1-4 (lenny/sid)). I was printing django documentation using konqueror (http://www.djangoproject.com/documentation/0.96/newforms/) and the result was 3 illegible pages. I then printed the same webpage with firefox and it produced 15 pages with truncated text... It's a bit disappointing. There should be some sort of escape from this all or nothing default behaviour(s). Perhaps a warning or configuration option where you choose if you want to shrink the text, truncate long lines or force the long lines to wrap. A possibility to choose the font size, in combination with the existing preview, would not only eliminate this bug, but also a huge pile of others, and it would remove the need for any "intelligence" to find out whether to shrink the page automatically or not. Using Konqueror/KDE 3.5.8 on Debian unstable. <rant> It's a bit sad... I have exactly on of the Heise webpages as mentioned in #16 and can't print it in Konqueror nicely, nor can I print it in Iceweasel nicely - there you can set the font size, but the end of the lines are not printed. In summary: Printing with the two major GNU/Linux browsers is not very robust in the end of 2007... :-/ </rant> Both testcases work fine on trunk r793971. This problem persists in 3.5.9 but is fixed in trunk r793791. reopening as still present in 3.5.9. Qualifies for backporting to the 3.x branch. |