Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

Soft Buttons sent via RPC disappear #1000

Closed
joeljfischer opened this issue Jun 28, 2018 · 1 comment · Fixed by #1004
Closed

Soft Buttons sent via RPC disappear #1000

joeljfischer opened this issue Jun 28, 2018 · 1 comment · Fixed by #1004
Labels
bug A defect in the library
Milestone

Comments

@joeljfischer
Copy link
Contributor

joeljfischer commented Jun 28, 2018

Bug Report

On v5.2.0+, when sending a soft button via the Show RPC, they flicker, and appear then disappear.

Nicole was chatting with me on Monday and she thought that the screenManager might be doing something things that were causing my screen display issues. Just to be clear, I updated from 5.11 to 5.20 and did not make a single change (still using RPCs), but my buttons were appearing and then disappearing instantly. Using screen manager to handle button display fixed the disappearing issue, but looks like it requires me to transition several other things so RPCs and screenMgr dont collide.

Reproduction Steps
on hmiLevel didChangeToLevel:
if newLevel == .Full && manager is ready;
Upload a set of base images for icons if needed

Iterate on the 4 items (our 4 command types, like TodaysForecast or WeatherAlerts).
Make SDLAddCommands for the VR strings.
Make buttons for each command.
Send addcommand via manager
End repeat.
Add buttons via SDLShow via manager
Add help phrases to unit via SDLSetGlobalProperties

then
dispatch after 1 second: SDLSetDisplayLayout with SDLPredefinedLayoutTextAndSoftButtonsWithGraphic
Expected Behavior

Soft buttons remain on the screen

Observed Behavior

Soft buttons disappear

OS & Version Information
  • iOS Version: n/a
  • SDL iOS Version: v.5.2.0+
  • Testing Against: unknown
@joeljfischer joeljfischer added the bug A defect in the library label Jun 28, 2018
@joeljfischer joeljfischer added this to the 6.0.1 milestone Jun 28, 2018
@JamaicanRumCream
Copy link

@joeljfischer joeljfischer changed the title Soft Buttons send via RPC disappear Soft Buttons sent via RPC disappear Jun 28, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug A defect in the library
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants