Page 1 of 1
Generic file type include disabled extensions
Posted: 30 Jan 2015 16:56
by binocular222
I unchecked .msg as previewed Text format, however, PFA {:Text} still include .msg
Re: Generic file type include disabled extensions
Posted: 31 Jan 2015 10:42
by admin
PFA is not preview.
Re: Generic file type include disabled extensions
Posted: 31 Jan 2015 13:39
by binocular222
Then, this is a wish: extensions unchecked in previewed format should not be included in generic filetype such as {:Text}
Re: Generic file type include disabled extensions
Posted: 31 Jan 2015 19:18
by bdeshi
+1. This can mess with user-logic and create a catastrophic quantum rapture.
Re: Generic file type include disabled extensions
Posted: 31 Jan 2015 20:16
by admin
Hm, I have no problem with the current logic. It's called "Previewed Formats" in configuration.
Re: Generic file type include disabled extensions
Posted: 01 Feb 2015 02:27
by binocular222
The logic should be: When user uncheck an extension, that mean it's not preview.
It's important because {:Text} include a long list of default value, which user cannot edit, even in .ini
Re: Generic file type include disabled extensions
Posted: 01 Feb 2015 11:53
by bdeshi
besides, VF uses the formats list with user-customizations. So there's an inconsistency: the same variable encompasses different sets of files in VF and PFA.
Re: Generic file type include disabled extensions
Posted: 01 Feb 2015 15:08
by admin
SammaySarkar wrote:besides, VF uses the formats list with user-customizations. So there's an inconsistency: the same variable encompasses different sets of files in VF and PFA.
Yes, there is inconsistency. Currently the following procedures ignore user-customizations:
- PFA
- Custom Columns Filter
- SC get; okay, not yet documeted so here it is:
Code: Select all
echo get("genericfiletype", "{:Photo}", ";");
IMO VF should ignore it too...