Summary: | Print Preview doesn't show entire file contents | ||
---|---|---|---|
Product: | [Applications] kate | Reporter: | Greg Lepore <greg> |
Component: | general | Assignee: | KWrite Developers <kwrite-bugs-null> |
Status: | RESOLVED FIXED | ||
Severity: | minor | CC: | christoph, ilmari.lauhakangas, mark.vanrossum, nate, sergio.callegari |
Priority: | NOR | ||
Version: | 5.0.0 | ||
Target Milestone: | --- | ||
Platform: | Kubuntu | ||
OS: | Linux | ||
Latest Commit: | https://commits.kde.org/ktexteditor/6bbbe6aa51c0a293a58dbca6223e37a73ce32122 | Version Fixed In: | 5.60 |
Sentry Crash Report: | |||
Attachments: |
Image showing actual file and truncated Print Preview
Original file |
Description
Greg Lepore
2015-06-02 16:20:53 UTC
Created attachment 92967 [details]
Image showing actual file and truncated Print Preview
Created attachment 92968 [details]
Original file
Just upgraded to Kubuntu Wily Beta 1, with plasma 5.4.0 and QT 5.4.2 and the problem is still appearing. Greg: Kate hangs for me in print preview, what about for you with the latest version? Arch Linux 64-bit Kate 16.04.2 KDE Frameworks 5.23.0 Qt 5.7 xcb wm I'm still on 15.12.3, with Qt 5.5.1. This bug still occurs but I do not get a hang. Ok, I guess you could test with the bleeding edge, like KDE Neon, in a virtual machine to find out, if it is even safe for you to upgrade. https://neon.kde.org/ Works okay for me with frameworks 2.25 + Kate 16.08 Same bug for me on Fedora 25 with - kate-16.12.3-1.fc25.x86_64 - qt5-qtbase-5.7.1-16.fc25.x86_64 Resetting status to Unconfirmed as the bug is still occurring on KDE Neon: Kate 17.04.3 KDE Frameworks 5.36.0 Qt 5.9.1 (built against 5.9.1) The xcb windowing system We have reports that the print preview is entirely blank for some people: https://bugs.kde.org/show_bug.cgi?id=376270 Is anyone still experiencing the original issue with truncation as outlined here, or is everyone now seeing totally blank print previews? Original reporter here. I'm still seeing the exact same behavior as described in this report. kate 17.08.3 KDE Frameworks 5.40.0 Qt 5.9.3 (built against 5.9.1) The xcb windowing system Thanks. (In reply to Greg Lepore from comment #2) > Created attachment 92968 [details] > Original file When I tested last year, I got a hang, but now I can reproduce similarly like Greg says. The page cut off happens on page 4 for me and blank pages follow, with a lonely line on one page. Arch Linux 64-bit Kate 17.08.3 KDE Frameworks 5.40.0 Qt 5.9.3 Proposed patch: https://phabricator.kde.org/D21563 Git commit 6bbbe6aa51c0a293a58dbca6223e37a73ce32122 by Dominik Haumann, on behalf of Robert Hoffmann. Committed on 29/06/2019 at 20:26. Pushed by dhaumann into branch 'master'. Fix empty pages in print preview and lines printed twice Summary: There were errors if a page's last line is too long and needs to be wrapped into two or more lines: - The first line of the wrapped lines was printed correctly at the end of the page, but on the next page this first line was printed again. - In print preview the first wrapped line was shown correctly at the end of the page, but the next and following pages were empty. Reasons: - remainder variable was always 0 - clipping was not reset Test Plan: In Kate, open a text file that has long lines. Check lines at page ends which are wrapped to the next page. Check printing and print preview. Reviewers: #kate, #ktexteditor, dhaumann Reviewed By: #kate, #ktexteditor, dhaumann Subscribers: cullmann, dhaumann, ngraham, kwrite-devel, kde-frameworks-devel Tags: #kate, #frameworks Differential Revision: https://phabricator.kde.org/D21563 M +4 -1 src/printing/printpainter.cpp https://commits.kde.org/ktexteditor/6bbbe6aa51c0a293a58dbca6223e37a73ce32122 *** Bug 409470 has been marked as a duplicate of this bug. *** |