Thread: Beta Release v3.3.7
-
December 8th, 2018, 00:59 #121
Supreme Deity
- Join Date
- Mar 2007
- Posts
- 20,559
I think this is going to have to be an iterative concept. I'm already spending too many cycles on the panel that I should be spending on FGU. Since there are no APIs to do that, it would require implementing and documenting even more APIs. I even thought about making the chat a floating window instead; but I'm worried about whether the current FG client would have crashes since there are many places in the FG code that reference chat window and chat entry, plus ongoing chat log storage in the control itself. As I was saying, the whole chat window usage needs to be reviewed and redone. Unfortunately, this will have to be an effort for another revision.
Cheers,
JPG
-
December 8th, 2018, 01:20 #122
-
December 8th, 2018, 04:33 #123
Whatever this did, it broke my panel ordering.
I redefine the panels such that they render over previously defined panels. This change seems to lock some predefined ordering such that even if I redefine the panels, they're rendered at their predefined older order so my custom assets are always rendering over it..
To clarify, redefine implies replacing such that <panel name="chat"> .... </panel> has no merge attribute. I would redefine for instance, "chat" after a desktop spanning panel, and this would cause the chat window to be rendered atop my custom spanning panel.
This update broke my ordering such that chat and modifier stack, even when redefined are stuck behind my custom panel as they use their predefined order.
I literally can't interact with any of my UI elements because of this.Last edited by Ken L; December 8th, 2018 at 04:47.
-
December 8th, 2018, 08:06 #124
Supreme Deity
- Join Date
- Mar 2007
- Posts
- 20,559
The panel ordering is preserved when the merge attribute is used. It you don't use the merge attribute or delete first, then you will override the ordering, and your new panel will be placed at the end of the definition order.
This is how it should have been done in the first place, but wasn't. Unfortunately, all the panel updates lately brought to light that the behavior was non-deterministic across multiple rulesets and extensions as they used the merge attribute.
Regards,
JPG
-
December 8th, 2018, 17:25 #125
That's not the observed behavior though. I don't use merge attributes in my panels, they're all straight redefines, so they should be placed at the end of the definition order. You can make a test extension with a spanning panel followed by a redefined chat panel and see which renders first. If the spanning panel, you won't even see the chat one. This has been my observation.
The only time I've used the merge attributes is to circumvent this specific change to delete the defaults and create new panels of duplicate behaviors, but named differently. This came at the cost of ruleset and extension-wide changes which isn't desirable.
-
December 8th, 2018, 19:37 #126
Archangel
- Join Date
- Apr 2008
- Location
- Virginia Beach
- Posts
- 3,096
MW, there is some documentation missing from the dataLibrary.lua file. I recommend adding something like the following following the comment line that says "RECORD TYPE LEGEND":
-- sEditMode: [optional]set this to "play" if you want both GMs and players to be able to edit the record (local mode users won't be able to edit). Set it to "none" if you want no edit ability.
-- aGMEditButtons: [optional]This is a list of templates that you can add if you want additional buttons when the record list is in edit mode.
-- sExportPath: [optional]Set this if you want exports going to some place that is not conventional. (I'm not sure what this relative path goes to, but I think it is the FantasyGrounds data path)
Also, the bAllowClientEditMode which is documented doesn't appear to do anything (maybe was deprecated when sEditMode was added?)
-
December 8th, 2018, 19:43 #127
On 3.3.7 Clicking on the sound icon from DOE sound open a blank window. Returning on the 3.3.6, it works like a charm. I will stay on 3.3.6 as the DOE sound is mandatory for me.
-
December 8th, 2018, 20:00 #128Private Messages: My inbox is forever filling up with PMs. Please don't send me PMs unless they are actually private/personal messages. General FG questions should be asked in the forums - don't be afraid, the FG community don't bite and you're giving everyone the chance to respond and learn!
-
December 8th, 2018, 20:08 #129
-
December 8th, 2018, 22:47 #130
Supreme Deity
- Join Date
- Mar 2007
- Posts
- 20,559
Updates
- [DEV] Adjustments to panel merging.
Thread Information
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks