| 
			
			 | 
		#1 | 
| 
			
			
			
			 Connoisseur 
			
			![]() Posts: 64 
				Karma: 10 
				Join Date: Sep 2015 
				Location: Yerevan, Armenia 
				
				
				Device: none 
				
				
				 | 
	
	
	
		
		
			
			 
				
				Doubled tabs for media files
			 
			
			
			On double clicking on audio (in Book Browser), the file is opened each time in a new tab, not in the previously opened one.
		 
		
	
		
		
			Last edited by brolny; 02-22-2018 at 03:57 AM.  | 
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| 
			
			 | 
		#2 | 
| 
			
			
			
			 Sigil Developer 
			
			![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 9,072 
				Karma: 6361556 
				Join Date: Nov 2009 
				
				
				
				Device: many 
				
				
				 | 
	
	
	
		
		
		
		
		 
			
			I will take a look at this and try to see why the proper existing tab is not brought to the front.
		 
		
	
		
		
		
		
		
		
		
		
		
		
	
	 | 
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| Advert | |
| 
         | 
    
| 
			
			 | 
		#3 | 
| 
			
			
			
			 Sigil Developer 
			
			![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 9,072 
				Karma: 6361556 
				Join Date: Nov 2009 
				
				
				
				Device: many 
				
				
				 | 
	
	
	
		
		
		
		
		 
			
			From eyeballing the code, the bug was in TabManager:SwitchedToExistingTab as it is missing the case of Audio/Video AVTabs so it always said the tab was not existing. 
		
	
		
		
		
		
		
		
		
		
		
		
	
	The fix will appear in the next release of Sigil. Thank you for your bug report!  | 
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| 
			
			 | 
		#4 | 
| 
			
			
			
			 Grand Sorcerer 
			
			![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 28,891 
				Karma: 207182180 
				Join Date: Jan 2010 
				
				
				
				Device: Nexus 7, Kindle Fire HD 
				
				
				 | 
	
	
	
		
		
		
		
		 
			
			To be honest, is there really even a need for media files to open in their own central tabs (Book View or Code View) at all? It's not as if Sigil can edit them. 
		
	
		
		
		
		
		
		
		
		
		
		
	
	I don't know how feasible it is to stop a particular resource from opening tabs of their own, but surely the Book View/Code View/Preview tab of the HTML Resource they're embedded in would be sufficient, no?  | 
| 
		
 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| 
			
			 | 
		#5 | 
| 
			
			
			
			 Sigil Developer 
			
			![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 9,072 
				Karma: 6361556 
				Join Date: Nov 2009 
				
				
				
				Device: many 
				
				
				 | 
	
	
	
		
		
		
		
		 
			
			If opened in its own tab you can use open with to edit the audio or video with your favorite movie or sound editor.
		 
		
	
		
		
		
		
		
		
		
		
		
		
	
	 | 
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| Advert | |
| 
         | 
    
| 
			
			 | 
		#6 | 
| 
			
			
			
			 Grand Sorcerer 
			
			![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 28,891 
				Karma: 207182180 
				Join Date: Jan 2010 
				
				
				
				Device: Nexus 7, Kindle Fire HD 
				
				
				 | 
	
	
	
		
		
		
		
		 
			
			I thought the Open With feature worked from the context-menu in Book Browser? 
		
	
		
		
		
		
		
		
		
		
		
		
	
	Regardless, it makes a bit more sense to me now. A user may want to preview media sources they've added to their epub before they've embedded them in any of the html. Images and everything else work that way, so there's no sense in reinventing the wheel, I guess. ![]() Thanks for eliminating the bug!  | 
| 
		
 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| 
			
			 | 
		#7 | 
| 
			
			
			
			 Sigil Developer 
			
			![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 9,072 
				Karma: 6361556 
				Join Date: Nov 2009 
				
				
				
				Device: many 
				
				
				 | 
	
	
	
		
		
		
		
		 
			
			Just pushed the fix to master.
		 
		
	
		
		
		
		
		
		
		
		
		
		
	
	 | 
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
![]()  | 
            
        
    
| Thread Tools | Search this Thread | 
            
  | 
    
			 
			Similar Threads
		 | 
	||||
| Thread | Thread Starter | Forum | Replies | Last Post | 
| Wondering out-loud - Calibre and multi-media files | Mark Lee | Library Management | 5 | 07-20-2017 01:03 PM | 
| Building a comprehensive media PC to share media (Mylar, Plex, Calibre, Sickbeard) | Ackis | Devices | 1 | 04-07-2014 07:43 PM | 
| Good management tool as powerful as calibre but for media files? | kevin.cooper | General Discussions | 6 | 03-01-2014 10:05 PM | 
| iPad More People Recognizing That Media iPad Adaptations Feel Like CD-ROM Media | kjk | Apple Devices | 1 | 06-14-2010 07:26 PM | 
| Media files in feeds? | Fhnuzoag | Calibre | 1 | 04-17-2009 10:46 AM |