Bug 468887 - Kate printing formatting problems
Summary: Kate printing formatting problems
Status: RESOLVED WORKSFORME
Alias: None
Product: kate
Classification: Applications
Component: general (show other bugs)
Version: 23.08.4
Platform: unspecified Linux
: NOR normal
Target Milestone: ---
Assignee: KWrite Developers
URL:
Keywords:
: 468888 (view as bug list)
Depends on:
Blocks:
 
Reported: 2023-04-24 00:07 UTC by David Chmelik
Modified: 2024-09-25 17:41 UTC (History)
4 users (show)

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 David Chmelik 2023-04-24 00:07:01 UTC
KATE has several printing formatting problems, including a general KDE one I reported elsewhere.  When we have our measurements set to imperial/USA lengths, KATE doesn't show us the margins in that format rather than millimetres, which some are too short or not used at all, because on a several page file (after we select USA letter format which the paper is) all the last lines got cut in half at the bottom of the page, unreadable.  When I print previewed a 12-page document it said it was 11 pages.

STEPS TO REPRODUCE
1. Print preview and then print multiple-page document
2. View measurements about the page including margins (see locale not used, which you may need to add an alternative/secondary language/dialect despite not actually using its measurements) and number of pages (if it's 11 & 1/2 it'll say 11 rather than 12)
3. Check each bottom line

OBSERVED RESULT
Wrong formatting used in description, print preview, and for the bottom line which gets cut off.

EXPECTED RESULT
USE the correct lengths that are set in the locale.  Check if there is space for the bottom line, and if not, start it on the next page.  Round up number of pages if even goes over by one character.

SOFTWARE/OS VERSIONS
UNIX/GNU/Linux/KDE Plasma: KDE Neon 5.27 22.04
KDE Plasma Version: 5.27.4
KDE Frameworks Version: 5.105.0
Qt Version: 5.19.9
Comment 1 Ben Bonacci 2023-04-29 11:38:58 UTC
*** Bug 468888 has been marked as a duplicate of this bug. ***
Comment 2 connorpickett 2024-02-07 08:50:51 UTC
Today I printed a document to PDF and also printed a physical copy. At the bottom of each page, errors were present in both the digital and physical results: page breaks cut through characters, so character ascenders would appear on page 2 while most of the character prints on page 3. 

Steps to reproduce:
1. print a multiple-page document to file OR physically
(i am also using 8.5x11 paper, usa encoding & keyboard)
2. check each bottom line for misprinted characters

Observed result:
characters are split across a page break, poor readability

Expected:
Characters should never be split across pages; each line is discretely on its own page. 

Environment: 
Fedora Linux 39
KDE Plasma 5.27.10
KDE Frameworks 5.113.10
QT version: 5.15.12


Observed result:
Comment 3 David Chmelik 2024-02-08 04:25:45 UTC
Why was the OS I reported this on removed?  I hadn't heard it's fixed.  Please, if you add to a report on another GNU/Linux, don't change it to that; leave it or at least change it to what sounds more general: 'unspecified'.
Comment 4 Christoph Cullmann 2024-09-25 17:41:13 UTC
I tested printing with 24.08 and that looks a lot better, with Frameworks 6.6.