Fix compile error in RowListFocusStyleTest (FloatFullScreen.xml) - #82
Open
rajashekharrangappa wants to merge 1 commit into
Open
Conversation
The BrightScript inside the CDATA block was collapsed onto a single
physical line, with spaces where statement separators belonged:
Sub init() m.top.setFocus(true) ... end Sub
BrightScript statements are newline-terminated, so the compiler failed
on FloatFullScreen.xml(7):
Syntax Error. (compile error &h02) in pkg:/components/FloatFullScreen.xml(7)
***ERROR compiling FloatFullScreen:
This made the whole sample channel fail to build, so the
"FloatingFocus - Full screen width" entry in testListScene could not be
opened.
Restore the line breaks and indentation, matching the formatting of the
sibling FloatCropToItems.xml. No logic or RowList attributes changed.
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
TwitchBronBron
approved these changes
Sep 3, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Problem
The
RowListFocusStyleTestsample fails to build. The BrightScript inside the<![CDATA[ ]]>block ofFloatFullScreen.xmlis collapsed onto a single physical line, with runs of spaces where the statement separators should be:BrightScript statements are newline-terminated, so the parser hits
Sub init() m.top.setFocus(true)and stops:Because the failure is at compile time, the entire channel fails to sideload — not just this one screen. The "FloatingFocus - Full screen width" entry listed in
testListScene.xmlcan't be reached at all.Fix
Restore the line breaks and indentation in the script block, matching the formatting already used by the sibling
FloatCropToItems.xml.No logic changes, and none of the
RowListattributes (rowFocusAnimationStyle,focusXOffset,rowItemSize, etc.) were touched — this is purely the whitespace that the compiler needs.Notes
RowListContentTaskandPosterItemboth exist in the sample, so no other files needed changes.FloatFullScreen.xmlwas the only occurrence.m.LoadTaskandm.loadTask. BrightScript identifiers are case-insensitive so it worked either way, but it's now consistentlym.LoadTask.🤖 Generated with Claude Code