03-21-2015, 12:20 PM | #107 |
null operator (he/him)
Posts: 20,567
Karma: 26954694
Join Date: Mar 2012
Location: Sydney Australia
Device: none
|
After installing 2.22 I found I'd lost my View Manager keyboard shortcut customisations.
I am pretty sure this has been happening for the last several releases, maybe as far as back as the mid November changes, but I think it's more recent than that. With previous releases, by the time I noticed they'd gone, it was too late to definitively blame the install - without futzing with reinstalls, so I've just been redoing the shortcuts. But before installing 2.22, I took a look to ensure they were there, which they were - and they worked. But when I looked again immediately after the install they'd gone. Keyboard shortcuts for the other installed optional PI's are not disappearing after a calibre install - hence I'm reporting it as a View Manager specific issue. It's the kb shorts for a specific view that disappear - eg I have kb shorts for what I call the Published and Publisher views. BR |
Advert | |
|
03-21-2015, 12:28 PM | #108 |
Plugin Developer
Posts: 6,313
Karma: 3966249
Join Date: Dec 2011
Location: Midwest USA
Device: Kindle Paperwhite(10th)
|
|
03-21-2015, 01:08 PM | #109 | |
null operator (he/him)
Posts: 20,567
Karma: 26954694
Join Date: Mar 2012
Location: Sydney Australia
Device: none
|
Quote:
Spoiler:
When I look at the Keyboard shorts for Quick Preferences and Template Tester - this is what I see Weird - mayhap if I find a way to resolve the None v None kb short conflict between Template Tester and Quick Preferences->Read metadata it will fix my problem with View Manager kb shorts. I'll try uninstall and reinstall Quick Preferences. Until now I never even knew there was a Template Tester. I have had Quick Preferences (and View Manager) installed for years, whilst I don't often run in debug mode - I've certainly run it with those PI installed, and I've never seen those messages before - had I done so I would have gone I can't be bothered futzing with reinstalls so we wont know if getting rid of those curious messages will solve my View Manager problems until V2.23 hits the streets. BR |
|
03-21-2015, 06:17 PM | #110 | |
null operator (he/him)
Posts: 20,567
Karma: 26954694
Join Date: Mar 2012
Location: Sydney Australia
Device: none
|
Quote:
When I ran calibre again in debug the curious messages about QP and Template Tester kb shorts being the same were NOT in the log. So I reinstated Quick Preferences.json.save to Quick Preferences.json and ran calibre in debug again - once again the curious messages were NOT in the log. Nota bene: kb shorts are NOT stored in the PI's .json file - they're in %calibre_config_directory%\shortcuts\main.json. Which just happens to have a time stamp around when I did the QP json file shuffle. Maybe when QP recreated its missing .json file, it also refreshed its entries in shortcuts\main.json - of which there are none, and nor have there ever been! I drive QP via the book list context menu, I don't use it often enough to warrant having easily forgotten kb shorts. Time will tell if this fixes my problems with View Manager kb shorts, I'm not hopeful. I will take a copy of shortcuts\main.json immediately prior to and after installing V2.23. It's only a minor irritant - takes but a jiffy to redo the kb shorts BR Last edited by BetterRed; 03-21-2015 at 07:44 PM. |
|
Advert | |
|
07-15-2016, 01:19 AM | #111 |
Zealot
Posts: 149
Karma: 12316
Join Date: Jul 2014
Device: none
|
Hi:
I have a question. The plugin is very intuitive, but it happens that when I apply a saved search, it is not applied as expected. If I use the series:true, as seen in the first capture, of the 11,443 books I have, are shown only those with an serie assigned, 3,546 in this case. But when I apply the filter in the plugin, show me all the books. What am I doing wrong? look in the lower left corner, there is shown how many books have been taken into account with the filter Sorry my grammar, I try my best (with Google) Regards from Lima, Perú Blessings |
07-15-2016, 01:57 AM | #112 |
null operator (he/him)
Posts: 20,567
Karma: 26954694
Join Date: Mar 2012
Location: Sydney Australia
Device: none
|
@mariaclaudia - I think you're seeing the same problem, or something very similar, as was reported in Post 93. It's not obvious to me if that problem was ever resolved.
And, I have a vague recollection that restricting Views via Apply search restriction and/or Apply saved search 'stopped' working when Virtual libraries were introduced. I go into the VL that has the required search criteria, and then select the required View. BR |
07-15-2016, 09:23 AM | #113 |
Zealot
Posts: 149
Karma: 12316
Join Date: Jul 2014
Device: none
|
That's true. So, we must wait for a future solution of this issue. Thanks!
|
07-16-2016, 05:59 PM | #114 |
Groupie
Posts: 199
Karma: 76476
Join Date: Feb 2012
Location: Poland
Device: none
|
I've checked - "Apply saved search" does work for me (on Calibre 2.60).
What is the difference between "Apply search restriction" and "Apply saved search"? |
07-16-2016, 06:46 PM | #115 |
Well trained by Cats
Posts: 29,799
Karma: 54830978
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
|
|
07-16-2016, 07:30 PM | #116 |
Zealot
Posts: 149
Karma: 12316
Join Date: Jul 2014
Device: none
|
I have Calibre 2.62, and the problem persists.
|
07-16-2016, 11:43 PM | #117 |
Plugin Developer
Posts: 6,313
Karma: 3966249
Join Date: Dec 2011
Location: Midwest USA
Device: Kindle Paperwhite(10th)
|
(mariaclaudia -- Look for your name down below for your actual problem.)
Both the Search Restriction and Saved Search dropdowns in the plugin show only the Saved Searches list. So I believe theducks is mistaken. I believe BR is correct saying that the Search Restriction setting is from the pre-Virtual Library days. The Calibre code for Virtual Libraries still has 'search restriction' in the file name. And there is still an 'Additional restriction' feature in Calibre. It's under Virtual Library and works by applying a named (or current) search as an additional filter on top of the defined Virtual Library search. I assume backward compatibility is the primary (only?) reason that is still there. Virtual Library and Additional restriction and normal Search seems excessive... The View Manager PI does set it's configured Search Restriction to the VL 'Additional restriction', but not perfectly. It doesn't remove the 'Additional restriction' when switching to another view, nor does it set it again if you've cleared the 'Additional restriction' with the 'Close the Virtual Library' button. (Saved Searches applied by View Manager are also not reset, but those are much more visible.) The 'Close the Virtual Library' button part is arguably a bug in Calibre's VL/search restriction code. The clear_vl button in search_restriction_mixin.py resets the restriction, but doesn't clear the search_restriction ComboBox. The PI looks at the contents of the search_restriction ComboBox and skips applying the search restriction if it contains the same setting. I am able to fix/workaround both issues by tweaking the PI code to always set the search restriction (resetting it to '' for views that don't have a search restriction). But is that useful? Would it be better to remove the PI Search Restriction settings? Or instead show the list of Virtual Libraries and switch to the chosen VL? None of which addresses mariaclaudia's reported issue with Saved Search. mariaclaudia -- Looking at your screen captures, I believe you have a saved search named series:true but it doesn't contain the search series:true.
That should solve your problem. Another way to do the same thing is to enter series:true into first the regular search bar, then again in the saved search bar, then click (without holding) the button marked in red. You can name the search something different (that's kind of the point of saved searches), but you'd have to go back and change the View Manager setting then. Hope that helps. |
07-17-2016, 09:13 AM | #118 |
Zealot
Posts: 149
Karma: 12316
Join Date: Jul 2014
Device: none
|
Thanks! However it's strange, because I'm sure that I had "series:true" saved, and I saw it in the saved search editor. Maybe I didn't select it and show in the main window of the saved search editor. Anyway, it seems working fine now. Again: thanks!!!
|
07-21-2016, 10:12 PM | #119 | |
Plugin Developer
Posts: 6,313
Karma: 3966249
Join Date: Dec 2011
Location: Midwest USA
Device: Kindle Paperwhite(10th)
|
Quote:
So at this point, while it's not what I would call ideal, the View Manager Search Restriction feature doesn't appear outright broken anymore. |
|
07-22-2016, 04:20 AM | #120 |
null operator (he/him)
Posts: 20,567
Karma: 26954694
Join Date: Mar 2012
Location: Sydney Australia
Device: none
|
@JimmXinu - this is just a heads up, to tie up a loose end, no action needed.
I finally figured what happens with my View Manager keyboard shorts. Firstly the weirdness with Quick preferences spurious kb shortcuts reared its head again. That made me consider my use of QP - i.e. do I need it? I decided it was confusing me more than helping me, so I removed it completely. It's actually easier to fix a mistake when it happens, rather trying to remember to check QP settings before adding anything. My libraries have different sets of View Manager specifications, that's fine because they are stored in the relevant library databases. But keyboard shortcuts are stored globally in accordance with the current library's View Manager layouts. When I switch libraries, fresh empty kb shorts with the names of the VM layouts for that library overwrite what's already there. Having a common set of layouts isn't viable, different sets of custom columns with different names are involved - the layout names reflect the sort orders. So I've put View Manager in my context menu, I now I use it to switch layouts rather than using kb shorts. BR |
|
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 |