Skip Menu |

This queue is for tickets about the Tcl-Tk CPAN distribution.

Report information
The Basics
Id: 127873
Status: open
Priority: 0/
Queue: Tcl-Tk

People
Owner: Nobody in particular
Requestors: welleozean [...] googlemail.com
Cc: CAC [...] cpan.org
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)



Subject: [macOS] Speech Recognition not recognized
Date: Sat, 1 Dec 2018 10:32:03 +0100
To: bug-Tcl-Tk [...] rt.cpan.org
From: welle Ozean <welleozean [...] googlemail.com>
Hello, I do not know if it can be considered a bug or a missing feature. In any case, Widgets created with Tcl::Tk do not accept as input method the speech-to-text transcription provided by macOS. Interesting enough, the same widgets created directly in Tcl/Tk through Wish accept it without problem. The speech-to-text input on macOS is activated on the Widget with focus by clicking 2 times on FN key. If Tcl::Tk creates the same widget through Tcl/Tk, it is not clear to me why this is treated differently in the two scenarios.. Please, note also this discussion: https://stackoverflow.com/questions/50659910/tcl-tk-gui-macos-speech-to-text-dictation Best, Welle
On Sat Dec 01 03:32:49 2018, welleozean@googlemail.com wrote:
Show quoted text
> Hello,
>
> I do not know if it can be considered a bug or a missing feature. In
> any
> case, Widgets created with Tcl::Tk do not accept as input method the
> speech-to-text transcription provided by macOS. Interesting enough,
> the
> same widgets created directly in Tcl/Tk through Wish accept it without
> problem. The speech-to-text input on macOS is activated on the Widget
> with
> focus by clicking 2 times on FN key.
>
> If Tcl::Tk creates the same widget through Tcl/Tk, it is not clear to
> me
> why this is treated differently in the two scenarios..
>
> Please, note also this discussion:
> https://stackoverflow.com/questions/50659910/tcl-tk-gui-macos-speech-
> to-text-dictation
>
>
> Best,
> Welle

For reference, this affects Tcl::pTk as well: RT #125987
I had opened a ticket with Tcl/Tk since I observed difficulty using macOS dictation even from pure Tcl/Tk programs. I received a reply from one of the Tk Aqua developers indicating that Tk currently makes no effort to support accessibility features:

Tk has no support for accessibility API's on any platform. It would be a great, if complicated, project for someone to take on.

I responded that, although I am not familiar with the Cocoa API, I am under the impression that supporting dictation should not involve any special accessibility API, and that this was something Cocoa apps using the standard widgets are provided "for free" so that dictation is available to users of existing programs without developer intervention.