Closed Bug 502233 Opened 15 years ago Closed 15 years ago

Webpage reading program(text to speech) stopped working in Firefox environment after upgrade

Categories

(Firefox :: Disability Access, defect)

x86
Windows XP
defect
Not set
major

Tracking

()

RESOLVED FIXED
Firefox 3.6b1
Tracking Status
status1.9.1 --- .6-fixed

People

(Reporter: elh.yaron, Assigned: martijn.martijn)

References

(Blocks 1 open bug)

Details

(Keywords: access, regression)

Attachments

(1 file)

User-Agent:       Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1; .NET CLR 2.0.50727; .NET CLR 3.0.04506.648; .NET CLR 3.5.21022; .NET CLR 3.0.4506.2152; .NET CLR 3.5.30729)
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.1) Gecko/20090624 Firefox/3.5

I think it has to do with a new way Firefox handles clipboard information,
the way the program works is that you copy a segment text from a website and the program reads it to you using the Microsoft text-to-speech engine.

Program is called TTSReader

Program works as usual in Internet explorer and desktop applications, only in the Firefox environment the functionality of reading from clipboard don't work.


Reproducible: Always

Steps to Reproduce:
1.open TTSReader.
2.Select read from clipboard option( button on the top)
3. Browse to any webpage can try to copy text, listen to see if the program is reading the text.
Actual Results:  
No special steps except the three written above, the functionality of the program is very simple, you copy text to the clipboard, the text gets read.

Expected Results:  
Nothing happened, maybe the text was copied to the clipboard but the program did not read it.

The text would be read aloud through the speakers


-- in testing the problem all add-ons were disable, started in safe mode
result is the same.
Program worked perfectly in previous versions, until this release v3.5
I went to http://www.marcozehe.de/2009/07/01/the-wai-aria-windows-screen-reader-shootout/ to see how TTSReader compared but it wasn't mentioned :(
Seeing the link you sent, those programs are for people with different disabilities, different needs.

Am dyslexic, so the functionality of being able to capture large segments of text and have them read to you is a major advantage. 

Because the program reads faster than I reed, makes less mistakes. 

The lost of this functionality is a major problem for me, so much of a problem that I am forced to use Internet Explorer(may God forgive me) to file these bug report
Confirmed with latest trunk, and Windows Vista.
Regression range: http://hg.mozilla.org/mozilla-central/pushloghtml?startdate=2008-08-12+22%3A00%3A00&enddate=2008-08-13+02%3A00%3A00

I hear the text after having closed the Firefox browser, but that seems a tiring way to read. Maybe caused by Bug 215719 ?
Status: UNCONFIRMED → NEW
Ever confirmed: true
Keywords: regression
you're right that text is being read after closing the browser, it's like it's being released.

This and posts I have read developers changed something in the way Firefox handles information past to the clipboard, is may be in the fault here.
I'm sorry that I've caused this. I don't know of a better way than to backout the patch for bug 215719. Since a crash shouldn't happen anyway, this bug is worse than that bug.
Attachment #388785 - Flags: review?(roc)
I don't understand how your patch in bug 215719 would cause this unless TTSReader is relying on weird things it shouldn't be relying on.
In other words, flushing the clipboard shouldn't break TTSReader.
I made tryserver builds with the patch:
https://build.mozilla.org/tryserver-builds/mwargers@mozilla.com-1247713439/
Yaron or Ria, could you perhaps verify with that build, if it fixes the bug?
The windows build is not there yet, it can take a while before they appear.
Yes, this fixes the issue.
Ok, thanks for testing. I sent out an e-mail to bugs(at)sphenet.com, asking if they could perhaps fix it from their end. Because Robert seems to think the offending patch shouldn't break TTSReader.
If that doesn't help or I don't get a reply, I'll just back out the patch for now and then ask if I can get the patch in for Firefox3.5.2.
Assignee: nobody → martijn.martijn
I'm sorry I couldn't test the fix, I don't know exactly how to do that.

Anyway the TTSReader has a standalone version, that doesn't require installation. Could be used to test if the fix works.

I personally already contacted the developers at the sphenet, and he was kind enough to send me a temporary fix, furthermore he said that not granting programs immediate access to the clipboard, could break other programs that uses the clipboard and is not isolated to TTSReader.
Ok, I contacted sphenet too, and I got this reply:
"
Hello.

The problem has been fixed in the current build of TTSReader ( not released yet ).
The build with the fix is here : sphenet.com/Files/TTSReader_FireFoxFix_1.30+.zip
The problem was that TTSReader failed to obtain ownership of the clipboard when a clipboard notification is received. Other programs may have the same problem.

Regards,
SpheNet.
"

So they seem to acknowledge that the problem is on their side, afaict.
So I'd like to not back out the patch, then. I guess other programs could break, but at this point it's not clear.
I got another reply, it seems they think the problem is in Firefox:
"
I think FireFox has the problem. The problem occurs because OpenClipboard fails when WM_DRAWCLIPBOARD is received.
"

To be honest, I don't know what to do anymore. Maybe I should still do the backout?
I don't know either. Probably should do the backout.
Keywords: checkin-needed
Comment on attachment 388785 [details] [diff] [review]
backout patch from bug 215719

This is just a backout from the patch from bug 215719, so there is no risk, apart from reregressing that bug.
Attachment #388785 - Flags: approval1.9.1.2?
Pushed on Martijn's behalf in changeset http://hg.mozilla.org/mozilla-central/rev/0bf3263fba5d
Status: NEW → RESOLVED
Closed: 15 years ago
Keywords: checkin-needed
Resolution: --- → FIXED
Comment on attachment 388785 [details] [diff] [review]
backout patch from bug 215719

Not for 1.9.1.2.
Attachment #388785 - Flags: approval1.9.1.2? → approval1.9.1.3?
Attachment #388785 - Flags: approval1.9.1.3? → approval1.9.1.4+
Comment on attachment 388785 [details] [diff] [review]
backout patch from bug 215719

Approved for 1.9.1.4, a=dveditz for release-drivers
Comment on attachment 388785 [details] [diff] [review]
backout patch from bug 215719

past code-freeze for 1.9.1.4, removing non-blocker approval.
Attachment #388785 - Flags: approval1.9.1.4+ → approval1.9.1.4-
Attachment #388785 - Flags: approval1.9.1.5?
Attachment #388785 - Flags: approval1.9.1.5? → approval1.9.1.5+
Comment on attachment 388785 [details] [diff] [review]
backout patch from bug 215719

Approved for 1.9.1.5, a=dveditz for release-drivers
Keywords: checkin-needed
Version: unspecified → Trunk
Blocks: 1002410
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: