Bug 87328 - References are not searchable
Summary: References are not searchable
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version: 4.3.4.1 release
Hardware: Other All
: medium enhancement
Assignee: Not Assigned
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-12-15 13:29 UTC by Darius Daniel Grigoras
Modified: 2014-12-20 08:48 UTC (History)
1 user (show)

See Also:
i915 platform:
i915 features:


Attachments
Sample document with field reference to heading (22.73 KB, application/vnd.oasis.opendocument.text)
2014-12-16 19:21 UTC, Darius Daniel Grigoras
Details

Description Darius Daniel Grigoras 2014-12-15 13:29:24 UTC
I noticed a while ago that references, which are fields, are not searchable. It would be very useful to make them searchable.
Comment 1 Beluga 2014-12-16 12:42:26 UTC
Can you give steps to reproduce? Set to UNCONFIRMED after you have given the steps.
Comment 2 Darius Daniel Grigoras 2014-12-16 15:55:37 UTC
(In reply to Beluga from comment #1)
> Can you give steps to reproduce? Set to UNCONFIRMED after you have given the
> steps.

Well, I have references in a summary table that point to the headings of the details sections.
I have created these in the following way: Ctrl+F2 -> Cross-reference -> Heading.
These headings and their references are actually register names. When I search for a register name, it is only found as a heading, while the reference itself, which is a field, is not included in the results.
Comment 3 Beluga 2014-12-16 16:18:11 UTC
Ok thanks. I don't understand the final two sentences, but maybe someone else will.
Comment 4 Darius Daniel Grigoras 2014-12-16 16:25:59 UTC
(In reply to Beluga from comment #3)
> Ok thanks. I don't understand the final two sentences, but maybe someone
> else will.

I guess then that a youtube video would help :), but I'm dealing with confidential information.
Comment 5 Beluga 2014-12-16 18:58:55 UTC
(In reply to Darius Daniel Grigoras from comment #4)
> (In reply to Beluga from comment #3)
> > Ok thanks. I don't understand the final two sentences, but maybe someone
> > else will.
> 
> I guess then that a youtube video would help :), but I'm dealing with
> confidential information.

For stripping confidential info you can try this: https://wiki.documentfoundation.org/QA/BugReport/Attachments#Confidential_Attachments

Maybe you could prepare a document quickly with the help of that macro and attach it here.
Comment 6 Darius Daniel Grigoras 2014-12-16 19:21:49 UTC
Created attachment 110923 [details]
Sample document with field reference to heading
Comment 7 Darius Daniel Grigoras 2014-12-16 19:25:13 UTC
(In reply to Darius Daniel Grigoras from comment #6)
> Created attachment 110923 [details]
> Sample document with field reference to heading

No need for the macro.
I've made a sample document which could have been easily prepared by support.
Try searching for "Lorem ipsum". You will see that despite "Lorem ipsum" appearing twice in the document, the Search function will only return the text in the heading, and not also the text that is found in the paragraph under the heading, and that because the "Lorem ipsum" in the paragraph is a reference, i.e. a field.
I really need LibreOffice to find text no matter if that text is plain text or a field.
Comment 8 Beluga 2014-12-17 07:44:27 UTC
Thanks, I confirmed. Let's set this to an enhancement.

Win 7 64-bit Version: 4.5.0.0.alpha0+
Build ID: 170616e9f2d30c1302bbb5a7a4b588bc05cd5cc9
TinderBox: Win-x86@39, Branch:master, Time: 2014-12-12_01:58:46
Comment 9 Darius Daniel Grigoras 2014-12-17 08:13:08 UTC
(In reply to Beluga from comment #8)
> Thanks, I confirmed. Let's set this to an enhancement.
> 
> Win 7 64-bit Version: 4.5.0.0.alpha0+
> Build ID: 170616e9f2d30c1302bbb5a7a4b588bc05cd5cc9
> TinderBox: Win-x86@39, Branch:master, Time: 2014-12-12_01:58:46

Great! I guess then that this is my first confirmed LibreOffice bug. I filed others too, but so far nobody confirmed them.
Comment 10 Darius Daniel Grigoras 2014-12-20 08:48:32 UTC
(In reply to Beluga from comment #5)
> (In reply to Darius Daniel Grigoras from comment #4)
> > (In reply to Beluga from comment #3)
> > > Ok thanks. I don't understand the final two sentences, but maybe someone
> > > else will.
> > 
> > I guess then that a youtube video would help :), but I'm dealing with
> > confidential information.
> 
> For stripping confidential info you can try this:
> https://wiki.documentfoundation.org/QA/BugReport/
> Attachments#Confidential_Attachments
> 
> Maybe you could prepare a document quickly with the help of that macro and
> attach it here.

BTW, that Confidential Data Stripping Macro does not remove/replace confidential images/diagrams.


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.