Bug 82718 - Ranged comments in Writer silently break when deleting from the beginning of the string
Summary: Ranged comments in Writer silently break when deleting from the beginning of ...
Status: NEEDINFO
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version: 4.2.6.2 release
Hardware: Other All
: medium major
Assignee: Not Assigned
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-08-17 01:48 UTC by Jean-François Fortin Tam
Modified: 2014-11-12 10:41 UTC (History)
1 user (show)

See Also:
i915 platform:
i915 features:


Attachments
screencast no1 (2.60 MB, video/webm)
2014-08-17 01:49 UTC, Jean-François Fortin Tam
Details
screencast no2 (900.99 KB, video/webm)
2014-08-17 01:49 UTC, Jean-François Fortin Tam
Details
sample document (10.34 KB, application/vnd.oasis.opendocument.text)
2014-08-17 01:51 UTC, Jean-François Fortin Tam
Details
sample broken resulting document (9.96 KB, application/vnd.oasis.opendocument.text)
2014-08-17 01:51 UTC, Jean-François Fortin Tam
Details

Description Jean-François Fortin Tam 2014-08-17 01:48:27 UTC
This is really tricky to explain so I'm attaching screencasts, but basically if you press the Delete key in front of the first character of a ranged comment, it will silently delete the comment but not show you that it did in the UI, until you reopen the saved document and find a "phantom" comment. Pretty big deal as it is unexpected data loss.

It should either clearly delete the comment immediately (and thus allow me to undo that) or not ever delete the comment, just convert it to a non-ranged comment (which in turn can be deleted if you really want to).
Comment 1 Jean-François Fortin Tam 2014-08-17 01:49:21 UTC
Created attachment 104744 [details]
screencast no1
Comment 2 Jean-François Fortin Tam 2014-08-17 01:49:58 UTC
Created attachment 104745 [details]
screencast no2
Comment 3 Jean-François Fortin Tam 2014-08-17 01:51:02 UTC
Created attachment 104746 [details]
sample document
Comment 4 Jean-François Fortin Tam 2014-08-17 01:51:20 UTC
Created attachment 104747 [details]
sample broken resulting document
Comment 5 Beluga 2014-11-12 10:41:16 UTC
I can't reproduce "le bork" on Win 7 or Ubuntu. Even the attached supposedly broken document has the comments preserved!
Note: contrary to the screencast, if I press left arrow twice at the "i" of ipsum, I go to Lorem and do not stay put.

Can you test with 4.3.x and report here? If it works ok, change to RESOLVED WORKSFORME.

Win 7 64-bit Version: 4.4.0.0.alpha2+
Build ID: b021b5983c62e266b82d9f0c5c6d8d8900553827
TinderBox: Win-x86@42, Branch:master, Time: 2014-11-12_00:19:18

Ubuntu 14.10 64-bit Version: 4.4.0.0.alpha2+
Build ID: 1c526c9ddda5d52f7a4db5655a4ec60b8c62835c
TinderBox: Linux-rpm_deb-x86_64@46-TDF-dbg, Branch:master, Time: 2014-11-11_23:20:41


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.