Summary: | FIND & REPLACE DIALOG: Write cannot find empty paragraphs in a table (== empty cells). | ||
---|---|---|---|
Product: | LibreOffice | Reporter: | Matthijs Melchior <mmelchior> |
Component: | Writer | Assignee: | Not Assigned <libreoffice-bugs> |
Status: | NEW --- | ||
Severity: | enhancement | CC: | buzea.bogdan, dgp-mail, erack, jluth, sberg.fun, vsfoote |
Priority: | medium | ||
Version: | Inherited From OOo | ||
Hardware: | All | ||
OS: | All | ||
See Also: |
https://bugs.documentfoundation.org/show_bug.cgi?id=34596 https://bugs.documentfoundation.org/show_bug.cgi?id=129449 https://bugs.documentfoundation.org/show_bug.cgi?id=130480 |
||
Whiteboard: | |||
Crash report or crash signature: | Regression By: | ||
Bug Depends on: | |||
Bug Blocks: | 102847 |
Description
Matthijs Melchior
2020-12-09 16:45:31 UTC
(In reply to Matthijs Melchior from comment #0) I confirm it with Version: 7.2.0.0.alpha0+ (x64) Build ID: 315c7570c4a72f4c834086082825533b1e50d1bf CPU threads: 4; OS: Windows 10.0 Build 19042; UI render: Skia/Raster; VCL: win Locale: de-DE (de_DE); UI: en-GB Calc: threaded and the following results (somethmes a little different): > 11. Find empty paragraphs: search for "^$" and click "Find All" > 12. Most of the empty paragraphs outside the table are marked. > 13. The last empty paragraphs before the table and before the end of > document are not marked * > 14. No cells in the table are marked I confirm that. > 15. Note "Find Next" works correctly I can't confirm. Same wrong result as "Find All" > and "Find Previous" moves to the begin of document I confirm that. > 19. The non-empty paragraphs and the last empty one in the table are > selected Different result: All cells with a "x" and last empty cell are selected. > 20. Click "Find Next" and the first empty paragraph in the document is > selected I confirm it. > 21. Close Find dialogue > 22. Select the whole table > 23. Click "Find and Replace" > 24. Click “Find All” > 25. Note: non-empty cells and the last cell is selected I confirm it (same result as after step 20) > 26. Click “Find All” > 27. Now the last two paragraphs of the table are selected I confirm it Nothing new here. The "^$" or "$^" 'regex' matches are not defined in the ICU libs and are coded as needed. For Writer that is in findtxt.cxx with the 'bChkEmptyPara' tests. Seems like the 'EMPTY' values of sw Table cells are not treated in similar fashion during "^$" or "$^" regex finds of empty paragraphs. If possible, seems an overdue enhancement to make our regex finds of empty elements consistent. |