Bug 116031

Summary: appendText method ignored and not working
Product: [Unmaintained] kttsd Reporter: Gary Cramblitt <garycramblitt>
Component: generalAssignee: Gary Cramblitt <garycramblitt>
Status: RESOLVED FIXED    
Severity: normal    
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Compiled Sources   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: test patch

Description Gary Cramblitt 2005-11-10 01:14:40 UTC
Version:           0.3.5 (using KDE KDE 3.5.0)
Installed from:    Compiled From Sources

The appendText method is ignored and does nothing.

Not possible to create multi-part text jobs.
Comment 1 Gary Cramblitt 2005-11-11 14:23:34 UTC
Created attachment 13386 [details]
test patch
Comment 2 Gary Cramblitt 2005-11-11 14:24:31 UTC
To my horror, I discovered this rather embarrassing bug in kttsd.  The effect of the bug is that appendText calls are completely ignored.  appendText is used to add another part to an existing text job created with setText.  Apparently, no apps are currently using this function, but since we won't have another KDE release before KDE4 for quite some time, I'd like to see this fixed for the KDE 3.5 release.

I've made a fix, but unfortunately, it isn't trivial.  The timing of this is really bad because KDE 3.5rc1 is just going out and KDE 3.5final is probably just a week or two away.  I'm reluctant to commit the fix and risk breaking kttsd in some other, unintended way just before release.

So I'm looking for testers who can give me some confidence the fix is OK before I commit it.

If you can help, you'll need to build latest kttsd from svn /branches/KDE/3.5/kdeaccessibility.  Then do the following:

Change to the kdeaccessibility/kttsd/ directory and apply the attached patch.  Then

cd kdeaccessibility/kttsd/compat/interfaces/kspeech/
make install
(if this fails for some reason, just copy kspeech.h to $KDEDIR/include/kspeech.h)

cd kdeaccessibility/kttsd/kttsd/
make install

Restart kttsd and test.  I'm not expecting you to test the appendText call; just test that everything is still working as before.

Thanks
-- 
Gary Cramblitt (aka PhantomsDad)
KDE Text-to-Speech Maintainer
http://accessibility.kde.org/developer/kttsd/index.php
Comment 3 Gary Cramblitt 2005-11-13 20:28:39 UTC
SVN commit 480207 by cramblitt:

BUG:116031 Fix appendText method.  Add version method to dcop interface.

 M  +6 -0      compat/interfaces/kspeech/kspeech.h  
 M  +8 -0      kttsd/kttsd.cpp  
 M  +7 -0      kttsd/kttsd.h  
 M  +102 -64   kttsd/speechdata.cpp  
 M  +3 -2      kttsd/speechdata.h