Bug in "search=" command-line option: doesn't clear "this exact phrase" field

Forum for the PDF-XChange Editor - Free and Licensed Versions

Moderators: PDF-XChange Support, Daniel - PDF-XChange, Chris - PDF-XChange, Sean - PDF-XChange, Paul - PDF-XChange, Vasyl - PDF-XChange, Ivan - Tracker Software, Stefan - PDF-XChange

m.rison
User
Posts: 20
Joined: Sat Oct 04, 2025 9:28 am

Bug in "search=" command-line option: doesn't clear "this exact phrase" field

Post by m.rison »

I think there's a bug in the /a "search=whatever" command-line option: it doesn't clear the "this exact phrase" field, so if you happen to have something there the search will (probably) fail. Oddly enough it does clear the "all of these words" and "none of these words" fields!

Here is an example, with the command-line option above, where as it says the fields all originally contained "I had this in all four fields":

image.png
You do not have the required permissions to view the files attached to this post.
User avatar
Dimitar - PDF-XChange
Site Admin
Posts: 2608
Joined: Mon Jan 15, 2018 9:01 am

Re: Bug in "search=" command-line option: doesn't clear "this exact phrase" field

Post by Dimitar - PDF-XChange »

Hello m.rison,

May I ask which version is your PDF Editor as well as a copy of the entire command line you use?

Regards.
m.rison
User
Posts: 20
Joined: Sat Oct 04, 2025 9:28 am

Re: Bug in "search=" command-line option: doesn't clear "this exact phrase" field

Post by m.rison »

I am currently on 10.1.3/383/2023-11-14 (hm, maybe I should update!).

The command line is PDFXEdit.exe /a "search=whatever" file.pdf
User avatar
Daniel - PDF-XChange
Site Admin
Posts: 11888
Joined: Wed Jan 03, 2018 6:52 pm

Re: Bug in "search=" command-line option: doesn't clear "this exact phrase" field

Post by Daniel - PDF-XChange »

Hello, m.rison

Thank you for that, I was able to reproduce this issue and have passed it along to the Dev team for review and hopefully a swift resolution.

Kind regards,
Dan McIntyre - Support Technician
PDF-XChange Co. LTD

+++++++++++++++++++++++++++++++++++
Our Web site domain and email address has changed as of 26/10/2023.
https://www.pdf-xchange.com
Support@pdf-xchange.com
m.rison
User
Posts: 20
Joined: Sat Oct 04, 2025 9:28 am

Re: Bug in "search=" command-line option: doesn't clear "this exact phrase" field

Post by m.rison »

Is there any update, please?
User avatar
Daniel - PDF-XChange
Site Admin
Posts: 11888
Joined: Wed Jan 03, 2018 6:52 pm

Re: Bug in "search=" command-line option: doesn't clear "this exact phrase" field

Post by Daniel - PDF-XChange »

Hello, m.rison

We have just had a long weekend here (Canadian Thanksgiving) and our Dev team is both quite small, and quite busy, so I am sorry to say we have not yet seen a response on this topic, and it may yet take some time to hear from them.

At most, a response from the dev team will amount to acknowledging they can see the issue locally, or requesting my assistance in reproducing it, since I am personally able to do so locally.
Any fix that may come will need to wait for a future release, so we will still be looking at a few weeks, if not months, after we do see a reply from them before any changes are in your hands.

Kind regards,
Dan McIntyre - Support Technician
PDF-XChange Co. LTD

+++++++++++++++++++++++++++++++++++
Our Web site domain and email address has changed as of 26/10/2023.
https://www.pdf-xchange.com
Support@pdf-xchange.com