Empty displayCapabilities in setDisplayLayout response prevents display update #1536
Labels
bug
A defect in the library
manager-system-capability
Relating to the manager layer - system capability
Projects
Bug Report
While processing the response to
setDisplayLayout
, thesdl_displayLayoutResponse
method assumes the presence ofresponse.displayCapabilities
while the protocol specification indicates this is an optional field in the response. If the response contains an emptydisplayCapabilities
field, then the cached value fordisplayCapabilities
gets overwritten and subsequent attempts to update the display fail because the capabilities of the display cannot be determined.Reproduction Steps
screenManager.setDisplayLayout
screenManager.beginUpdates()
screenManager.title = "Title"
screenManager.endUpdates()
Expected Behavior
Title is shown on the screen
Observed Behavior
Title is not shown on the screen
OS & Version Information
Test Case, Sample Code, and / or Example App
The text was updated successfully, but these errors were encountered: