https://bugs.kde.org/show_bug.cgi?id=348598
Dominik Haumann <dhaum...@kde.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|CONFIRMED |RESOLVED Latest Commit| |https://commits.kde.org/kte | |xteditor/6bbbe6aa51c0a293a5 | |8dbca6223e37a73ce32122 Resolution|--- |FIXED --- Comment #14 from Dominik Haumann <dhaum...@kde.org> --- 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 -- You are receiving this mail because: You are watching all bug changes.