| 
			
			 | 
		#271 | 
| 
			
			
			
			 Plugin Developer 
			
			![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 7,136 
				Karma: 5005503 
				Join Date: Dec 2011 
				Location: Midwest USA 
				
				
				Device: Kobo Clara Colour running KOReader 
				
				
				 | 
	
	
	
		
		
		
		
		 
			
			Here's a version that replaces those images with ones containing arrows lifted from Calibre's default sort.png.  Version number is already bumped. 
		
	
		
		
		
		
		
		
		
		
		
		
		
			I didn't change it to use Calibre's images like most of the GUI elements because a) the size difference shows up quite noticeably, b) Calibre only has 1 sort direction icon and c) VM's arrows are backwards compared to Calibre's sort icon. UPDATE - test version removed since BR didn't think it was an improvement. Last edited by JimmXinu; 01-30-2020 at 09:54 PM. Reason: Remove test version that wasn't an improvement  | 
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| 
			
			 | 
		#272 | 
| 
			
			
			
			 null operator (he/him) 
			
			![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 22,018 
				Karma: 30277294 
				Join Date: Mar 2012 
				Location: Sydney Australia 
				
				
				Device: none 
				
				
				 | 
	
	
	
		
		
		
		
		 
			
			Now, they look like blue exclamation marks - sometimes inverted :ole: 
		
	
		
		
		
		
		
		
		
		
		
		
		
			I see the 'problem', the 'arrows' are part of an image. I've never known what the 'blob' on the left of the direction column represented - I wondered if they might have been shrunken tag browser category icons    IMO, if they can't be discerned, the A/Z and Z/A are redundant.  I assume White when Dark and Black when Light would just happen if unicode arrows (u2191 and u2193) were were prepended to the column names --- i.e Code: 
	'↑ ' if ascending, '↓ ' if descending, or ' ' if neither BR Last edited by BetterRed; 01-30-2020 at 06:51 PM. Reason: See Added  | 
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| 
			
			 | 
		#273 | |
| 
			
			
			
			 Plugin Developer 
			
			![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 7,136 
				Karma: 5005503 
				Join Date: Dec 2011 
				Location: Midwest USA 
				
				
				Device: Kobo Clara Colour running KOReader 
				
				
				 | 
	
	
	
		
		
		
		
		 Quote: 
	
 I'm willing to: 
 The images are 15x15--anything significantly bigger(18x18) started stretching the rows when I tried. But much larger size (128x128) don't stretch it much more. All you need to do to try different images is replace them in the plugin zip file. Personally, I like the original images with solid BG (mostly--I eased the corners slightly):  | 
|
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| 
			
			 | 
		#274 | 
| 
			
			
			
			 null operator (he/him) 
			
			![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 22,018 
				Karma: 30277294 
				Join Date: Mar 2012 
				Location: Sydney Australia 
				
				
				Device: none 
				
				
				 | 
	
	
	
		
		
		
		
		 
			
			Yeah, light mode with a largish font is okay, but for me at least dark mode with a smallish font isn't.  Do what you think is best for the other users.   
		
	
		
		
		
		
		
		
		
		
		
		
		
			Feel free to PM me a new version, although I suggest you leave it as it is, and wait to see what happens when version 5 comes out. Meantime I'll hack the earlier version I was using - it does all I want. I'll look to get rid of the images, if the unicode arrows don't work out I'll use 'A'(scend) and 'D'(escend). BR Last edited by BetterRed; 01-30-2020 at 09:06 PM.  | 
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| 
			
			 | 
		#275 | 
| 
			
			
			
			 Junior Member 
			
			![]() Posts: 2 
				Karma: 10 
				Join Date: Sep 2019 
				
				
				
				Device: none 
				
				
				 | 
	
	
	
		
		
			
			 
				
				GUI plugin View Manager error
			 
			
			
			While trying to customize the plugin I receive this error message: 
		
	
		
		
		
		
		
		
		
		
		
		
	
	calibre, version 4.10.1 ERROR: Unhandled exception: <b>UnboundLocalError</b>:local variable 'pin_columns' referenced before assignment Any idea as to what is going on? Thanks.  | 
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| 
			
			 | 
		#276 | |
| 
			
			
			
			 null operator (he/him) 
			
			![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 22,018 
				Karma: 30277294 
				Join Date: Mar 2012 
				Location: Sydney Australia 
				
				
				Device: none 
				
				
				 | 
	
	
	
		
		
		
		
		 Quote: 
	
 Moderator Notice 
		Please post issues about a plugin in that plugins thread, use this to find the plugin's thread ==>> Index of plugins BR  | 
|
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| 
			
			 | 
		#277 | 
| 
			
			
			
			 Plugin Developer 
			
			![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 7,136 
				Karma: 5005503 
				Join Date: Dec 2011 
				Location: Midwest USA 
				
				
				Device: Kobo Clara Colour running KOReader 
				
				
				 | 
	
	
	
		
		
		
		
		 
			
			Have you made a view that has an empty name?  Because that's the only case I can see that can cause that problem.  And an empty name causes other problems too.
		 
		
	
		
		
		
		
		
		
		
		
		
		
	
	 | 
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| 
			
			 | 
		#278 | 
| 
			
			
			
			 Plugin Developer 
			
			![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 7,136 
				Karma: 5005503 
				Join Date: Dec 2011 
				Location: Midwest USA 
				
				
				Device: Kobo Clara Colour running KOReader 
				
				
				 | 
	
	
	
		
		
		
		
		 
			
			Attached is a test version that allows for a View named empty string. 
		
	
		
		
		
		
		
		
		
		
		
		
		
			The version number is already bumped for release if it corrects PC_John's issue. Last edited by BetterRed; 03-06-2020 at 03:58 PM. Reason: Remove attachment  | 
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| 
			
			 | 
		#279 | 
| 
			
			
			
			 Plugin Developer 
			
			![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 7,136 
				Karma: 5005503 
				Join Date: Dec 2011 
				Location: Midwest USA 
				
				
				Device: Kobo Clara Colour running KOReader 
				
				
				 | 
	
	
	
		
		
		
		
		 
			
			Well, even though PC_John hasn't come back to report it fixes his problem, I know the version in the last post does fix a problem. 
		
	
		
		
		
		
		
		
		
		
		
		
	
	BR, could you put it on the first post sometime to release it? It's already v1.5.5. Thanks.  | 
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| 
			
			 | 
		#280 | 
| 
			
			
			
			 null operator (he/him) 
			
			![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 22,018 
				Karma: 30277294 
				Join Date: Mar 2012 
				Location: Sydney Australia 
				
				
				Device: none 
				
				
				 | 
	
	
	
		
		
		
		
		 
			
			Done 
		
	
		
		
		
		
		
		
		
		
		
		
	
	BR  | 
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| 
			
			 | 
		#281 | 
| 
			
			
			
			 Wizard 
			
			![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,327 
				Karma: 5306 
				Join Date: Jan 2014 
				
				
				
				Device: none 
				
				
				 | 
	
	
	
		
		
		
		
		 
			
			When I use the plugin in some libraries, I get the following error: 
		
	
		
		
		
		
		
		
		
		
		
		
	
	Code: 
	calibre, version 4.8.0
ERROR: Unhandled exception: <b>UnboundLocalError</b>:local variable 'pin_columns' referenced before assignment
calibre 4.8 [64bit]  embedded-python: True is64bit: True
Windows-10-10.0.18362-SP0 Windows ('64bit', 'WindowsPE')
('Windows', '10', '10.0.18362')
Python 2.7.16+
Windows: ('10', '10.0.18362', 'SP0', u'Multiprocessor Free')
Interface language: None
Successfully initialized third party plugins: Generate Cover (1, 5, 21) && View Manager (1, 5, 4) && FanFicFare (3, 11, 5) && Import List (1, 3, 0) && Reading List (1, 6, 6) && Find Duplicates (1, 6, 3) && MultiColumnSearch (1, 0, 77) && Favourites Menu (1, 0, 4) && Job Spy (1, 0, 172) && Save Composite Custom Columns (1, 1, 0) && Count Pages (1, 8, 2) && Tanja's Tools (0, 0, 9) && User Category (1, 5, 3)
Traceback (most recent call last):
  File "calibre_plugins.view_manager.action", line 64, in show_configuration
  File "site-packages\calibre\customize\__init__.py", line 157, in do_user_config
  File "calibre_plugins.view_manager.__init__", line 62, in config_widget
  File "calibre_plugins.view_manager.config", line 588, in __init__
  File "calibre_plugins.view_manager.config", line 670, in select_view_combo_index_changed
UnboundLocalError: local variable 'pin_columns' referenced before assignment
 | 
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| 
			
			 | 
		#282 | 
| 
			
			
			
			 Plugin Developer 
			
			![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 7,136 
				Karma: 5005503 
				Join Date: Dec 2011 
				Location: Midwest USA 
				
				
				Device: Kobo Clara Colour running KOReader 
				
				
				 | 
	
	|
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| 
			
			 | 
		#283 | 
| 
			
			
			
			 Custom User Title 
			
			![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 11,359 
				Karma: 79528341 
				Join Date: Oct 2018 
				Location: Canada 
				
				
				Device: Kobo Libra H2O, formerly Aura HD 
				
				
				 | 
	
	
	
		
		
		
		
		 
			
			Is there any known way to toggle the cover browser/grid when changing views?
		 
		
	
		
		
		
		
		
		
		
		
		
		
	
	 | 
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| 
			
			 | 
		#284 | |
| 
			
			
			
			 Plugin Developer 
			
			![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 7,136 
				Karma: 5005503 
				Join Date: Dec 2011 
				Location: Midwest USA 
				
				
				Device: Kobo Clara Colour running KOReader 
				
				
				 | 
	
	
	
		
		
		
		
		 Quote: 
	
 View Manager is all about which columns are shown and in what order. But I suppose that the sort order does also apply to grid order. So it could be useful to include in VM. However, it then raises the question: should VM also control the other Layout buttons? Book details, Cover Browser, etc. And Virtual Libs as Tabs, which is in a different place altogether? I haven't looked into how difficult any of that would be yet, but is it something users would find useful?  | 
|
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| 
			
			 | 
		#285 | 
| 
			
			
			
			 Custom User Title 
			
			![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 11,359 
				Karma: 79528341 
				Join Date: Oct 2018 
				Location: Canada 
				
				
				Device: Kobo Libra H2O, formerly Aura HD 
				
				
				 | 
	
	
	
		
		
		
		
		 
			
			I would definitely find it useful. I use the cover browser/grid for my default VL, but switch back to the list for my fanfic VL.
		 
		
	
		
		
		
		
		
		
		
		
		
		
	
	 | 
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
![]()  | 
            
        
            
| Thread Tools | Search this Thread | 
            
  | 
    
			 
			Similar Threads
		 | 
	||||
| Thread | Thread Starter | Forum | Replies | Last Post | 
| [GUI Plugin] Generate Cover | kiwidude | Plugins | 867 | 10-20-2025 06:31 PM | 
| [GUI Plugin] Goodreads Sync | kiwidude | Plugins | 1789 | 10-04-2025 03:21 PM | 
| [GUI Plugin] Open With | kiwidude | Plugins | 404 | 02-21-2025 06:42 AM | 
| [GUI Plugin] Plugin Updater **Deprecated** | kiwidude | Plugins | 159 | 06-19-2011 01:27 PM | 
| [GUI Plugin] Book Sync **Deprecated** | kiwidude | Plugins | 111 | 06-07-2011 08:47 PM |