Bug 742747 - Jobs tab in Text-to-Speech control module breaks Text-to-speech if Jovie is already running
Summary: Jobs tab in Text-to-Speech control module breaks Text-to-speech if Jovie is a...
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: Fedora
Classification: Fedora
Component: kdeaccessibility
Version: 15
Hardware: x86_64
OS: Linux
unspecified
unspecified
Target Milestone: ---
Assignee: Than Ngo
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-10-02 12:01 UTC by Tomas Miljenović (TomasM)
Modified: 2012-08-07 19:03 UTC (History)
7 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2012-08-07 19:03:19 UTC
Type: ---


Attachments (Terms of Use)
Sample patch preventing KttsJobMgr from being created (89 bytes, text/plain)
2011-10-02 12:07 UTC, Tomas Miljenović (TomasM)
no flags Details

Description Tomas Miljenović (TomasM) 2011-10-02 12:01:39 UTC
Description of problem:
Jovie stops working when the KDE Control Module for Text-to-Speech is opened and a KttsJobMgr widget is created (c.f. Jobs tab).  It continues not to work until kttsd is disabled (killing Jovie) and then re-enabled.

Version-Release number of selected component (if applicable):
- kdeaccessibility-4.6.5-1.fc14
- this should also affect kdeaccessibility-4.7.1-1.fc16 on Fedora 16 (tested with rebuild for Fedora 15)

How reproducible:
Always.


Steps to Reproduce:
1. Start Jovie; verify (e.g.) speaking from clipboard works
2. Open Text-to-Speech KCM (e.g. by right-clicking Jovie tray icon and selecting configure option).  Try speaking (e.g.) from clipboard.
3. From the first ('General') tab in the control module, uncheck then recheck 'Enable Text-to-Speech System (Jovie)'. Try speaking (e.g.) from clipboard.
  
Actual results:
1: Text-to-speech works.
2: speech-dispatcher falls back to its dummy output module.  The Jobs tab shows a KttsJobMgr widget containing a TalkerWidget, which displays a table of languages and output modules.
3: Text-to-speech works.  If you now look at the Jobs tab, the TalkerWidget will only show one row with "The name org.kde.KSpeech was not provided by any .service files" in each column.

Expected results:
Text-to-speech always works, and the TalkerWidget always displays the correct information.

Additional info:
- Adding speakers and filters before step 3. above and hitting 'apply' results in text-to-speech working, but the problem reoccurs once both Jovie and the control module are closed and steps 1. and 2. are repeated.
- Changing the D-Bus application names from "org.kde.KSpeech" to "org.kde.jovie" in jovie/kcmkttsmgr/kttsjobmgr.cpp and jovie/kcmkttsmgr/talkerwidget.cpp does not fix the bug.
- Patching kdeaccessibility to Remove the Jobs tab and its KttsJobMgr solves any breakage with text-to-speech, but (obviously) removes the functionality that widget provides.  As I have no idea what the point of the TalkerWidget is, or why it displays non-configured speakers, I'm not sure if that is significant.

Comment 1 Tomas Miljenović (TomasM) 2011-10-02 12:07:47 UTC
Created attachment 525925 [details]
Sample patch preventing KttsJobMgr from being created

Sample patch preventing KttsJobMgr from being created.  This works as a quick and non-invasive temporary solution, but I'm not sure it's the best way to go.

Comment 2 Rex Dieter 2011-12-09 19:53:11 UTC
Rebasing for f15 at least.

Not sure about this, we've not much experience with this code, mind asking upstream 
https://mail.kde.org/mailman/listinfo/kde-accessibility
for comment/advice?

Comment 3 Fedora End Of Life 2012-08-07 19:03:21 UTC
This message is a notice that Fedora 15 is now at end of life. Fedora
has stopped maintaining and issuing updates for Fedora 15. It is
Fedora's policy to close all bug reports from releases that are no
longer maintained. At this time, all open bugs with a Fedora 'version'
of '15' have been closed as WONTFIX.

(Please note: Our normal process is to give advanced warning of this
occurring, but we forgot to do that. A thousand apologies.)

Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, feel free to reopen
this bug and simply change the 'version' to a later Fedora version.

Bug Reporter: Thank you for reporting this issue and we are sorry that
we were unable to fix it before Fedora 15 reached end of life. If you
would still like to see this bug fixed and are able to reproduce it
against a later version of Fedora, you are encouraged to click on
"Clone This Bug" (top right of this page) and open it against that
version of Fedora.

Although we aim to fix as many bugs as possible during every release's
lifetime, sometimes those efforts are overtaken by events. Often a
more recent Fedora release includes newer upstream software that fixes
bugs or makes them obsolete.

The process we are following is described here:
http://fedoraproject.org/wiki/BugZappers/HouseKeeping


Note You need to log in before you can comment on or make changes to this bug.