[Libreoffice-bugs] [Bug 138854] New: Writer highlighting and editing mismatches the view. Text corruption and undo failure.

bugzilla-daemon at bugs.documentfoundation.org bugzilla-daemon at bugs.documentfoundation.org
Sat Dec 12 13:35:32 UTC 2020


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

            Bug ID: 138854
           Summary: Writer highlighting and editing mismatches the view.
                    Text corruption and undo failure.
           Product: LibreOffice
           Version: 7.0.3.1 release
          Hardware: x86-64 (AMD64)
                OS: Windows (All)
            Status: UNCONFIRMED
          Severity: normal
          Priority: medium
         Component: Writer
          Assignee: libreoffice-bugs at lists.freedesktop.org
          Reporter: dev at johnvalentine.co.uk

Description:
Examples:

A. The shape of a mouse-dragged text highlight mismatches the shape of the
displayed text, as if the text display and the highlight see different parts of
the document (or text flow). Subsequent typing might then corrupt the text,
losing lengths of text, without being able to undo.

B. Cut-and-paste of a few words within the same document can likewise corrupt
the display and the underlying text. Undo is sometimes possible.

C. Typing into a paragraph sometimes causes the remainder of a chapter to
disappear. Scrolling to the next page can sometimes make the text re-appear and
disappear between display refreshes.

Steps to Reproduce:
Case A:
1. Select text in a Writer document. In my case, the document contained 68000
words.
2. Type to replace the text.

Actual Results:
Sometimes, the text highlight mismatches the shape of the displayed text, as if
the text display and the highlight see different parts of the document (or text
flow). This is a 'red flag' that subsequent typing might then corrupt the text,
losing lengths of text, sometimes without being able to undo.

Expected Results:
The typed text replaces the highlighted text.


Reproducible: Sometimes


User Profile Reset: Yes



Additional Info:
I've listed three possibly-related issues in the Description.

I'm attempting to create a reproducible or minimal case, as I haven't yet
determined prerequisites to this bug occurring.

'Save As' (fresh document) does not fix it.

Some notes:
- 68,000-word document, using paragraph and character styling.
- Display scaling 200%, no 'High DPI' overrides in Windows.
- Multiple page view, zoomed to about 90% of the screen width.
- Use hardware acceleration: off.
- Removed any non-bundled extensions (Alternative Searching, Language Tool).
- Safe mode test is not helpful in this case, because reproducibility is rare.

I also occasionally see Bug 123456 (misaligned rendering zones) when placing my
cursor in a paragraph.

Version: 7.0.3.1 (x64)
Build ID: d7547858d014d4cf69878db179d326fc3483e082
CPU threads: 8; OS: Windows 10.0 Build 19041; UI render: Skia/Vulkan; VCL: win
Locale: en-GB (en_GB); UI: en-GB
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/20201212/ef5c98eb/attachment.htm>


More information about the Libreoffice-bugs mailing list