https://bugs.freedesktop.org/show_bug.cgi?id=62398
Priority: medium
Bug ID: 62398
Assignee: [email protected]
Summary: FILESAVE: Cursor saved six characters to the left when
document is reopened
Severity: minor
Classification: Unclassified
OS: Windows (All)
Reporter: [email protected]
Hardware: x86 (IA32)
Status: UNCONFIRMED
Version: 4.0.1.2 release
Component: Writer
Product: LibreOffice
Using LibreOffice v4.0.1.2 on Windows XP. I would like to preserve the cursor
position when document is saved and reopened. I have noticed that cursor is
preserved in correct line, but it is placed exactly 6 characters to the left
instead of the real save position.
Steps to reproduce
1. Open Writer new document.
2. Tools | Options | LibreOffice | User Data. Make sure First/Last name fields
are filed in.
Note: If this data fields are empty then LibreOffice does not remember cursor
position on save. This is correct behavior, because LibreOffice remembers
cursor position by user - so if multiple user are editing the same document
each gets opened at the position he/she saved the file. If fields (user
ownership data) are empty then LibreOffice does not know if each of the save
was performed by the same user. To reduce confusion it just opens at the first
character in first line.
3. Now type in (or copy bellow) some text like:
987654321AA123456789
987654321BB123456789
987654321CC123456789
4. Place the cursor between BB characters (line 2) and save the document using
ODF format.
5. Close document.
6. Reopen document.
Problem appears: What you can notice is that cursor is opened in line 2 between
number 6 and 5. So cursor was remembered exactly 6 characters to the left.
Expected is to reopen at the position that was saved so between BB characters.
What works: It correctly reopens at the line it was saved, but it incorrectly
reopens at exact cursor position inside line.
Additional tests:
You can test the same saving inside AA or CC, save, reopen document and you
will see the cursor is remembered 6 characters to the left in every row you
save. The only exception is if cursor is placed before 6 character in the line.
For example put cursor inside 8 and 7 in third line and save/reopen the
document. If cursor is placed before 6 character in the line it is opened at
position 1 in saved line. So correct line, but incorrect character position in
line.
--
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Libreoffice-bugs mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs