If a content plugin exports in ContentGetValueW a value of type ft_numeric_floating together with the trailing wide string representation of the floating-point number then button Load from file under cursor of the change attributes dialog displays a wrong value. It looks like the trailing wide string is casted to (simple) string where it should be wide string instead.
This one might be related.
The field [jpg-comment.GPSLatitude] of ImageMetaData WDX with default jpg-comment.ini can be used to reproduce the bug. Also, the number should have more than one digit of course.
TC 8.51a on WINXPSP3.
WDX: Load from file und. cursor displays wrong num. value
Moderators: Hacker, petermad, Stefan2, white
WDX: Load from file und. cursor displays wrong num. value
TC plugins: Autodesk 3ds Max / Inventor / Revit Preview, FileInDir, ImageMetaData (JPG Comment/EXIF/IPTC/XMP), MATLAB MAT-file Viewer, Mover, SetFolderDate, Solid Edge Preview, Zip2Zero and more
- ghisler(Author)
- Site Admin
- Posts: 50390
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
From a quick look at the source, TC should be using it as a wide string. Where are you using the field?
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com
Please see my screen shots. From Image: http://tbeu.de/forum/wdx_1.png you can see that wdx returns correct numeric value and correct trailing wide string representation. In Image: http://tbeu.de/forum/wdx_2.png you see that this trailing wide string representation correctly is displayed in custom column but not in value field of change attributes dialog after clicking button Load from file under cursor.
TC plugins: Autodesk 3ds Max / Inventor / Revit Preview, FileInDir, ImageMetaData (JPG Comment/EXIF/IPTC/XMP), MATLAB MAT-file Viewer, Mover, SetFolderDate, Solid Edge Preview, Zip2Zero and more
- ghisler(Author)
- Site Admin
- Posts: 50390
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact: