Content plug-in API: No content shown for high index fields

Bug reports will be moved here when the described bug has been fixed

Moderators: white, Hacker, petermad, Stefan2

Post Reply
User avatar
Lefteous
Power Member
Power Member
Posts: 9535
Joined: 2003-02-09, 01:18 UTC
Location: Germany
Contact:

Content plug-in API: No content shown for high index fields

Post by *Lefteous »

A user of my Shelldetails plug-in informed me that displaying field contents doesn't work in all cases. In my tests no content was shown for all fields starting from index 114. The reason could be an internal limit in TC. It could be either the index itself or total length of field names. If the limit is reached ContentGetValue isn't called at all.
Please note that ContentGetSupportedFields just works fine for all available fields (151 in my case).

To reproduce download and install the shell extension "PixVue". Make sure both EXIF and XMP columns are enabled. The PixVue configuration can be found in the context menu of supported file types like JPEGs.
Then add fields to a new custom column view. In my test I added

[=shelldetails.Name] (just to see if the plug-in works at all)
[=shelldetails.EXIF_ CustomRendered] (works here)
[=shelldetails.EXIF_ ExposureMode] (works here)
[=shelldetails.EXIF_ WhiteBalance] (doesn't work here)
[=shelldetails.XMP_ Titel] (doesn't work here)

You will have to use other fields if the above fields doesn't show the problem. Working means TC calls ContentGetValue.

PixVue download:
http://www.softsea.com/download.php?id=836984311

Test env.:
TC 7.02a
Shelldetails 1.12
Windows XP Pro SP2

Original German thread:
http://www.ghisler.ch/board/viewtopic.php?p=137953#137953
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48093
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

I will check that, thanks.
Author of Total Commander
https://www.ghisler.com
User avatar
Lefteous
Power Member
Power Member
Posts: 9535
Joined: 2003-02-09, 01:18 UTC
Location: Germany
Contact:

Post by *Lefteous »

Fixed in Total Commander 7.03. Thank you! :-)
Post Reply