Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Calibre > Editor

Notices

Reply
 
Thread Tools Search this Thread
Old 01-03-2016, 10:01 PM   #1
MerlinMama
Evangelist
MerlinMama does all things with Zen-like beautyMerlinMama does all things with Zen-like beautyMerlinMama does all things with Zen-like beautyMerlinMama does all things with Zen-like beautyMerlinMama does all things with Zen-like beautyMerlinMama does all things with Zen-like beautyMerlinMama does all things with Zen-like beautyMerlinMama does all things with Zen-like beautyMerlinMama does all things with Zen-like beautyMerlinMama does all things with Zen-like beautyMerlinMama does all things with Zen-like beauty
 
MerlinMama's Avatar
 
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?
MerlinMama is offline   Reply With Quote
Old 01-03-2016, 10:13 PM   #2
theducks
Well trained by Cats
theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.
 
theducks's Avatar
 
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
theducks is offline   Reply With Quote
Advert
Old 01-04-2016, 05:54 AM   #3
MerlinMama
Evangelist
MerlinMama does all things with Zen-like beautyMerlinMama does all things with Zen-like beautyMerlinMama does all things with Zen-like beautyMerlinMama does all things with Zen-like beautyMerlinMama does all things with Zen-like beautyMerlinMama does all things with Zen-like beautyMerlinMama does all things with Zen-like beautyMerlinMama does all things with Zen-like beautyMerlinMama does all things with Zen-like beautyMerlinMama does all things with Zen-like beautyMerlinMama does all things with Zen-like beauty
 
MerlinMama's Avatar
 
Posts: 498
Karma: 32554
Join Date: May 2014
Location: Canada
Device: Kobo Sage
Quote:
Originally Posted by theducks View Post
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
Thanks so much for answering.

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.
MerlinMama is offline   Reply With Quote
Old 01-04-2016, 07:20 AM   #4
kovidgoyal
creator of calibre
kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.
 
kovidgoyal's Avatar
 
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.
kovidgoyal is offline   Reply With Quote
Old 01-04-2016, 08:31 AM   #5
MerlinMama
Evangelist
MerlinMama does all things with Zen-like beautyMerlinMama does all things with Zen-like beautyMerlinMama does all things with Zen-like beautyMerlinMama does all things with Zen-like beautyMerlinMama does all things with Zen-like beautyMerlinMama does all things with Zen-like beautyMerlinMama does all things with Zen-like beautyMerlinMama does all things with Zen-like beautyMerlinMama does all things with Zen-like beautyMerlinMama does all things with Zen-like beautyMerlinMama does all things with Zen-like beauty
 
MerlinMama's Avatar
 
Posts: 498
Karma: 32554
Join Date: May 2014
Location: Canada
Device: Kobo Sage
Quote:
Originally Posted by kovidgoyal View Post
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.
Just a few minutes ago (I've been taking careful note, to try and find a pattern):
  • Epub 1 - I was editing something and had it at 'Regex-Function' and 'All Text Files'. Save and close epub with search panel left open.
  • Epub 2 - Search panel is closed, opens with 'Normal' and 'All Text Files'. Did a S&R without changing the settings. Save and close epub with search panel still open.
  • Epub 3 - Search panel open with 'Regex-Function' and 'Current File'.
  • Next 2 Epubs - Open exactly as previous epub closed.

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.
MerlinMama is offline   Reply With Quote
Advert
Old 01-04-2016, 08:43 AM   #6
kovidgoyal
creator of calibre
kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.
 
kovidgoyal's Avatar
 
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.
kovidgoyal is offline   Reply With Quote
Old 01-04-2016, 09:20 AM   #7
theducks
Well trained by Cats
theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.
 
theducks's Avatar
 
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)
theducks is offline   Reply With Quote
Old 01-04-2016, 10:18 AM   #8
Thom*
The Fumbler
Thom* began at the beginning.
 
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.
Thom* is offline   Reply With Quote
Old 01-04-2016, 12:08 PM   #9
theducks
Well trained by Cats
theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.
 
theducks's Avatar
 
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:
Originally Posted by Thom* View Post
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.
Editor default saves are per session, not book
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
theducks is offline   Reply With Quote
Old 01-04-2016, 09:08 PM   #10
MerlinMama
Evangelist
MerlinMama does all things with Zen-like beautyMerlinMama does all things with Zen-like beautyMerlinMama does all things with Zen-like beautyMerlinMama does all things with Zen-like beautyMerlinMama does all things with Zen-like beautyMerlinMama does all things with Zen-like beautyMerlinMama does all things with Zen-like beautyMerlinMama does all things with Zen-like beautyMerlinMama does all things with Zen-like beautyMerlinMama does all things with Zen-like beautyMerlinMama does all things with Zen-like beauty
 
MerlinMama's Avatar
 
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?
MerlinMama is offline   Reply With Quote
Old 01-04-2016, 09:11 PM   #11
PeterT
Grand Sorcerer
PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.
 
Posts: 13,511
Karma: 78910202
Join Date: Nov 2007
Location: Toronto
Device: Libra H2O, Libra Colour
ABEND -- Abnormal End -- Editor crashes
PeterT is offline   Reply With Quote
Old 01-04-2016, 09:15 PM   #12
eschwartz
Ex-Helpdesk Junkie
eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.
 
eschwartz's Avatar
 
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
eschwartz is offline   Reply With Quote
Old 01-05-2016, 05:43 PM   #13
MerlinMama
Evangelist
MerlinMama does all things with Zen-like beautyMerlinMama does all things with Zen-like beautyMerlinMama does all things with Zen-like beautyMerlinMama does all things with Zen-like beautyMerlinMama does all things with Zen-like beautyMerlinMama does all things with Zen-like beautyMerlinMama does all things with Zen-like beautyMerlinMama does all things with Zen-like beautyMerlinMama does all things with Zen-like beautyMerlinMama does all things with Zen-like beautyMerlinMama does all things with Zen-like beauty
 
MerlinMama's Avatar
 
Posts: 498
Karma: 32554
Join Date: May 2014
Location: Canada
Device: Kobo Sage
Thanks
MerlinMama is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
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


All times are GMT -4. The time now is 07:16 AM.


MobileRead.com is a privately owned, operated and funded community.