smartdevicelink / generic_hmi

A sample HMI to use with sdl_core
BSD 3-Clause "New" or "Revised" License
8 stars 27 forks source link

HMI does not stop speech-only Alert when receiving CancelInteraction #505

Open jacobkeeler opened 2 years ago

jacobkeeler commented 2 years ago

Bug Report

If an app sends a CancelInteraction request for a speech-only Alert, the HMI responds with IGNORED and does not stop the current TTS. Also applies to SubtleAlert (note that as of now, TTS.Speak does not include a cancelID, so this could only really be correctly applied when the CancelInteraction request has no cancelID included)

Reproduction Steps
  1. Send Alert with only ttsChunks included, TTS is started
  2. Send CancelInteraction with functionID 12
Expected Behavior

TTS stops, app receives SUCCESS for CancelInteraction

Observed Behavior

TTS continues, app receives IGNORED for CancelInteraction

Browser & Version Information