Bug 94597 - Messy character alignment and cursor move after AutoCorrect
Summary: Messy character alignment and cursor move after AutoCorrect
Status: RESOLVED WORKSFORME
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
5.0.2.2 release
Hardware: All Windows (All)
: medium minor
Assignee: Not Assigned
URL:
Whiteboard:
Keywords: bibisected, bisected, regression
Depends on:
Blocks: Font-Rendering AutoCorrect-Complete Kerning
  Show dependency treegraph
 
Reported: 2015-09-29 09:23 UTC by Marc PHILIPPE
Modified: 2022-02-16 15:50 UTC (History)
4 users (show)

See Also:
Crash report or crash signature:


Attachments
odt + 2 screenshots (342.88 KB, application/zip)
2015-09-29 09:23 UTC, Marc PHILIPPE
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Marc PHILIPPE 2015-09-29 09:23:17 UTC
Created attachment 119115 [details]
odt + 2 screenshots

Tested and buggy on:
(1) Operating System: Windows 10
    Version: 5.0.2 release (x64)
(2) Operating System: Windows 7
    Version: 5.0.2 release

Problem description: 

Steps to reproduce:
1. Make sure AutoCorrect in on;
2. Type some text;
3. Insert -> into the text 
   (automatically converted to right arrow by LO);

Current behavior:
* Incorrect alignment of:
  - characters,
  - spaces and 
  - paragraph mark;
* Incorrect cursor positioning

Font used on both systems: Palatino Linotype.
But the same behaviour can be reproduced with other fonts.

Attachment: ZIP with
- odt
- screenshot W7
- screenshot W10
Comment 1 Marc PHILIPPE 2015-09-29 09:32:52 UTC
It's a REGRESSION:
correct behaviour in LO 5.0.1 release (x64).
Comment 2 Buovjaga 2015-10-02 08:58:45 UTC
Reproduced.

Win 7 Pro 64-bit Version: 5.1.0.0.alpha1+
Build ID: 25de5cfa43b2b1cb7d7214470acc7719839e13fe
TinderBox: Win-x86@62-merge-TDF, Branch:MASTER, Time: 2015-10-01_08:49:54
Locale: en-US (fi_FI)
Comment 3 raal 2015-10-16 11:46:20 UTC
This seems to have begun at the below commit.
Adding Cc: to tml@collabora.com ; Could you possibly take a look at this one? Thanks
 7f0371ad242095657660bb4862bcdfa4a28b4e2c is the first bad commit
commit 7f0371ad242095657660bb4862bcdfa4a28b4e2c
Author: Norbert Thiebaud <nthiebaud@gmail.com>
Date:   Tue Aug 11 23:27:51 2015 -0700

    source 4667db065d34193d99bce82f7e8f3b20a03ecade

    source 4667db065d34193d99bce82f7e8f3b20a03ecade

author	Tor Lillqvist <tml@collabora.com>	2015-08-12 05:18:50 (GMT)
committer	Tor Lillqvist <tml@collabora.com>	2015-08-12 06:14:20 (GMT)
commit 4667db065d34193d99bce82f7e8f3b20a03ecade (patch)
Drop SimpleWinLayout
Comment 4 Robinson Tryon (qubit) 2015-12-13 11:14:27 UTC Comment hidden (obsolete)
Comment 5 Marc PHILIPPE 2016-02-24 06:26:43 UTC
This bug affects the behaviour of bug 82604.
Comment 6 Björn Michaelsen 2016-03-26 10:56:07 UTC
see also bugs 94836, 95194: regressions caused by the same commit.
Comment 7 Xisco Faulí 2016-09-26 16:06:43 UTC
Adding Cc: to Tor Lillqvist
Comment 8 Xisco Faulí 2017-09-29 08:49:55 UTC Comment hidden (obsolete, spam)
Comment 9 Justin L 2022-02-10 11:43:31 UTC
This is marked as Windows only. I couldn't reproduce it with Ubuntu 20.04, so it really might just be Win-only. Please re-test with LO 7.3 or development dailies.
Comment 10 Buovjaga 2022-02-16 15:50:34 UTC
Not reproduced anymore.

Btw. in the example document you need to first change the language for the whole doc to English (USA) for autocorrect to work.

Version: 7.4.0.0.alpha0+ (x64) / LibreOffice Community
Build ID: 2bb10a827ac13d0caf009e8526ccd9f17dc71653
CPU threads: 2; OS: Windows 10.0 Build 19042; UI render: Skia/Raster; VCL: win
Locale: fi-FI (fi_FI); UI: en-US
Calc: threaded Jumbo