Bug 165264 - Preview window in Recoll not wrapping text completely
Summary: Preview window in Recoll not wrapping text completely
Status: RESOLVED INVALID
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: LibreOffice (show other bugs)
Version:
(earliest affected)
25.2.0.3 release
Hardware: ARM macOS (All)
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2025-02-15 18:45 UTC by slferris2@gmail.com
Modified: 2025-10-28 20:11 UTC (History)
1 user (show)

See Also:
Crash report or crash signature:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description slferris2@gmail.com 2025-02-15 18:45:06 UTC
Description:
I am using LibreOffice in conjunction with recoll for converting and indexing files. In at least one instance, indexing a long Apple Pages document, the Preview panel stops wrapping text after a number of pages are displayed in the Preview panel. This makes reading the contents of Preview very difficult. The recoll developer, Jean-Francois Dockes, claims the Preview screen is controlled by LibreOffice and not by his product.

Steps to Reproduce:
1.start recoll
2.search for words in recoll results
3.in recoll results click Preview
4.click Next

Actual Results:
Pages document selected shows in Preview, but wrapped text stops part way through, making the remainder of the text extend far beyond the edge of the Preview panel on a single line instead of wrapping text as in the first part of the Preview display.

Expected Results:
Text wrap for entire Preview display.


Reproducible: Always


User Profile Reset: Yes

Additional Info:
Text wrapped the entire Preview display.
Comment 1 slferris2@gmail.com 2025-02-22 03:07:02 UTC
One other problem with the Preview window is when it opens a document presented by recoll, it is very dark and very difficult to read. This seems to have nothing to do with selecting the macOS system setting for a dark appearance.
Comment 2 Buovjaga 2025-10-28 20:11:28 UTC
(In reply to slferris2@gmail.com from comment #0)
> Description:
> I am using LibreOffice in conjunction with recoll for converting and
> indexing files. In at least one instance, indexing a long Apple Pages
> document, the Preview panel stops wrapping text after a number of pages are
> displayed in the Preview panel. This makes reading the contents of Preview
> very difficult. The recoll developer, Jean-Francois Dockes, claims the
> Preview screen is controlled by LibreOffice and not by his product.

I found the original feature request: https://framagit.org/medoc92/recoll/-/issues/309

The commit adding Pages support to Recoll: https://framagit.org/medoc92/recoll/-/commit/1e02bb6dd94df9a74d20fd45b12b8b8b6af4997b

The current source code files:
https://framagit.org/medoc92/recoll/-/blob/master/src/filters/rclpages.py
https://framagit.org/medoc92/recoll/-/blob/master/src/filters/rclrunsoffice.py

I don't see anything there about using LibreOffice itself to display a preview. I assume there is a misunderstanding here. Recoll indexes documents. In this case, it uses LibreOffice to convert Pages documents to HTML and then indexes the generated files. LibreOffice exits the picture after the conversion. The preview is the responsibility of Recoll itself.

Docs for the preview window: https://www.recoll.org/usermanual/webhelp/docs/RCL.SEARCH.GUI.PREVIEW.html

The preview code is in this directory under names starting with "preview": https://framagit.org/medoc92/recoll/-/tree/master/src/qtgui

Nothing there about LibreOffice, just Qt toolkit's web view.