Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

IE8 speaking language and input details every time its run #2627

Closed
nvaccessAuto opened this issue Aug 30, 2012 · 28 comments
Closed

IE8 speaking language and input details every time its run #2627

nvaccessAuto opened this issue Aug 30, 2012 · 28 comments

Comments

@nvaccessAuto
Copy link

Reported by briang1 on 2012-08-30 06:08
Since the merge of input methods, IE8 when running in XP seems to be speaking information other than what is required. However it does not always manage to speak it all, even though it appears in the log, as it gets truncated by other strings from the browser. Thus to see what is actually going on I've put a small section of the log in this text as below.

IO - inputCore.InputManager.executeGesture (06:59:03):
Input: kb(desktop):enter
WARNING - stdout (06:59:05):
stringCode 00000000, input method name None
WARNING - stdout (06:59:05):
stringCode 00000809, input method name United Kingdom
IO - speech.speak (06:59:05):
Speaking ('en_UK'), u'English (United Kingdom) - United Kingdom'
IO - speech.speak (06:59:05):
Speaking ('en_UK'), u'Native input'
DEBUGWARNING - watchdog.watcher (06:59:06):
Trying to recover from freeze, core stack:
File "nvda.pyw", line 155, in
File "core.pyc", line 339, in main
File "wx_core.pyc", line 8010, in MainLoop
File "wx_core.pyc", line 7306, in MainLoop
File "core.pyc", line 316, in Notify
File "IAccessibleHandler.pyc", line 837, in pumpAll
File "IAccessibleHandler.pyc", line 585, in processGenericWinEvent
File "IAccessibleHandler.pyc", line 504, in winEventToNVDAEvent
File "NVDAObjects\IAccessible__init
_.pyc", line 38, in getNVDAObjectFromEvent
File "IAccessibleHandler.pyc", line 333, in accessibleObjectFromEvent
File "oleacc.pyc", line 240, in AccessibleObjectFromEvent

DEBUGWARNING - IAccessibleHandler.accessibleObjectFromEvent (06:59:06):
oleacc.AccessibleObjectFromEvent with window 394362, objectID -4 and childID 0:
IO - speech.speak (06:59:06):
Speaking ('en_UK'), u'Windows Internet Explorer'

This does not occur on links, only if the link is a fresh launch of IE. as no swithing of input methods is going on here, the strings being spoken seem pointless.

@nvaccessAuto
Copy link
Author

Comment 1 by briang1 on 2012-08-30 08:42
snap 5381, though best ignore watchdog that seems to have been due to the page it was loading as it does not always occur.

IO - inputCore.InputManager.executeGesture (09:27:04):
Input: kb(desktop):enter
IO - speech.speak (09:27:07):
Speaking dialog'
WARNING - stdout (09:27:07):
stringCode 00000000, input method name None
WARNING - stdout (09:27:07):
stringCode 00000809, input method name United Kingdom
IO - speech.speak (09:27:07):
Speaking multi line'
IO - speech.speak (09:27:07):
Speaking [- speech.speak (09:27:07):
Speaking [u'English (United Kingdom) - United Kingdom'](u'blank']
IO)
IO - speech.speak (09:27:08):
Speaking [- speech.speak (09:27:08):
Speaking [u'Native input'](u'pane']
IO)
IO - tones.beep (09:27:08):
Beep at pitch 113.092520932, for 40 ms, left volume 50, right volume 50
IO - speech.speak (09:27:08):
Speaking percent'
WARNING - stdout (09:27:08):
stringCode 00000000, input method name None
WARNING - stdout (09:27:08):
stringCode 00000809, input method name United Kingdom
IO - speech.speak (09:27:08):
Speaking - '
IO - speech.speak (09:27:08):
Speaking Kingdom'
IO - speech.speak (09:27:08):
Speaking [- tones.beep (09:27:09):
Beep at pitch 116.271984462, for 40 ms, left volume 50, right volume 50
DEBUG - treeInterceptorHandler.update (09:27:09):
Adding new treeInterceptor to runningTable: <virtualBuffers.MSHTML.MSHTML object at 0x03F88AF0>
IO - tones.beep (09:27:09):
Beep at pitch 113.092520932, for 40 ms, left volume 50, right volume 50
IO - speech.speak (09:27:09):
Speaking [u'NVDA - Snapshots'](u'pane']
IO)
DEBUG - queueHandler.registerGeneratorObject (09:27:09):
Adding generator 13
IO - tones.beep (09:27:09):
Beep at pitch 129.909192757, for 40 ms, left volume 50, right volume 50
IO - speech.speak (09:27:09):
Speaking u'banner landmark ', u'link', u'graphic', u'align center', u'NVDA Logo'
IO - speech.speak (09:27:09):
Speaking u'search landmark ', u'edit', u'align left', IndexCommand(3), u'button', u'align center', u'Search'
IO - speech.speak (09:27:09):
Speaking u'link', u'graphic', u'align left', u'Donate'
IO - tones.beep (09:27:09):
Beep at pitch 1760.0, for 40 ms, left volume 50, right volume 50
IO - speech.speak (09:27:09):
Speaking percent'
IO - speech.speak (09:27:17):
Speaking u'navigation landmark ', u'list with 7 items', u'link', u'align center', u'Home', IndexCommand(6), u'link', u'About', IndexCommand(7), u'link', u'Download', IndexCommand(8), u'link', u'Documentation', IndexCommand(9), u'link', u'Recognition', IndexCommand(10), u'link', u'Support', IndexCommand(11), u'link', u'Development', u'out of list'
IO - speech.speak (09:27:20):
Speaking u'main landmark ', u'heading level 1', u'align left', u'NVDA Development Snapshots'
IO - speech.speak (09:27:20):
Speaking u'Included here are automatically generated snapshots of the project in its current state of ', IndexCommand(14), u"development. This allows for testing of new code, but be warned that this is 'bleeding edge' code. "
IO - inputCore.InputManager.executeGesture (09:27:28):
Input: kb(desktop):control+alt+i
INFO - core.main (09:27:28):
Exiting

@nvaccessAuto
Copy link
Author

Comment 2 by briang1 on 2012-08-30 10:22
I have confirmed it was this revision which has caused this as it also happens in the last snap in that branch as well, I've not looked back but main snap 79 was fine.

@nvaccessAuto
Copy link
Author

Comment 3 by ondrosik on 2012-09-03 13:02
I get also info about input when launching poedit:
Speaking [- inputCore.InputManager.executeGesture (15:01:08):
Input: kb(laptop):enter
IO - speech.speak (15:01:08):
Speaking [u'Native input'](u'poedit.exe']
IO)
IO - speech.speak (15:01:08):
Speaking [u'Poedit']

@nvaccessAuto
Copy link
Author

Comment 4 by mdcurran on 2012-09-05 23:19
This should have been fixed in 232959b and 23382c9. Please reopen if the issue still persists.
Changes:
Milestone changed from None to 2012.3
State: closed

@nvaccessAuto
Copy link
Author

Comment 5 by elliott94 on 2012-10-20 13:42
Hopefully you don't mind me reopening this. :)

I've just updated to the latest snap from an older version, and have just noticed that in some cases, NVDA is announcing "United Kingdom" when I alt-tab between apps. While it doesn't do this too much, I can certainly see it getting annoying.
Changes:
State: reopened

@nvaccessAuto
Copy link
Author

Comment 7 by jteh on 2012-10-23 02:42
Are you sure this isn't because you have multiple keyboard layouts installed and you're pressing alt+shift+tab? Alt+shift switches layouts, so pressing alt+shift as part of alt+shift+tab will probably trigger a layout change.

@nvaccessAuto
Copy link
Author

Comment 8 by elliott94 (in reply to comment 7) on 2012-10-23 06:36
Replying to jteh:

Are you sure this isn't because you have multiple keyboard layouts installed and you're pressing alt+shift+tab? Alt+shift switches layouts, so pressing alt+shift as part of alt+shift+tab will probably trigger a layout change.

Sure. I've noticed this when opening applications, it just speaks "United Kingdom". However, after that particular program has been opened once, it doesn't announce it again. While it's not necessarily annoying to hear the announcement once, I can see how users who arn't aware of the change might wonder why language details are being announced. I assume this was the same behaviour that Brian was seeing before 232959b and 23382c9 were merged.

@nvaccessAuto
Copy link
Author

Comment 9 by briang1 on 2012-10-23 21:41
Well, in XP it still occasionally occurs, say in Outlook Express, but its nowhere near like it was when it announced other text as well as just the country. I'm not exactly sure what criteria it needs to happen though. To me its dropped below the annoying level and is more weird.
Certainly not like it was when it would do it on IE particularly most of the time.

@nvaccessAuto
Copy link
Author

Comment 10 by jteh (in reply to comment 8) on 2012-10-23 23:47
Replying to elliott94:

Sure. I've noticed this when opening applications, it just speaks "United Kingdom". However, after that particular program has been opened once, it doesn't announce it again.

Do you have multiple layouts installed? If you do, it's possible you were using a different layout in the previous application and it switched when you opened a new application. If not, there is a problem.

@nvaccessAuto
Copy link
Author

Comment 11 by elliott94 (in reply to comment 10) on 2012-10-24 07:10
Replying to jteh:

Replying to elliott94:

Sure. I've noticed this when opening applications, it just speaks "United Kingdom". However, after that particular program has been opened once, it doesn't announce it again.

Do you have multiple layouts installed? If you do, it's possible you were using a different layout in the previous application and it switched when you opened a new application. If not, there is a problem.

I don't. Under the Keyboards and Languages tab of Region and Language, I've just got English (United Kingdom).

@nvaccessAuto
Copy link
Author

Comment 12 by mdcurran on 2012-10-26 03:00
Have you ever set up speech recognition? this sometimes adds a "speech recognition" tsf profile. We need to be able to identify this one, and ink correction and stop announcing them. Or in theory, only announce keyboard profiles. But there does not seem to be a way of identifying them. I'd say this is what is causing it. Otherwize NVDA caches the last layout name and does not speak it if its the same.

@nvaccessAuto
Copy link
Author

Comment 13 by mdcurran on 2012-10-26 03:06
Assuming you only have one layout installed, this issue should only now be on Win7, not XP. Also I don't really see IE9 doing this. I'm pretty sure that Windows 7 has IE9 in Windows update ... either that or it comes with it.
I don't really think there's anything I can do for 2012.3 accept perhaps for an otpion to not speak them at all, though we're already in language freeze so thats not really possible.

@nvaccessAuto
Copy link
Author

Comment 14 by mdcurran on 2012-10-26 03:13
for now deferring to next release.
Changes:
Milestone changed from 2012.3 to 2013.1

@nvaccessAuto
Copy link
Author

Comment 15 by elliott94 (in reply to comment 13) on 2012-10-26 06:20
Replying to mdcurran:

Have you ever set up speech recognition? this sometimes adds a "speech recognition" tsf profile. We need to be able to identify this one, and ink correction and stop announcing them. Or in theory, only announce keyboard profiles.

I have. Is their any way to see if a profile has been created?

Replying to mdcurran:

Assuming you only have one layout installed, this issue should only now be on Win7, not XP. Also I don't really see IE9 doing this. I'm pretty sure that Windows 7 has IE9 in Windows update ... either that or it comes with it.

Brian mentioned on nvda-dev a couple of days ago that he was still having the same issue in Outlook on XP (http://lists.nvaccess.org/pipermail/nvda-dev/2012-October/030366.html)

@nvaccessAuto
Copy link
Author

Comment 16 by mdcurran (in reply to comment 15) on 2012-10-26 06:28
Replying to elliott94:

If its a problem, you may sometimes hear it say "speech recognition" after announcing the layout. If you never hear this, it probably isn't the reason.

@nvaccessAuto
Copy link
Author

Comment 17 by elliott94 (in reply to comment 16) on 2012-10-26 07:01
Replying to mdcurran:

Replying to elliott94:

If its a problem, you may sometimes hear it say "speech recognition" after announcing the layout. If you never hear this, it probably isn't the reason.

I've only ever heard it announce "United Kingdom", and never anything to do with voice recognission.

Just out of interest, why is this now being announced? Is it to do with automatic announcement of languages in multilanguage documents, etc?

@nvaccessAuto
Copy link
Author

Comment 18 by mdcurran on 2013-01-30 04:41
Something I never noticed on the very first log file posted hear: there seems to be an input lang change to some kind of NULL layout (I.e. the layout code is 00000000). Just a reminder for me: to test this more on XP and make sure that we don't cache the NULL layout.

@nvaccessAuto
Copy link
Author

Comment 19 by briang1 on 2013-01-30 05:20
From the users point of view it seems erratic, and at present is nore obvious on Outlook Express for some reason. I guess its very much a timing thing whether its overwritten so to speak or not by other stuff.

@nvaccessAuto
Copy link
Author

Comment 20 by mdcurran on 2013-01-31 05:22
After many tests on XP with IE8 and Outlook Express I was not able to reproduce the bug. Could someone who sees the bug in Outlook Express or IE please reproduce it and attach a log set to input/output?
Unless any more useful info turns up, moving ot to near-term as can't fix for 2013.1
Changes:
Milestone changed from 2013.1 to near-term

@nvaccessAuto
Copy link
Author

Comment 21 by briang1 on 2013-01-31 11:40
Well this one is in Outlook Express but logged in debug. It mainly occurs in this program when you do new message or reply to. However its very random when it happens. In Ie its usually at the first launch of a day, so my feeling is that faster machines with nulti cores or hyper threading may not do it at all, certainly my dual core laptop won't do it.

IO - inputCore.InputManager.executeGesture (11:31:36):
Input: kb(desktop):enter
IO - speech.speak (11:31:39):
Speaking [- speech.speak (11:31:39):
Speaking [u"Inbox - Outlook Express - Brian's main account"](u'unknown']
IO)
IO - speech.speak (11:31:40):
Speaking Express Message List list'
IO - speech.speak (11:31:40):
Speaking C. Eugen; Subject: Re: Disk notcher; Received: 30/01/2013 18:16 1825 of 1825'
IO - speech.speak (11:31:40):
Speaking C. Eugen; Subject: Re: Disk notcher; Received: 30/01/2013 18:16 1825 of 1825'
IO - inputCore.InputManager.executeGesture (11:31:48):
Input: kb(desktop):control+r
DEBUGWARNING - watchdog.watcher (11:31:49):
Trying to recover from freeze, core stack:
File "nvda.pyw", line 164, in
File "core.pyc", line 301, in main
File "wx_core.pyc", line 8010, in MainLoop
File "wx_core.pyc", line 7306, in MainLoop
File "core.pyc", line 278, in Notify
File "IAccessibleHandler.pyc", line 830, in pumpAll
File "IAccessibleHandler.pyc", line 730, in processForegroundWinEvent
File "IAccessibleHandler.pyc", line 507, in winEventToNVDAEvent
File "NVDAObjects\IAccessible__init
_.pyc", line 37, in getNVDAObjectFromEvent
File "IAccessibleHandler.pyc", line 333, in accessibleObjectFromEvent
File "oleacc.pyc", line 240, in AccessibleObjectFromEvent

DEBUGWARNING - IAccessibleHandler.accessibleObjectFromEvent (11:31:50):
oleacc.AccessibleObjectFromEvent with window 196860, objectID -4 and childID 0:
DEBUGWARNING - IAccessibleHandler.accessibleObjectFromEvent (11:31:51):
oleacc.AccessibleObjectFromEvent with window 196860, objectID -4 and childID 0:
DEBUGWARNING - IAccessibleHandler.accessibleObjectFromEvent (11:31:51):
oleacc.AccessibleObjectFromEvent with window 66452, objectID -4 and childID 1:
IO - speech.speak (11:32:02):
Speaking (United Kingdom) - United Kingdom'
IO - speech.speak (11:32:02):
Speaking Disk notcher'
IO - speech.speak (11:32:02):
Speaking editable'

@nvaccessAuto
Copy link
Author

Comment 22 by ruifontes (in reply to comment 20) on 2013-02-06 17:41
Hello.
another log about this issue. In Windows Live Mail, when deleting a group of messages:

Braille regions text: Live Mail dlg ', u'Sim bto Alt+s'
IO - braille.BrailleHandler.update (16:24:58):
Braille window dots: 24567 24 1345 145 135 2456 234 - 1237 24 1236 15 - 1347 1 24 123 - 145 123 1245 - 2347 24 134 - 12 2345 135 - 17 123 2345 235 234
IO - inputCore.InputManager.executeGesture (16:24:59):
Input: kb(desktop):enter
DEBUGWARNING - watchdog._watcher (16:24:59):
Trying to recover from freeze, core stack:
File "nvda.pyw", line 157, in
File "core.pyc", line 305, in main
File "wx_core.pyc", line 8010, in MainLoop
File "wx_core.pyc", line 7306, in MainLoop
File "core.pyc", line 281, in Notify
File "IAccessibleHandler.pyc", line 830, in pumpAll
File "IAccessibleHandler.pyc", line 730, in processForegroundWinEvent
File "IAccessibleHandler.pyc", line 499, in winEventToNVDAEvent
File "_UIAHandler.pyc", line 231, in isUIAWindow

DEBUGWARNING - core.Notify (16:25:00):
errors in this core pump cycle
Traceback (most recent call last):
File "core.pyc", line 281, in Notify
File "IAccessibleHandler.pyc", line 830, in pumpAll
File "IAccessibleHandler.pyc", line 730, in processForegroundWinEvent
File "IAccessibleHandler.pyc", line 499, in winEventToNVDAEvent
File "_UIAHandler.pyc", line 233, in isUIAWindow
File "watchdog.pyc", line 140, in sendMessageCallCanceller
CallCancelled
IO - speech.speak (16:25:01):
Speaking ('pt_BR'), u'Windows Live Mail di\xe1logo A eliminar mensagens...\nNome:\nDe:\nPara:\nTempo restante:\nA calcular...\nItens restantes:\nA calcular...\nVelocidade:\nA calcular...'
IO - braille.BrailleBuffer.update (16:25:01):
Braille regions text: Live Mail dlg A eliminar mensagens...\nNome:\nDe:\nPara:\nTempo restante:\nA calcular...\nItens restantes:\nA calcular...\nVelocidade:\nA calcular...'
IO - braille.BrailleHandler.update (16:25:01):
Braille window dots: 24567 24 1345 145 135 2456 234 - 1237 24 1236 15 - 1347 1 24 123 - 145 123 1245 - 17 - 15 123 24 134 24 1345 1 1235 -
IO - speech.speak (16:25:01):
Speaking ('pt_BR'), u'Portugu\xeas (Portugal) - Portugu\xeas'
IO - braille.BrailleBuffer.update (16:25:01):
Braille regions text: (Portugal) - Portugu\xeas'
IO - braille.BrailleHandler.update (16:25:01):
Braille window dots: 12347 135 1235 2345 136 1245 136 126 234 - 1268 12347 135 1235 2345 136 1245 1 123 3458 - 36 - 12347 135 1235 2345 136 1245 136 126 234
IO - speech.speak (16:25:01):
Speaking ('pt_BR'), u'Cancelar bot\xe3o'
IO - braille.BrailleBuffer.update (16:25:02):
Braille regions text: Live Mail dlg A eliminar mensagens...\nNome:\nDe:\nPara:\nTempo restante:\nA calcular...\nItens restantes:\nA calcular...\nVelocidade:\nA calcular... ', u'Cancelar bto'

Rui
Replying to mdcurran:

After many tests on XP with IE8 and Outlook Express I was not able to reproduce the bug. Could someone who sees the bug in Outlook Express or IE please reproduce it and attach a log set to input/output?

Unless any more useful info turns up, moving ot to near-term as can't fix for 2013.1

@dkager
Copy link
Collaborator

dkager commented Jul 22, 2017

This sounds like a specific case of #7383. Also, it mentions IE8, which is obsolete.
@LeonarddeR @jcsteh Would you agree with closing?

@Brian1Gaff
Copy link

Brian1Gaff commented Jul 22, 2017 via email

@Brian1Gaff
Copy link

Brian1Gaff commented Jul 22, 2017 via email

@LeonarddeR
Copy link
Collaborator

When this is indeed XP specific, I'd say let's close. This is not live threatening at all, even though annoying.

@dkager
Copy link
Collaborator

dkager commented Jul 22, 2017

This is not specific to XP. However, it is also not specific to one program, e.g. I usually get this when starting Skype 7. That's why I was thinking about closing and further discussing in #7383.

@bhavyashah
Copy link

In conclusion, do we all agree to close this in order to consolidate discussion in #7383?

@dkager
Copy link
Collaborator

dkager commented Aug 13, 2017

In conclusion, do we all agree to close this in order to consolidate discussion in #7383?

I don't know if we all agree, but sounds good to me.

@dkager dkager closed this as completed Aug 13, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

6 participants