PDF Explorer > Bug reports

"Show full path in the filename item" option makes F:=FP


checking option "Show full path in the filename item" in the Preferences.../Appearance menu changes the [F] value to [FP] and this in turn can break all the Dynamically Calculated columns which depend on using [F] - for example, just observe that "length(F)" changes its value accordingly after the preferences change! But we already have [FP] as a separate keyword, wouldn't it be better to leave [F] unaffected and to change "File name" default field evaluation from F to FP instead? After finding this out, do we have to rewrite/update all our Dynamic Eval codes which used [F] reference?  :(


The FP returns the file directory, so that preferences option is making the F to return FP+F, not just FP, and this happens because the code is calling the same routines that are used to fill the grid cells, and that preferences setting makes the filename column to show the full path.
But indeed, to deal with this fields from custom code, it is best to keep them separated, so I've now made the necessary changes.


[0] Message Index


Go to full version