| 
			
			 | 
		#16 | 
| 
			
			
			
			 Calibre Plugins Developer 
			
			![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 4,735 
				Karma: 2208556 
				Join Date: Oct 2010 
				Location: Australia 
				
				
				Device: Kindle Oasis 
				
				
				 | 
	
	
	
		
		
		
		
		 
			
			Just FYI I am making a few changes/fixes to this plugin, particularly as it is one that I use every day. 
		
	
		
		
		
		
		
		
		
		
		
		
		
			Thanks to @ownedbycats for that bug report above after clearing history. It is a simple bug in displaying the history in the menu which I have fixed. Several of you also reported problems with the keyboard shortcuts. I've replicated the issue. You will find the keys work fine provided you don't do anything to trigger the menu being rebuilt - like using the Favourites Menu plugin or directly opening the menu of this plugin. There seems to be a problem with the keyboard shortcut being "double registered" - so under the covers Qt goes "what is this nonsense" and reports an "Ambiguous shortcut overload". It doesn't matter what you change the shortcut keys to it will eventually get doubled up and stop working. I'm certain this worked fine a long time ago, nowadays not so much... Slightly concerning is similar code to register shortcuts was used in most of my plugins (and probably those of many others) - the create_menu_action_unique() method in common_utils.py. Still looking into exactly why it's going wrong and if it is just a bugged version that has been used here vs other plugins as the code has diverged independently over the years. I mention it here in case some of the other plugin authors recall "ahhh yeah I had that happen and I fixed it in XXX plugin"... EDIT: Ok I think I finally figured it out and yes some other plugins like ReadingList do work around it. The problem is that you have to manually call unregister_shortcut() every time you rebuild the menu. It is only a problem for plugins which have default keyboard shortcuts specified like this one does... One further addition I have also made for the next version of this plugin is an option to support having a different history per library, remembered as you switch between them. Thanks to @BetterRed for that suggestion - as recently as 2014 so I'm sure it is top of their mind, ha... Last edited by kiwidude; 09-09-2022 at 07:49 PM.  | 
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| 
			
			 | 
		#17 | 
| 
			
			
			
			 Calibre Plugins Developer 
			
			![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 4,735 
				Karma: 2208556 
				Join Date: Oct 2010 
				Location: Australia 
				
				
				Device: Kindle Oasis 
				
				
				 | 
	
	
	
		
		
			
			 
				
				v1.4.0 Released
			 
			
			
			Changes in this release: 
		
	
		
		
		
		
		
		
		
		
		
		
	
	
  | 
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| Advert | |
| 
         | 
    
| 
			
			 | 
		#18 | 
| 
			
			
			
			 Guru 
			
			![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 922 
				Karma: 810834 
				Join Date: Sep 2017 
				Location: Buenos Aires, Argentina 
				
				
				Device: moon+ reader, kindle paperwhite 
				
				
				 | 
	
	
	
		
		
		
		
		 
			
			Spanish translation just finished
		 
		
	
		
		
		
		
		
		
		
		
		
		
	
	 | 
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| 
			
			 | 
		#19 | |
| 
			
			
			
			 null operator (he/him) 
			
			![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 22,018 
				Karma: 30277294 
				Join Date: Mar 2012 
				Location: Sydney Australia 
				
				
				Device: none 
				
				
				 | 
	
	
	
		
		
		
		
		 Quote: 
	
 ![]() It's no longer an issue for me, a) because I don't do as much metadata searching, b) because CalibreSpy allows me to access multiple libraries concurrently. BR  | 
|
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| 
			
			 | 
		#20 | 
| 
			
			
			
			 Calibre Plugins Developer 
			
			![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 4,735 
				Karma: 2208556 
				Join Date: Oct 2010 
				Location: Australia 
				
				
				Device: Kindle Oasis 
				
				
				 | 
	
	
	
		
		
		
		
		 
			
			@dunhill - thanks very much! I did indeed get a notification from Transifex on that and some other translations too. Just initially getting all of my plugins into Transifex (and ensuring every plugin is translatable where not) is one of a number of initiatives I am working on to try to consolidate and modernise dev for my plugins. I fully expect to have to be re-releasing updates for these plugins in the coming weeks to give time for other language translations to be contributed.  
		
	
		
		
		
		
		
		
		
		
		
		
	
	@BetterRed - I am deeply hurt and shocked that you did not wait by the phone for 8 years for this feature and have forsaken me...  | 
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| Advert | |
| 
         | 
    
| 
			
			 | 
		#21 | 
| 
			
			
			
			 want to learn what I want 
			
			![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,682 
				Karma: 7908443 
				Join Date: Sep 2020 
				
				
				
				Device: none 
				
				
				 | 
	
	
	
		
		
		
		
		 
			
			kiwidude is in tha house  
		
	
		
		
		
		
		
		
		
		
		
		
	
	 
		 | 
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| 
			
			 | 
		#22 | 
| 
			
			
			
			 Calibre Plugins Developer 
			
			![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 4,735 
				Karma: 2208556 
				Join Date: Oct 2010 
				Location: Australia 
				
				
				Device: Kindle Oasis 
				
				
				 | 
	
	
	
		
		
			
			 
				
				Walk Search History v1.5.0 Released
			 
			
			
			Release Notes: 
		
	
		
		
		
		
		
		
		
		
		
		
	
	https://github.com/kiwidude68/calibr...history-v1.5.0  | 
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| 
			
			 | 
		#23 | 
| 
			
			
			
			 Custom User Title 
			
			![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 11,359 
				Karma: 79528341 
				Join Date: Oct 2018 
				Location: Canada 
				
				
				Device: Kobo Libra H2O, formerly Aura HD 
				
				
				 | 
	
	
	
		
		
		
		
		 
			
			Small bug: "Recipes & Cookbooks" renders in menu as "Recipes _Cookbooks." The search itself isn't affected. This happens when ampersands aren't escaped (doubled?).
		 
		
	
		
		
		
		
		
		
		
		
		
		
		
			Last edited by ownedbycats; 10-16-2022 at 05:32 PM.  | 
| 
		
 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| 
			
			 | 
		#24 | 
| 
			
			
			
			 Calibre Plugins Developer 
			
			![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 4,735 
				Karma: 2208556 
				Join Date: Oct 2010 
				Location: Australia 
				
				
				Device: Kindle Oasis 
				
				
				 | 
	
	
	
		
		
			
			 
				
				Walk Search History v1.5.1 Released
			 
			
			
			Release Notes: 
		
	
		
		
		
		
		
		
		
		
		
		
	
	https://github.com/kiwidude68/calibr...history-v1.5.1 Thanks to @ownedbycats for finding this one...  | 
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| 
			
			 | 
		#25 | 
| 
			
			
			
			 Custom User Title 
			
			![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 11,359 
				Karma: 79528341 
				Join Date: Oct 2018 
				Location: Canada 
				
				
				Device: Kobo Libra H2O, formerly Aura HD 
				
				
				 | 
	
	
	
		
		
		
		
		 
			
			Is it intended behaviour for the search history to clear upon restart? This happens whether or not separate-library history is enabled. 
		
	
		
		
		
		
		
		
		
		
		
		
		
			I found this while documenting some odd behaviour with the button in the new search bar toolbar. Last edited by ownedbycats; 10-20-2022 at 03:08 AM.  | 
| 
		
 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| 
			
			 | 
		#26 | |
| 
			
			
			
			 Calibre Plugins Developer 
			
			![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 4,735 
				Karma: 2208556 
				Join Date: Oct 2010 
				Location: Australia 
				
				
				Device: Kindle Oasis 
				
				
				 | 
	
	
	
		
		
		
		
		 Quote: 
	
 Note the plugin definitely does not remember per library search history between restarts if you have that option checked. It relies on calibre's own search history available from the search dropdown - and that is not a per library thing. All the plugin can do currently is assume all that search history belongs to the current library at startup, and then subdivide fresh search queries per library while you have calibre open in the history menu. But as soon as you close calibre that subdivision information is lost and you are back to square one. Obviously it would be technically possible for the plugin to try to persist its own independent search history state. And that could be remembered as being per library. However that is more work and this was just a quick fudge  
		 | 
|
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| 
			
			 | 
		#27 | 
| 
			
			
			
			 Custom User Title 
			
			![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 11,359 
				Karma: 79528341 
				Join Date: Oct 2018 
				Location: Canada 
				
				
				Device: Kobo Libra H2O, formerly Aura HD 
				
				
				 | 
	
	
	
		
		
		
		
		 
			
			Running from source, yes -- I was testing the new search bar toolbar when I noticed. 
		
	
		
		
		
		
		
		
		
		
		
		
	
	I have only one library. Weirdly enough, it seems to be keeping the history now. I was changing a lot of WSH settings to get the button working so maybe that had something to do with it.  | 
| 
		
 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| 
			
			 | 
		#28 | |
| 
			
			
			
			 Grand Sorcerer 
			
			![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 12,525 
				Karma: 8065948 
				Join Date: Jan 2010 
				Location: Notts, England 
				
				
				Device: Kobo Libra 2 
				
				
				 | 
	
	
	
		
		
		
		
		 Quote: 
	
 If it still breaks then please let me know. Some calibre code related to the ancient saved search interface was removed. It is possible that the plugin uses removed code. I did check (remember the View Manager conversation) but I might have missed something.  | 
|
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| 
			
			 | 
		#29 | 
| 
			
			
			
			 Custom User Title 
			
			![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 11,359 
				Karma: 79528341 
				Join Date: Oct 2018 
				Location: Canada 
				
				
				Device: Kobo Libra H2O, formerly Aura HD 
				
				
				 | 
	
	
	
		
		
		
		
		 
			
			It seems to work as expected now.  
		
	
		
		
		
		
		
		
		
		
		
		
	
	![]() Still working on identifying why the search history is getting cleared; it sometimes happens when I switch between previous search and dropdown menu and then restart, but it's tricky to get to reliably replicate.  | 
| 
		
 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| 
			
			 | 
		#30 | 
| 
			
			
			
			 Calibre Plugins Developer 
			
			![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 4,735 
				Karma: 2208556 
				Join Date: Oct 2010 
				Location: Australia 
				
				
				Device: Kindle Oasis 
				
				
				 | 
	
	
	
		
		
			
			 
				
				Walk Search History v1.5.2 Released
			 
			
			
			Release Notes: 
		
	
		
		
		
		
		
		
		
		
		
		
	
	https://github.com/kiwidude68/calibr...history-v1.5.2  | 
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
![]()  | 
            
        
            
            
  | 
    
			 
			Similar Threads
		 | 
	||||
| Thread | Thread Starter | Forum | Replies | Last Post | 
| [GUI Plugin] Search the Internet | kiwidude | Plugins | 436 | 05-12-2025 10:02 PM | 
| [GUI Plugin] Open With | kiwidude | Plugins | 404 | 02-21-2025 06:42 AM | 
| [GUI Plugin] Clipboard Search | kiwidude | Plugins | 29 | 04-02-2024 11:05 PM | 
| A Brief History of the GUI (Graphical User Interface) | Stuart Young | Deals and Resources (No Self-Promotion or Affiliate Links) | 0 | 09-18-2006 07:12 AM |