MobileRead Forums

MobileRead Forums (https://www.mobileread.com/forums/index.php)
-   Library Management (https://www.mobileread.com/forums/forumdisplay.php?f=236)
-   -   How to clear the search history in the ebook viewer? (https://www.mobileread.com/forums/showthread.php?t=326559)

willboliva 01-14-2020 05:38 PM

How to clear the search history in the ebook viewer?
 
The answers in old threads with this question say that in the Preferences button in the viewer and under Miscellaneous there is a button to clear search history, but this function seems to be missing in the current Calibre version.

BetterRed 01-14-2020 05:51 PM

I don't recall the V4 viewer ever having a clear search history function. Took me a while to realise it even kept any search history :o

FWIW: they're in the "search-bar-history-search-in-book" section of viewer-webengine.json.

BR

willboliva 01-14-2020 06:17 PM

Quote:

Originally Posted by BetterRed (Post 3941356)
I don't recall the V4 viewer ever having a clear search history function. Took me a while to realise it even kept any search history :o

FWIW: they're in the "search-bar-history-search-in-book" section of viewer-webengine.json.

BR

Thanks! Deleting the json file did it.

BetterRed 01-14-2020 06:24 PM

If you deleted the file you would have lost many other settings. My hint was intended to suggest you remove a specific section.

BR

willboliva 01-14-2020 06:32 PM

Quote:

Originally Posted by BetterRed (Post 3941372)
If you deleted the file you would have lost many other settings. My hint was intended to suggest you remove a specific section.

BR

Oh crap... can you tell what settings I lost, please?

BetterRed 01-14-2020 07:28 PM

1 Attachment(s)
Not precisely. If you have a backup of your user folder then you can restore the file from there?

This is my viewer-webengine.json, the white lines are where I've collapsed the irrelevant details

Attachment 176397

Tip: in future instead of blithely deleting application control files, rename them to something like viewer-webengine.json.save.

BR

Ripplinger 04-24-2020 09:49 AM

I know I'm bringing up an old thread, but the way I edit books and check them, I use the search function often. Starting a new book and having to scroll through all the searches gets too cumbersome, so I always clear the search when starting a new book. Before it was a simple thing, go into Miscellaneous options and clear the history. Now I have to go in and edit a file, which I'd really not have to do constantly.

Also Editing the viewer-webengine.json file didn't work. I did find though that editing the search words out of the history.plist file did the trick. But still, having to constantly edit the files gets old fast.

Is there any chance of bringing back the setting to clear the search history within the GUI like it was?

kovidgoyal 04-24-2020 10:56 AM

Right click on the search field and select Clear search history

Ripplinger 04-24-2020 12:51 PM

Thank you! I swear I looked everywhere for any documentation about such a feature.

Thank you again.

willboliva 05-09-2020 03:27 PM

Quote:

Originally Posted by kovidgoyal (Post 3980236)
Right click on the search field and select Clear search history

Thanks. What about the Search table of Contents?

kovidgoyal 05-10-2020 01:21 AM

Same way, in next release.


All times are GMT -4. The time now is 10:15 PM.

Powered by: vBulletin
Copyright ©2000 - 3.8.5, Jelsoft Enterprises Ltd.
MobileRead.com is a privately owned, operated and funded community.