Bug 106639 - Irregular cursor traversal when text grid is lines-and-chars.
Summary: Irregular cursor traversal when text grid is lines-and-chars.
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
(earliest affected)
Inherited From OOo
Hardware: All All
: medium normal
Assignee: Not Assigned
Whiteboard: target:5.4.0
Depends on:
Blocks: Text-Grid
  Show dependency treegraph
Reported: 2017-03-19 09:41 UTC by Mark Hung
Modified: 2017-07-29 02:05 UTC (History)
1 user (show)

See Also:
Crash report or crash signature:

Test sample with text-grid set to lines-and-chars (19.04 KB, application/x-zip-compressed)
2017-03-19 09:41 UTC, Mark Hung

Note You need to log in before you can comment on or make changes to this bug.
Description Mark Hung 2017-03-19 09:41:35 UTC
Created attachment 132005 [details]
Test sample with text-grid set to lines-and-chars

1. Open the test sample in attached zip file. Both enabled text grid, one uses square page mode and the other doesn't.
2. Use left / right key to move the cursor, sometimes the cursor isn't placed between two characters.
3. Place the cursor between 6th and 7th characters, immediately before full-width comma (,), and type something, the inserted characters show up between 4th and 5th characters.
Comment 1 Xisco Faulí 2017-03-19 12:03:18 UTC
Confirmed in

- Version:
Build ID: d3b5bd4a07a619db6bee1c39c32280ac3c620532
CPU threads: 4; OS: Linux 4.8; UI render: default; VCL: gtk3; 
Locale: ca-ES (ca_ES.UTF-8); Calc: group

- Version (Build ID: efca6f15609322f62a35619619a6d5fe5c9bd5a)

-LibreOffice 3.3.0 
OOO330m19 (Build:6)
tag libreoffice-
Comment 2 Commit Notification 2017-04-15 11:50:20 UTC
Mark Hung committed a patch related to this issue.
It has been pushed to "master":


tdf#106639 Don't add space if Snap To Chars of text grid is effective.

It will be available in 5.4.0.

The patch should be included in the daily builds available at
http://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More
information about daily builds can be found at:

Affected users are encouraged to test the fix and report feedback.
Comment 3 Xisco Faulí 2017-06-09 09:58:03 UTC
Is this bug fixed?
If so, could you please close it as RESOLVED FIXED?