I have a single PanelSet at the root of my scene (created by an OverhangPanelSetScene). For convenience, I've assigned the PanelSet to m.global.panelSet. The first time I add something to the PanelSet's stack it works fine, but any further attempts will always crash the entire device with no errors.
For example. Scene -> PanelSet -> PanelA is added right away when the PanelSet is created -> PanelB is appended to the stack from a user action -> Attempt to add PanelC from a user action will always crash. And it's just using the simple child interface to add them:
After some trial and error, I found it seems to be a very specific case. Only when a panel has m.top.isFullScreen set to true when adding it to the PanelSet does this crash happen. Setting it to false or not setting it at all will not result in the device restarting itself.
Maybe a simple question is: What is the best practice for adding to a PanelSet? Is creating a reference to it in the global node so child Panels can append additional children to it the way it's supposed to be done? All the Roku provided examples seem to only add children from the node that created the panelSet itself, but I guess I don't understand how that's useful in an app where navigation can fork.
"nmaves" wrote: Any update or work around for adding panels that are full width?
(although for all i know this is fixed in 7.7?) Think I have a workaround, by adding two new panels on the right, one wide, one narrow. The narrow one on the far right, leave it empty, set focusable=false. The wide panel, just populate with content sized and translated as if you own the full screen. This idea seemed to work in the experiments I was doing last week.
Is there any work from Roku when this might be fixed or a solid work around?
My panel set starts with a narrow on the left and a wide on the right. When the right panel gains focus it converts to a fullscreen panel. Then when an item on that panel is selected I add another fullscreen panel. BOOM! blows sky high.
If I don't let the first right panel convert to a fullscreen panel everything works but that is not the behavior that I am looking for.