Opened 2 years ago

Closed 16 months ago

#3694 closed defect (fixed)

Write TTS feature stops global TTS feature from working

Reported by: garycmartin Owned by: godiard
Priority: Unspecified by Maintainer Milestone: Unspecified
Component: Write Version: Unspecified
Severity: Unspecified Keywords:
Cc: dsd, greenfeld Distribution/OS: OLPC
Bug Status: Unconfirmed

Description

Testing Write-79 on 12.1.0 build 13, XO-1.75

After using the built in text to speech feature in Write-79, the global text to speech feature in the device frame is prevented from speaking. Write must be stopped before global text to speech will work again.

Steps to test:

  • Start Write-79
  • Type some text
  • Select the Speech icon in the Write toolbar and click the play button -> you will hear the text spoken correctly at this point
  • Select some of your text
  • Raise the Frame, click on the Speech device icon and click 'Say selected text' -> no speech will be spoken, it should say the selected text

At this point global TTS will no not work anywhere in Sugar until you Stop Write-79

Attachments (2)

org.laptop.AbiWordActivity.log (5.0 KB) - added by garycmartin 20 months ago.
Traceback after using built in TTS feature (though possibly unrelated to this ticket)
0001-Don-t-pause-audio-stream-when-playback-finishes-3694.patch (1.6 KB) - added by dsd 16 months ago.
patch

Download all attachments as: .zip

Change History (9)

comment:1 Changed 2 years ago by garycmartin

  • Component changed from untriaged to Write

comment:2 Changed 2 years ago by garycmartin

  • Cc dsd Cerlyn added

Just cc:ing Daniel and Sam so they are aware of this TTS bug in 12.1.

comment:3 Changed 2 years ago by greenfeld

  • Cc greenfeld added; Cerlyn removed

comment:4 Changed 20 months ago by garycmartin

Re-testing with 13.1.0 build 20, XO-4 C1, Write-84

Just to confirm that this is still a problem with the latest release candidate build. As soon as the TTS feature in the Write activity toolbar is used, the system wide level TTS feature in the frame stops working until you Stop Write (I assume Write is still not freeing up audio correctly after its own TTS feature is used).

Attached is a Write log after using its built in TTS feature one time, there is a traceback related to espeak but not sure if this is the same issue (I don't remember any tracebacks when I previously tested).

Changed 20 months ago by garycmartin

Traceback after using built in TTS feature (though possibly unrelated to this ticket)

comment:5 Changed 16 months ago by dsd

Gonzalo, I have attached a patch to fix this. Would be great to see it in a new version for 13.2.0.

comment:6 Changed 16 months ago by godiard

Pushed as 85cd9ab565fe37c981221a40f3756d8ceda85bfe

Now we can use Write on vertical orientation, I am trying to fix the toolbar, and release a version for 13.2.0

comment:7 Changed 16 months ago by godiard

  • Resolution set to fixed
  • Status changed from new to closed

Released Write 89 with this change

Note: See TracTickets for help on using tickets.