- This topic has 12 replies, 2 voices, and was last updated 5 years, 11 months ago by Support.
-
AuthorPosts
-
October 19, 2018 at 12:56 pm #37993HeDiBoParticipant
The internal skin info in TStoredSkin has properties Version, Author and Description.
But none of them are filled
October 21, 2018 at 5:13 am #58515SupportKeymasterI will check and solve it.
October 23, 2018 at 9:24 am #58540HeDiBoParticipant'Support' wrote:I will check and solve it.
It's not solved in 14.05.
The new InternalSkins editor looks silly now, with the Version set to 0 for all internal skins
October 23, 2018 at 9:40 am #58541HeDiBoParticipantI understand now that I have to add all internal skins afresh.
That's understandable. It's a surprise though to see these version 0 info's.
So, the Update All button might be a good place to add the missing info to the internal skins.
October 23, 2018 at 9:46 am #58542HeDiBoParticipantBugfix: in countries where the decimal point is a comma, the conversion of the version string to real fails.
You should provide a local formatstring to convert always with the decimal point.
So, in my case this statement gives a conversion error
Code:SkinManager.InternalSkins[SkinManager.InternalSkins.Count – 1].Version := StrToFloat(TempSkinFile.ReadString(s_GlobalInfo, s_Version, '0'));Because this Version property has never been used before (it was always 0) it would be better to take this opportunity to make it a string property.
November 1, 2018 at 6:07 am #58552SupportKeymasterI will try to fix it in the nearest release.
November 1, 2018 at 10:24 am #58557HeDiBoParticipant'Support' wrote:I will try to fix it in the nearest release.
Try to set the version info too when the Update All button is clicked.
November 2, 2018 at 8:53 am #58560SupportKeymasterI will try to do it in the v14.06
November 13, 2018 at 10:34 am #58605HeDiBoParticipant'Support' wrote:I will try to do it in the v14.06
It's not fixed at all in 14.06
To ensure you understand the severity of this: in this version of AC I cannot add any internal skin or refresh them.
I found there are three places in sInternalSkins.pas where this problem occurs.
Again: switch to a string representation of the version. That makes it compatible with the the other occurrence of the version property, allowing constructs like '13.05A'.
November 14, 2018 at 8:04 am #58611SupportKeymasterI'm sorry for the error, please try the attached file.
Whole package will be updated at the nearest days.
November 14, 2018 at 1:57 pm #58628HeDiBoParticipant'Support' wrote:I'm sorry for the error, please try the attached file.
Whole package will be updated at the nearest days.
Thanks.
I'm not seeing a switch to using the internal skin version as a string. That would make it compatible with the skinmanager's skin version.
There's no chance developers will get into trouble because the version of internal skins never worked before, so no one will have been using it.
November 20, 2018 at 10:52 am #44601HeDiBoParticipantDo you hesitate to change the version property to a string?
It's still a float in 14.07
December 3, 2018 at 1:08 pm #58670SupportKeymasterHello
Version of skins is used in the package as real value for comparison of old and new skins, I'm keeping it as real value because it's more handy for me.
-
AuthorPosts
- You must be logged in to reply to this topic.