Varsuuk
May 2nd, 2021, 02:03
I have mainly developed under FGC. Recently once I updated sidebars and saw that my extension works with MoreCore 1.61+ fine I switched to FGU and my MACOS to code in instead of. FGC on my Parallels VM (where I'd diff and move changes to "real" MAC dir to do git commits from - developing natively in MAC is so much cleaner. But I held off thinking originally that I'd have to do a lot to get it under FGU (untrue))
So I do not know when it stopped working or if it was always wrong in my extension. I have tons of saved info in git including various tagged test releases I send to Michael Potter ;) for him to look at (under FGC until last 2). So I can get back my stuff but to recreate the pre-update FGC environ would be a pain and unless I find a literal dir copy (I might) it would be fruitless.
I know the issue is in MY code. I just cannot imagine what I did to break it in ONLY FGU.
Recreate:
1. Create a character sheet (blank or from my Pregen (ie presetup with rolls char sheet))
2. Create a new roll using the Rolls sidebar via + >NOT directly on the sheet, that works< .(eliminates issues with my data MOD file.) Anything really including just a name with no dice string.
3. Drag from Rolls to any sheet CLIList box.
It is not added.
If I do with EXACT same .ext on latest FGC, it drops on sheet correctly. So do all my MOD file Rolls.
I do not know anything I changed (other than modifying the CLIList to support querying an "alt_sort_order" field if present to allow overriding of alpha sort - anal me likes SIWDCCh and d4,d6,d8,10,d12,d20 in the list orders) that can do this.
I could not find any onDrop() for the CAS objects but I am bad at coding this stuff - may have missed it?
Or, it could be the "accepts" entry in XML is some flag to automagically merge it in on drops via the FG API. Dunno.
Moon... I really hesitated trying to ask you because it could be SO MUCH on my end that causes it. But maybe anything you might opine on that is different between FGC and FGU that MoreCore's CAS drag/drop may be vulnerable to something I did?
If I use vanilla MC, I can drag/drop fine. So it is me.
So I do not know when it stopped working or if it was always wrong in my extension. I have tons of saved info in git including various tagged test releases I send to Michael Potter ;) for him to look at (under FGC until last 2). So I can get back my stuff but to recreate the pre-update FGC environ would be a pain and unless I find a literal dir copy (I might) it would be fruitless.
I know the issue is in MY code. I just cannot imagine what I did to break it in ONLY FGU.
Recreate:
1. Create a character sheet (blank or from my Pregen (ie presetup with rolls char sheet))
2. Create a new roll using the Rolls sidebar via + >NOT directly on the sheet, that works< .(eliminates issues with my data MOD file.) Anything really including just a name with no dice string.
3. Drag from Rolls to any sheet CLIList box.
It is not added.
If I do with EXACT same .ext on latest FGC, it drops on sheet correctly. So do all my MOD file Rolls.
I do not know anything I changed (other than modifying the CLIList to support querying an "alt_sort_order" field if present to allow overriding of alpha sort - anal me likes SIWDCCh and d4,d6,d8,10,d12,d20 in the list orders) that can do this.
I could not find any onDrop() for the CAS objects but I am bad at coding this stuff - may have missed it?
Or, it could be the "accepts" entry in XML is some flag to automagically merge it in on drops via the FG API. Dunno.
Moon... I really hesitated trying to ask you because it could be SO MUCH on my end that causes it. But maybe anything you might opine on that is different between FGC and FGU that MoreCore's CAS drag/drop may be vulnerable to something I did?
If I use vanilla MC, I can drag/drop fine. So it is me.