![]() |
#1 |
Evangelist
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 498
Karma: 32554
Join Date: May 2014
Location: Canada
Device: Kobo Sage
|
Search Panel Default
Can someone confirm for me where the default for the search panel is located?
I always have it open, and yet sometimes -- about half the time it seems -- I open an epub and find it is closed. Other times, I'll open a series of epubs, and in one it opens as 'search all text files' and the next one, even though I know I haven't changed it, it opens as 'search current file' I could understand if I did a current file search before closing one epub and opening another, but that is not the case 90% of the time. Sometimes when I know I did current file, the next one opens as all text. There seems to be no rhyme or reason to what goes on with that. This has always occurred, even when for other reasons I've needed to replace the 'tweak_book_gui.json' file, so I'm guessing the default might be saved elsewhere? Any suggestions or help? |
![]() |
![]() |
![]() |
#2 |
Well trained by Cats
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 31,054
Karma: 60358908
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
|
The default for windows is the 'last used' state.
Just (select text) ctrl-F and it will open if closed (saved state) confusion can happen if you have 2 instances of the editor open |
![]() |
![]() |
Advert | |
|
![]() |
#3 | |
Evangelist
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 498
Karma: 32554
Join Date: May 2014
Location: Canada
Device: Kobo Sage
|
Quote:
I thought 'last used' was the default, so it's slightly annoying when you close an epub, open the next one, and it's completely different. Unless the default is 'last used' for that particular epub instead of 'last used' in general? If it is last used for a particular epub, I'd personally like that changed... I won't say I never have 2 instances open, but it is incredibly rare, so I don't think that is a cause for me. |
|
![]() |
![]() |
![]() |
#4 |
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,347
Karma: 27182818
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
last used is the default. And the steps you describe:
open book, opens search panel, close editor, open next book results in the search panel remaining open with the previously used settings for me. |
![]() |
![]() |
![]() |
#5 | |
Evangelist
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 498
Karma: 32554
Join Date: May 2014
Location: Canada
Device: Kobo Sage
|
Quote:
There seems to be no constant behavior. For a while it seems to be as it last closed, but quite often, especially when working on a string of epubs in a row (mainly older ones that I'm just bringing up to my current preferences), it seems all over the place. |
|
![]() |
![]() |
Advert | |
|
![]() |
#6 |
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,347
Karma: 27182818
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
Well all I can tell you is that there are no calls to random() in the code to save and restore state, see https://github.com/kovidgoyal/calibr...search.py#L422
If you can find some set of circumstances that reliably reproduce the behavior, I will be happy to investigate further. |
![]() |
![]() |
![]() |
#7 |
Well trained by Cats
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 31,054
Karma: 60358908
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
|
Where is your Calibre Config folder?
By any chance is that also connected to a Cloud (and not in a shadow only mode) |
![]() |
![]() |
![]() |
#8 |
The Fumbler
![]() Posts: 66
Karma: 10
Join Date: Jun 2015
Device: android 4.2/fbreader
|
I think that the default status of the search window is last used, but FOR THAT BOOK.
If you save book1.epub with the search window open, then it will be open when you next open that book. If you save book2.epub with the search window closed, then it will be closed when you next open that book. At least that is the way mine seems to work. |
![]() |
![]() |
![]() |
#9 | |
Well trained by Cats
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 31,054
Karma: 60358908
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
|
Quote:
with 2 sessions and only 1 save location, things can get screwy BTW the save happens on a NORMAL close. If you ABEND the editor...No save. also, a Search that is never used (filled the box, but never searched for) does not get saved |
|
![]() |
![]() |
![]() |
#10 |
Evangelist
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 498
Karma: 32554
Join Date: May 2014
Location: Canada
Device: Kobo Sage
|
Sorry, what is ABEND? I always save and then hit the X (I had to actually open an editor window to see, because I do it so automatically).
Would that mess up the defaults? |
![]() |
![]() |
![]() |
#11 |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 13,511
Karma: 78910202
Join Date: Nov 2007
Location: Toronto
Device: Libra H2O, Libra Colour
|
ABEND -- Abnormal End -- Editor crashes
|
![]() |
![]() |
![]() |
#12 |
Ex-Helpdesk Junkie
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 19,421
Karma: 85400180
Join Date: Nov 2012
Location: The Beaten Path, USA, Roundworld, This Side of Infinity
Device: Kindle Touch fw5.3.7 (Wifi only)
|
ABnormal END.
Program crash/SIGKILL Means the program terminated in a way that did not allow it to perform any shutdown procedures. For example Task Manager ==> End Now |
![]() |
![]() |
![]() |
#13 |
Evangelist
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 498
Karma: 32554
Join Date: May 2014
Location: Canada
Device: Kobo Sage
|
Thanks
|
![]() |
![]() |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
author search in book details panel | mobic | Library Management | 3 | 11-26-2015 10:50 AM |
Search in Library as default | valris | Kobo Reader | 2 | 10-26-2014 08:15 PM |
Kobo Search - Default to Library | Chris_Snow | Kobo Reader | 4 | 07-19-2014 10:11 PM |
Aura HD Have search default to library, not bookstore | Nick Payne | Kobo Reader | 3 | 06-20-2014 03:22 AM |
Default Search results | bigbird1227 | Library Management | 1 | 02-03-2014 10:14 AM |