[upstream] Search and replace, with tracked changes on, changing only format of text, causes Writer to hang
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
LibreOffice |
Confirmed
|
Medium
|
|||
libreoffice (Ubuntu) |
Triaged
|
Undecided
|
Unassigned |
Bug Description
Create new text document with contents "Hello, World".
Turn on change tracking (under Edit).
Select Find and Replace (under Edit).
Put "Hello" (no quotes) in both the find and the replace boxes.
Click on "More".
Put cursor in Replace box.
Click on Format.
Set it to, say Italic (leave other options empty). Accept.
And now, for the fatal part: Click "Replace all".
If you just replace one, you'll see why the latter fails. The replacement value gets inserted beofre the original, so then it continues on and sees the original again... ad infinitum.
What should happen: If it just put its position after the original text when searching and replacing, it wouldn't have this problem.
ProblemType: Bug
DistroRelease: Ubuntu 12.10
Package: libreoffice (not installed)
ProcVersionSign
Uname: Linux 3.5.0-23-generic x86_64
ApportVersion: 2.6.1-0ubuntu10
Architecture: amd64
Date: Fri Feb 15 21:37:14 2013
InstallationDate: Installed on 2012-12-13 (65 days ago)
InstallationMedia: Ubuntu 12.10 "Quantal Quetzal" - Release amd64 (20121017.5)
MarkForUpload: True
SourcePackage: libreoffice
UpgradeStatus: No upgrade log present (probably fresh install)
Changed in libreoffice (Ubuntu): | |
status: | New → Incomplete |
Changed in libreoffice (Ubuntu): | |
status: | Incomplete → Opinion |
status: | Opinion → Incomplete |
status: | Incomplete → New |
Changed in libreoffice (Ubuntu): | |
status: | Incomplete → Invalid |
Changed in df-libreoffice: | |
importance: | Unknown → Medium |
status: | Unknown → Confirmed |
Changed in libreoffice (Ubuntu): | |
status: | Confirmed → Triaged |
Changed in df-libreoffice: | |
importance: | Medium → Unknown |
status: | Confirmed → Unknown |
Changed in libreoffice (Ubuntu): | |
status: | Triaged → Fix Released |
status: | Fix Released → Triaged |
summary: |
- Search and replace, with tracked changes on, changing only format of - text, causes Writer to hang + [upstream] Search and replace, with tracked changes on, changing only + format of text, causes Writer to hang |
Changed in df-libreoffice: | |
importance: | Unknown → Medium |
status: | Unknown → Confirmed |
If you turn on recording and showing changes in document find and replace will replace even things already deleted. Example:
1. Create new document.
2. Write "This is a document".
3. Turn on showing and recording changes.
4. Delete the word "document" so you have "This is a".
5. Replace document with "file".
6. The document will contain: "This is a file." instead of "This is a".