This forum uses cookies. Click X button to hide this message. What is stored? 
Total Commander Forum Index Total Commander
Forum - Public Discussion and Support
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

NoMediaFileTypes in QuickView not limited to its extensions

 
Post new topic   Reply to topic    Total Commander Forum Index -> TC Fixed bugs Printable version
View previous topic :: View next topic  
Author Message
DrShark
Power Member
Power Member


Joined: 03 Nov 2006
Posts: 928
Location: Kyiv, 68/262

PostPosted: Sat Feb 25, 2017 11:34 am    Post subject: NoMediaFileTypes in QuickView not limited to its extensions Reply with quote

Checked in TC 9.00a 32-bit on Windows Vista and 7 32-bit.

To reproduce:
1. Set following in [Lister] section of wincmd.ini:
Code:
NoMediaFileTypes=*.txt

2. Restart TC.
4. Go to some folder with *.txt files and files recognized by TC as media or viewed with Lister plugins.
5. Don't use Lister! Use Ctrl+Q on your txt file and, without exiting QuickView, on some media file -> media files will be shown in text mode.

Notes:
1. Using Lister with plugin on media file before QuickView on *.txt seems to make QuickView work properly (text mode used for *.txt files, media mode/plugins used for media files).
2. Bug doesn't seem to happen with another similar Lister's setting NoPluginFileTypes.
_________________
Android 4.3.1 no root, kernel 08.09.2016; Vista Home Premium SP2 rus 32 bit
TC #149847 Personal licence

Cuz we're all in this together, We're here to make it right
Back to top
View user's profile Send private message
ghisler(Author)
Site Admin
Site Admin


Joined: 04 Feb 2003
Posts: 34704
Location: Switzerland

PostPosted: Mon Feb 27, 2017 9:47 am    Post subject: Reply with quote

I don't understand what you are trying to achieve, sorry. Please explain what is your goal.
_________________
Author of Total Commander
http://www.ghisler.com
Back to top
View user's profile Send private message Send e-mail Visit poster's website
DrShark
Power Member
Power Member


Joined: 03 Nov 2006
Posts: 928
Location: Kyiv, 68/262

PostPosted: Mon Feb 27, 2017 12:37 pm    Post subject: Reply with quote

NoMediaFileTypes should make Lister/QuickView not to use its multimedia ability (showing pictures, playing music/videos) and Lister plugins before user will press "4" key (tells LS/QV to use Multimedia mode) for extensions listed for this parameter.

So if we write NoMediaFileTypes=*.txt, Lister and QuickView should block Lister plugins for *.txt at start, but ONLY for txt.

Let's pretend we have that ulister plugin to show both *.txt and *.doc files, and we go to folder with txt and doc files. We press Ctrl+Q on txt file, ulister is blocked (NoMediaFileTypes=*.txt tells QuikView to do that), than we use Up or Down key in file panel to point cursor on doc file. DOC extension is not listed in NoMediaFileTypes, so expected behaviour for QuickView is to use ulister plugin for this *.doc, but it starts in text mode instead blocking ulister until user will use "4" key in QV panel.
_________________
Android 4.3.1 no root, kernel 08.09.2016; Vista Home Premium SP2 rus 32 bit
TC #149847 Personal licence

Cuz we're all in this together, We're here to make it right
Back to top
View user's profile Send private message
ghisler(Author)
Site Admin
Site Admin


Joined: 04 Feb 2003
Posts: 34704
Location: Switzerland

PostPosted: Thu Mar 02, 2017 5:22 am    Post subject: Reply with quote

Thanks for the clarification, I understand now. I will check it.
_________________
Author of Total Commander
http://www.ghisler.com
Back to top
View user's profile Send private message Send e-mail Visit poster's website
ghisler(Author)
Site Admin
Site Admin


Joined: 04 Feb 2003
Posts: 34704
Location: Switzerland

PostPosted: Mon Oct 02, 2017 3:49 am    Post subject: Reply with quote

This should be fixed in TC 9.10 beta, please test it!
_________________
Author of Total Commander
http://www.ghisler.com
Back to top
View user's profile Send private message Send e-mail Visit poster's website
DrShark
Power Member
Power Member


Joined: 03 Nov 2006
Posts: 928
Location: Kyiv, 68/262

PostPosted: Thu Oct 05, 2017 11:25 am    Post subject: Reply with quote

I confirm the fix for TC 9.10.
_________________
Android 4.3.1 no root, kernel 08.09.2016; Vista Home Premium SP2 rus 32 bit
TC #149847 Personal licence

Cuz we're all in this together, We're here to make it right
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    Total Commander Forum Index -> TC Fixed bugs All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Impressum: This site is maintained by Ghisler Software GmbH

Using phpBB © 2001-2005 phpBB Group