Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-45980

QTextEdit and QLineEdit - Windows Speech Recognition (WSR) Words-Related Commands Not Working

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P3: Somewhat important
    • Resolution: Done
    • Affects Version/s: 5.4.1, 5.6.3, 5.9.3, 5.10.0 RC
    • Fix Version/s: 5.12.0
    • Labels:
      None
    • Environment:
      Windows starting from Vista, Windows-7 and up.

      Description

      When using Windows Native dictation (Windows Speech Recognition) in
      Qt 5.4 examples using QLineEdit and QTextEdit widgets,
      dictation works properly, but not word-related commands like:

      • Select <word>;
      • Correct <word>

      There are issues also with sentence-related commands.

      There are no such issues with Notepad, WordPad
      and Word-2010.

      To reproduce:

      0. Attatch a microphone.

      1. Start a Qt example using QTextEdit or QLineEdit,
      i.e. textedit example;

      2. Make Setup including Microphone Training, Voice Training, etc
      rundll32.exe "%windir%\system32\speech\speechux\SpeechUX.dll",
      RunWizard UserEnrollment (Set Up Speech Recognition);

      3. Optional - Learn Tutorial
      rundll32.exe "%windir%\system32\speech\speechux\SpeechUX.dll",
      RunWizard Tutorial (Speech Recognition Tutorial)

      4. Run WSR as
      Speech Recognition floating window (WSR):

      %windir%\speech\common\sapisvr.exe -SpeechUX

      5. Dictate some text to textedit example text area;
      The text is dictated proprely.

      6. Try to use commands like:
      Select <word>
      Correct <word>

      Observe that the commands are not recognized.

      7. Repeat dictation with NotePad, WordPad and/or Word.
      Observe that the commands used in paragraph 6 are
      properly recognized.

      The expectation is that
      Qt text handling widgets to support WSR commands.

        Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

          Activity

            People

            Assignee:
            frederik Frederik Gladhorn
            Reporter:
            coroberti Robert Iakobashvili
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Gerrit Reviews

                There are no open Gerrit changes