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 are not shown after changing the template from LARGE_GRAPHIC_ONLY to LARGE_GRAPHIC_WITH_SOFTBUTTONS #1474
Comments
There's a few problems here. First, your reproduction steps aren't filled out properly. They don't contain any information on when you're sending soft buttons, for example. Second, I don't believe the expected behavior is correct. There are no soft buttons to be displayed on the |
Hi, @joeljfischer Sorry, perhaps I didn't make myself clear. I have modified my reproduction steps and observed behavior. Please check it again. Thanks. |
@zhouxin627 Thanks for updating the issue, it's easier to follow now. Since I don't have your HMI, allow me to ask a few questions that may help us debug the issue. If the SoftButtonReplaceOperation is getting stuck, it may be getting stuck because it's waiting for a response from Core (which is waiting for a response from the HMI). Have you placed breakpoints in the |
Hi @joeljfischer We checked the following logs, all the responses were coming back. |
I went through the steps you provided with the Manticore (https://smartdevicelink.com/resources/manticore/) emulator and I did not have any issues with sending the soft buttons after switching between the I noticed that in the code sample you provided in step 5 that you do not call |
Thank you for the response. The incorrect response is as follows:
I have attached an excel document for providing more details. |
@zhouxin627 Thanks for your detailed report! I manage to recreate the bug and created a PR to fix the issue: #1484. Please let me know if it fixes your issue. |
Hi, @NicoleYarroch The issue has been fixed. Thank you. |
Bug Report
Soft buttons are not shown after changing the template from
LARGE_GRAPHIC_ONLY
toLARGE_GRAPHIC_WITH_SOFTBUTTONS
Preconditions
LARGE_GRAPHIC_ONLY
toLARGE_GRAPHIC_WITH_SOFTBUTTONS
Reproduction Steps
(reference:https://www.smartdevicelink.com/en/guides/iOS/displaying-a-user-interface/text-images-and-buttons/#swift_2)
Expected Behavior
Soft buttons should be shown
Observed Behavior
After Step3,
TILES_ONLY
template is shown with 8 softbuttons OKAfter Step5,
LARGE_GRAPHIC_ONLY
template is shown (No Softbuttons) OKAfter Step7,
LARGE_GRAPHIC_WITH_SOFTBUTTONS
template is shown,with step3's Softbuttons(can't be renewed anymore) NOT OKThe reason might be that the
SDLSoftButtonReplaceOperation
thread is occupied with the previous task processingLARGE_GRAPHIC_ONLY
all the time.OS & Version Information
Occurrence:
100%
Recovery Method:
Disconnect/connect USB cable
Test Case, Sample Code, and / or Example App
Logs:
Log.zip
The text was updated successfully, but these errors were encountered: