11-17-2014, 12:28 AM | #91 |
Grand Sorcerer
Posts: 6,233
Karma: 11768331
Join Date: Jun 2009
Location: Madrid, Spain
Device: Kobo Clara/Aura One/Forma,XiaoMI 5, iPad, Huawei MediaPad, YotaPhone 2
|
It has worked for me now, thank you very much.
|
11-17-2014, 12:40 AM | #92 | |
null operator (he/him)
Posts: 20,567
Karma: 26954694
Join Date: Mar 2012
Location: Sydney Australia
Device: none
|
Quote:
BR |
|
Advert | |
|
02-12-2015, 10:12 AM | #93 |
Evangelist
Posts: 435
Karma: 572984
Join Date: Jan 2010
Location: Long Island
Device: Kobo Libra 2, Kindle 4, Nook Gl4, Nook STR, REB 1100, Ebookwise 1500,
|
Has anyone had issues with View Manager not implementing search restrictions while using Calibre 2.19? I use Calibre Portable on a Win7 Pro 64-bit machine and up until 2.19 I had no issues. But since I upgraded to 2.19 it won't implement the search restrictions - either as a basic search or as a virtual library. I have to manually select the virtual library/search myself every time I choose a new View. It's quite frustrating.
|
02-12-2015, 03:46 PM | #94 | |
null operator (he/him)
Posts: 20,567
Karma: 26954694
Join Date: Mar 2012
Location: Sydney Australia
Device: none
|
Quote:
However, after installing V2.19 a kb shortcut I had set up for one of my Views, which I use very frequently, stopped working. It had been 'taken over' by a new kb shortcut provided in the QuickView (QV) enhancements... quote:Version 2.19 "Quick view window: Allow the quickview window to be docked into the main calibre window.". I fixed it by removing the new QV kb shortcut and restoring my VM shortcut. Aside : I wish calibre wouldn't do that, it's happened a couple of times recently. I was under the impression the unified kb shortcut mechanism was supposed to prevent it happening. Maybe the QV changes are the cause of your problems. You can see the QV related changes at ==>> Commits · kovidgoyal/calibre. They're easy to spot as they have cbhaleys icon, I think the first QV related commit was on Feb 1. The VM settings are stored in the library metadata.db files, you can see what's there in the corresponding metadata_db_prefs_backup.json files. I recall having a problem with VM (though I can't recall precisely what) that I fixed by removing the relevant entries in the json file, rebuilding the database via Library Maintenance->Restore database and then recreating the VM settings for that library. BR |
|
02-12-2015, 06:24 PM | #95 |
Evangelist
Posts: 435
Karma: 572984
Join Date: Jan 2010
Location: Long Island
Device: Kobo Libra 2, Kindle 4, Nook Gl4, Nook STR, REB 1100, Ebookwise 1500,
|
@BetterRed - I took a look at the QV changes but honestly I didn't really understand what they actually meant so no idea if they're the cause of the sudden change.
I will take a look at the json file when I get home tonight and see if there's anything there that jumps out at as being the culprit. Question, would running the Restore Database from the command line be faster and/or less prone to the dreaded Not Responding? |
Advert | |
|
02-12-2015, 08:42 PM | #96 |
Ex-Helpdesk Junkie
Posts: 19,422
Karma: 85397180
Join Date: Nov 2012
Location: The Beaten Path, USA, Roundworld, This Side of Infinity
Device: Kindle Touch fw5.3.7 (Wifi only)
|
Probably, because it won't have to render a GUI as well.
Although it won't show progress. |
02-12-2015, 08:44 PM | #97 | ||
null operator (he/him)
Posts: 20,567
Karma: 26954694
Join Date: Mar 2012
Location: Sydney Australia
Device: none
|
Quote:
Quote:
Suggestion: If the database rebuild doesn't solve the problem, install another edition (portable, 32bit whatever) for Version 2.18 and see if you get the same problems. If you don't then it would cast suspicion back on 2.19, but apart from QV (which isn't immediately obvious as a culprit either - aside from the fact that it nicked my ctrl/alt/p ) none of other changes look remotely related. . BR Last edited by BetterRed; 02-12-2015 at 09:36 PM. |
||
02-13-2015, 10:39 AM | #98 | |
Evangelist
Posts: 435
Karma: 572984
Join Date: Jan 2010
Location: Long Island
Device: Kobo Libra 2, Kindle 4, Nook Gl4, Nook STR, REB 1100, Ebookwise 1500,
|
@eschwartz - thanks for the info
Quote:
|
|
02-13-2015, 05:11 PM | #99 | |
null operator (he/him)
Posts: 20,567
Karma: 26954694
Join Date: Mar 2012
Location: Sydney Australia
Device: none
|
Quote:
That you saw a difference between, Portable, 32bit and 64 bit seems a bit weird (Portable is 32bit repackaged). You could create a clone of your library with a subset of your books to try the 'edit json, rebuild db, set up VM options' suggestion. For the VM problem I fixed that way, the metadata preferences backup looked OK, i.e. the JSON wasn't malformed or wrong in respect of values. But I noticed that the relative position of the VM settings in library A (where I had the problem) were different to library B (where I didn't have the problem); that's what led me to do the remove/rebuild/recreate for the VM settings in library A... which fixed the problem. But caveat emptor - my memory is fallible, so I may be misremembering. BR |
|
02-15-2015, 12:17 PM | #100 |
Evangelist
Posts: 435
Karma: 572984
Join Date: Jan 2010
Location: Long Island
Device: Kobo Libra 2, Kindle 4, Nook Gl4, Nook STR, REB 1100, Ebookwise 1500,
|
I still need to do a little playing, because I only noticed it just before I had to leave for work this morning, but it looks likes VM's search restriction does work in 2.19, and everything prior to that, but only if you open a virtual library and close it before you select a View with a search restriction. Plus I think you need to do it with every new session. That's what I need to play with. The other option seems to be to do a Restore Database every time you open the library and, well, that's not gonna happen.
Without going all the way back to 2.0 I can't say for sure, but I wouldn't be surprised this if is a QT5 quirk because I know it's not an issue in 1.48. I use that pretty much every day at work and haven't had any issues with VM. |
02-15-2015, 04:00 PM | #101 | |
null operator (he/him)
Posts: 20,567
Karma: 26954694
Join Date: Mar 2012
Location: Sydney Australia
Device: none
|
Quote:
I think I was able to recreate your 'problem' on 2.19 and 1.48 by creating a View (Test) with a saved search, which worked as expected. But when I switched back to my Default view the saved search was still in force So I ticked the Apply Save Search in the Default view settings but left the drop down blank. Voilà , if I switched from a view with a saved search, to one without, then no saved search was applied I tested it with and without an active VL, seemed to work in both situations. I imagine you'd get similar behaviour with a Search Restriction as I got for Saved Search. But the post I refer to above predates the existence of virtual libraries and Qt5, which makes me wonder if your VM settings at home and at work are the same, particularly regarding the Apply <search> settings. I'm also wondering what purpose the check boxes actually serve, maybe all that's need are the values, where 'empty' means don't apply any search constraints. BR |
|
02-15-2015, 10:52 PM | #102 | |
Evangelist
Posts: 435
Karma: 572984
Join Date: Jan 2010
Location: Long Island
Device: Kobo Libra 2, Kindle 4, Nook Gl4, Nook STR, REB 1100, Ebookwise 1500,
|
@BetterRed - re: the post you referenced, that is discussing VM's behaviour when you switch from a View with a search restriction to one without, and yes, it appears that in order to negate it you either need to manually clear the virtual library/saved search or check the box for Apply search restriction without having an actual search restriction. In either case that's not the issue I'm having. The problem isn't going from one View to another it's when I first open my library.
I have a View called Finalization that I use in my editing process. It has ten columns selected for viewing and Apply Search Restriction: #done:false and series:false. These are the steps to recreate the issue I'm having: Step 1: Open up a library: it appears with the last columns that I had set to view, no virtual library active Step 2: If I select a View with an Apply search restriction setting: the columns change to match that View settings but the search restriction is not applied. Step 3: Apply a virtual library: can be any VL, it doesn't matter. Step 4: Close virtual library: if I don't, on the next step VM assumes I want the View search restriction applied within that virtual library. Step 5: Select the View I want to work with: the search restriction now works perfectly. Quote:
|
|
02-16-2015, 02:36 AM | #103 |
null operator (he/him)
Posts: 20,567
Karma: 26954694
Join Date: Mar 2012
Location: Sydney Australia
Device: none
|
Squarks - your this happens when I open the library penny hadn't dropped.
I'll try to repeat, might be tomorrow. BR |
02-16-2015, 04:15 AM | #104 |
Grand Sorcerer
Posts: 11,741
Karma: 6997045
Join Date: Jan 2010
Location: Notts, England
Device: Kobo Libra 2
|
I took a look at the code and there is indeed a problem that as far as I can tell has been there since 2010. Any attempt to set a search restriction before either the VL menu is opened or a VL is selected will fail.
I will submit a fix to Kovid. EDIT: The fix is in current calibre source and will be included in the next release. Last edited by chaley; 02-16-2015 at 09:13 AM. |
02-16-2015, 04:03 PM | #105 |
Evangelist
Posts: 435
Karma: 572984
Join Date: Jan 2010
Location: Long Island
Device: Kobo Libra 2, Kindle 4, Nook Gl4, Nook STR, REB 1100, Ebookwise 1500,
|
Yay! Thanks, chaley.
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
[GUI Plugin] Goodreads Sync | kiwidude | Plugins | 1721 | 04-18-2024 10:22 AM |
[GUI Plugin] Open With | kiwidude | Plugins | 403 | 04-01-2024 08:39 AM |
[GUI Plugin] Generate Cover | kiwidude | Plugins | 811 | 03-16-2024 11:31 PM |
[GUI Plugin] Plugin Updater **Deprecated** | kiwidude | Plugins | 159 | 06-19-2011 12:27 PM |
[GUI Plugin] Book Sync **Deprecated** | kiwidude | Plugins | 111 | 06-07-2011 07:47 PM |