Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

SystemCapabilityManager screenParams nil, mediaClockFormats empty, and windowID nil when they shouldn't be #2105

Closed
jshivabeharry opened this issue Aug 17, 2022 · 2 comments · Fixed by #2106
Assignees
Labels
bug A defect in the library manager-system-capability Relating to the manager layer - system capability

Comments

@jshivabeharry
Copy link
Contributor

jshivabeharry commented Aug 17, 2022

Bug Summary

When accessing displayCapabilities via the systemCapabilityManager screenParams and mediaClockFormats are empty. In SDLSystemCapabilityManager line 710 the screenParams are not nil and mediaClockFormats are not empty. windowID is also nil from defaultMainWindowCapability

screenParams should not be nil in the systemCapabilityManager.
mediaClockFormats should not be in the systemCapabilityManager.
windowID should not be nil in systemCapabilityManager.

Java Suite had a similar issue for screenParams.

Reproduction Steps

  1. Connect application to manticore.
  2. Get the displayCapabilities property from the systemCapabilityManager.
  3. Check the value of the screenParams and mediaClockFormats
let displayCapabilities = sdlManager.systemCapabilityManager.displayCapabilities
let windowCapability = sdlManager.systemCapabilityManager.defaultMainWindowCapability
let screenParams = displayCapabilities?.screenParams
let mediaClockFormats = displayCapabilities?.mediaClockFormats
let windowID = windowCapability?.windowID

Expected Behavior:
screenParams should not be nil.
mediaClockFormats should not be empty.
windowID should not be nil

Observed Behavior:
screenParams are nil.
mediaClockFormats are empty
windowID is nil

iOS Version(s)

No response

sdl_ios Version

7.5.0

Testing Environment(s)

Manticore v2.10.0

Relevant log output

No response

@jshivabeharry jshivabeharry added bug A defect in the library needs triage An issue that has not yet been triaged labels Aug 17, 2022
@jshivabeharry jshivabeharry self-assigned this Aug 17, 2022
@jshivabeharry jshivabeharry added rpc Relating to the RPC layer and removed needs triage An issue that has not yet been triaged labels Aug 17, 2022
@jshivabeharry jshivabeharry changed the title displayCapabilities screenParams nil in systemCapabilityManager displayCapabilities screenParams and mediaClockFormats nil in systemCapabilityManager Aug 17, 2022
@jshivabeharry jshivabeharry changed the title displayCapabilities screenParams and mediaClockFormats nil in systemCapabilityManager displayCapabilities screenParams nil and mediaClockFormats empty in systemCapabilityManager Aug 17, 2022
@jshivabeharry
Copy link
Contributor Author

Updated Issue for mediaClockFormats being empty as well

@jshivabeharry jshivabeharry changed the title displayCapabilities screenParams nil and mediaClockFormats empty in systemCapabilityManager displayCapabilities screenParams nil and mediaClockFormats empty Aug 17, 2022
@jshivabeharry jshivabeharry changed the title displayCapabilities screenParams nil and mediaClockFormats empty screenParams nil, mediaClockFormats empty, and windowID nil Aug 18, 2022
@jshivabeharry
Copy link
Contributor Author

Updated Issue to include windowID is nil

@jshivabeharry jshivabeharry added manager-system-capability Relating to the manager layer - system capability and removed rpc Relating to the RPC layer labels Aug 18, 2022
@joeljfischer joeljfischer changed the title screenParams nil, mediaClockFormats empty, and windowID nil SystemCapabilityManager screenParams nil, mediaClockFormats empty, and windowID nil when they shouldn't be Aug 22, 2022
@joeljfischer joeljfischer mentioned this issue Sep 23, 2022
1 task
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
bug A defect in the library manager-system-capability Relating to the manager layer - system capability
Projects
None yet
1 participant