You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The ScreenManager's endUpdates(completionHandler:) never executes in case the code executed between screenManager.beginUpdates() and screenManager.endUpdates(completionHandler:) are not related to the TextAndGraphicManager
The handler only returns in SDLTextAndGraphicUpdateOperation 's finishOperation func and ignores the other managers(e.g. MenuManager, SoftButtonManager)
Reproduction Steps
let state = SDLSoftButtonState(stateName: "1", text: "Button 1", artwork: nil)
let button = SDLSoftButtonObject(name: "button", state: state, handler: nil)
self.screenManager.beginUpdates()
self.screenManager.softButtonObjects = [button]
self.screenManager.endUpdates { (err) in
let result: SmokeTestResult
if let error = err {
result = SmokeTestResult(success: false, info: "\(error)")
} else {
result = SmokeTestResult(success: true)
}
completionHandler(result)
}
Expected Behavior
screenManager.endUpdates completion block should execute.
Observed Behavior
screenManager.endUpdates completion block does not get any response.
OS & Version Information
iOS Version: N/A
SDL iOS Version: Branch develop
Testing Against: Manticore
Test Case, Sample Code, and / or Example App
This bug was found while working on Smoke Tester app
The text was updated successfully, but these errors were encountered:
Bug Report
The ScreenManager's
endUpdates(completionHandler:)
never executes in case the code executed betweenscreenManager.beginUpdates()
andscreenManager.endUpdates(completionHandler:)
are not related to theTextAndGraphicManager
SDLScreenManager.m:
The handler only returns in
SDLTextAndGraphicUpdateOperation
'sfinishOperation
func and ignores the other managers(e.g. MenuManager, SoftButtonManager)Reproduction Steps
Expected Behavior
screenManager.endUpdates
completion block should execute.Observed Behavior
screenManager.endUpdates
completion block does not get any response.OS & Version Information
Test Case, Sample Code, and / or Example App
This bug was found while working on Smoke Tester app
The text was updated successfully, but these errors were encountered: