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

SYNC 3.0 bug with button event notifications #1793

Closed
NicoleYarroch opened this issue Sep 24, 2020 · 0 comments · Fixed by #1829
Closed

SYNC 3.0 bug with button event notifications #1793

NicoleYarroch opened this issue Sep 24, 2020 · 0 comments · Fixed by #1829
Assignees
Labels
bug A defect in the library

Comments

@NicoleYarroch
Copy link
Contributor

Bug Report

The screen manager assigns a unique softButtonID to each soft button in the Show request starting with zero. However, it appears that on SYNC 3.0 the module will not send OnButtonEvent notifications when the soft button is selected if the softButtonID is zero. It will send the OnButtonPress notification.

When I configured the screen manager to set the first softButtonID to 100, I received the OnButtonEvent notifications. A workaround for this bug might be to start setting the softButtonIDs at 1 instead of 0.

Reproduction Steps
  1. Use the screen manager to set two soft buttons.
  2. Connect to the SYNC 3.0 module using an iAP (USB) connection.
  3. Select the left-most soft button on the HMI (i.e. the button with softButtonID set to zero)
Expected Behavior

When the button is selected the module should send two OnButtonEvent notifications and one OnButtonPress notification.

OnButtonEvent (notification)
{
    buttonEventMode = BUTTONDOWN;
    buttonName = "CUSTOM_BUTTON";
    customButtonID = 0;
}

OnButtonEvent (notification)
{
    buttonEventMode = BUTTONUP;
    buttonName = "CUSTOM_BUTTON";
    customButtonID = 0;
}

OnButtonPress (notification)
{
    buttonName = "CUSTOM_BUTTON";
    buttonPressMode = SHORT;
    customButtonID = 0;
}
Observed Behavior

When the button is selected the module only sends the OnButtonPress notification.

OnButtonPress (notification)
{
    buttonName = "CUSTOM_BUTTON";
    buttonPressMode = SHORT;
    customButtonID = 0;
}
OS & Version Information
  • iOS Version: 14.0
  • SDL iOS Version: 7.0
  • Testing Against: SYNC 3.0 (BUILD 17276_DEVTEST)
@NicoleYarroch NicoleYarroch added the bug A defect in the library label Sep 24, 2020
@NicoleYarroch NicoleYarroch linked a pull request Oct 22, 2020 that will close this issue
4 tasks
@joeljfischer joeljfischer mentioned this issue Mar 15, 2021
1 task
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
bug A defect in the library
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants