[Libreoffice-bugs] [Bug 141957] New: "Characters per line" in the Text Grid is calculated without the header and footer

bugzilla-daemon at bugs.documentfoundation.org bugzilla-daemon at bugs.documentfoundation.org
Thu Apr 29 06:36:31 UTC 2021


https://bugs.documentfoundation.org/show_bug.cgi?id=141957

            Bug ID: 141957
           Summary: "Characters per line" in the Text Grid is calculated
                    without the header and footer
           Product: LibreOffice
           Version: 7.1.2.2 release
          Hardware: x86-64 (AMD64)
                OS: All
            Status: UNCONFIRMED
          Severity: normal
          Priority: medium
         Component: Writer
          Assignee: libreoffice-bugs at lists.freedesktop.org
          Reporter: nogajun at gmail.com

Description:
"Characters per line" in the Text Grid is calculated without the header and
footer, so the character count I entered is different from the real character
count.

Steps to Reproduce:
Options:
    Language Settings:
    - Locale Settings: Japanese
    - Default Language Asian: Japanese

    LibreOffice Writer:
    - General
        - [x] Enable char unit
        - [x] Use square page mode for text grid


1. Open [Format] -> [Page Style]
2. Set the following settings for the page style and click the OK button

  Page Style settings

    Page tab:
    - Orientation: Landscape
    - Text direction: Right-to-left(vertical)

    Header tab:
    - [x] Header on

    Footer tab:
    - [x] Footer on

    Text grid tab:
    - Grid(lines and characters)
    - Grid Layout:
        - Lines per page: 20
        - Characters per line: 24

3. Enter "123456789012345678901234"(24 Double-byte characters) in Double-byte
characters. 
4. Check the character count.


Actual Results:
One line is only 21 Double-byte characters, 3 Double-byte characters are
wrapped around to the next line.

Expected Results:
Each line has 24 Double-byte characters.


Reproducible: Always


User Profile Reset: Yes



Additional Info:
Version: 7.1.2.2 / LibreOffice Community
Build ID: 8a45595d069ef5570103caea1b71cc9d82b2aae4
CPU threads: 8; OS: Linux 5.10; UI render: default; VCL: gtk3
Locale: ja-JP (C); UI: en-US
Calc: threaded

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/libreoffice-bugs/attachments/20210429/5f496300/attachment-0001.htm>


More information about the Libreoffice-bugs mailing list