GNOME Bugzilla – Bug 639876
sometimes I can not hear the name of the window when I press alt+tab
Last modified: 2011-01-22 01:45:35 UTC
After I load a new profile and quit an application,I can not hear the name of the window when I press alt+tab. to reproduce try the following steps: 1. Launch orca. 2. Go to terminal and launch gedit. 3. Press ctrl+q to close the application. 4. Press alt+tab, orca reads the name of the next window, as expected. 5. Go to orca preferences and load a diferent profile. 6. Close the preferences pressing the escape key. 7. go to terminal and lanch gedit. 8. Press ctrl+q to close gedit. 9. Press alt+tab, orca does not announce the name of the nex window. 10. Launch orca again and things return to normal state.
Created attachment 178645 [details] debug file with the execution of the steps
I confirmed Jose wrote test steps, the problem is reproducable. Jose, I think need adding the whiteboard edit box the profiles tag, because the problem is happening if you loading a new profile. I added keywords text box with Accessibility tag, but I not possible adding the whiteboard field with profiles section.
Jose, I not always profile loading see this problem. Unfortunately when I using longer time with Orca, I not alwais hear the switched window with Alt+Tab key. You confirming this, or this problem is happening your machine only after profile load? I found only following traceback error message with your debug file, with I don't no real or not: Traceback (most recent call last):
+ Trace 225604
[''])
ORBit.load_typelib('GNOME_Speech')
Attila
(In reply to comment #3) > Jose, I not always profile loading see this problem. > Unfortunately when I using longer time with Orca, I not alwais hear the > switched window with Alt+Tab key. You confirming this, or this problem is > happening your machine only after profile load? Only after profile is loaded. Sometimes orca freezes after I close an, application but I think that this is another problem. > I found only following traceback error message with your debug file, with I > don't no real or not: > Traceback (most recent call last): > If I am not mistaken this is an old message that happens everytime that the preferences page is activated. Maybe I am wrong.
Yes, you are remember right. Because gnome-speech driver is default not installed, this is real. Attila
I found another way to reproduce the problem. 1. With thunderbird in the focus press OrcaKey+ctrl+space to activate the preferences page for thunderbird. 2. Click in the ok button to close the preferences page. 3. Activate gedit. 4. Press ctrl+q to close gedit. 5. Try switch to another window using alt+tab. Orca does not announce the name of the window.
(In reply to comment #6) > I found another way to reproduce the problem. This suggests it's not a profiles issue.
I confirm this second reproducation test steps. I opened Thunderbird and doing the steps. After I closed Gedit, only opened Thunderbird and Orca Screen Reader main window, but when I not released the alt key, Orca not spokening the switched application window title when ciclical switching the window. When I released the alt key after I positioned the Orca screen reader, I impossible to jumps with main window controls with Tab key, only Orca restart help. With my end of debug.out file have following informations with possible help: ^^^^^ PROCESS OBJECT EVENT window:activate ^^^^^ ----------> QUEUEING OBJECT:CHILDREN-CHANGED:REMOVE DEQUEUED OBJECT:CHILDREN-CHANGED:REMOVE <---------- vvvvv PROCESS OBJECT EVENT object:children-changed:remove vvvvv OBJECT EVENT: object:children-changed:remove detail=(8,0,None) ^^^^^ PROCESS OBJECT EVENT object:children-changed:remove ^^^^^ KEYEVENT: type=0 id=65507 hw_code=37 modifiers=8192 event_string=(Control_L) is_text=True timestamp=1532262 time=1295588431.357566 KEYBOARDEVENT: type=0 id=65507 hw_code=37 modifiers=0 event_string=(Control_L) keyval_name=(Control_L) is_text=True timestamp=1532262 time=1295588431.357853 orca.keyEcho: string to echo: Control_L orca.isModifierKey: returning: True orca.isModifierKey: returning: True orca.isModifierKey: returning: True KEYEVENT: type=1 id=65507 hw_code=37 modifiers=8196 event_string=(Control_L) is_text=True timestamp=1532321 time=1295588431.415640 KEYBOARDEVENT: type=1 id=65507 hw_code=37 modifiers=4 event_string=(Control_L) keyval_name=(Control_L) is_text=True timestamp=1532321 time=1295588431.415926 orca.isModifierKey: returning: True orca.isModifierKey: returning: True KEYEVENT: type=0 id=65513 hw_code=64 modifiers=8192 event_string=(Alt_L) is_text=True timestamp=1534984 time=1295588434.079735 KEYBOARDEVENT: type=0 id=65513 hw_code=64 modifiers=0 event_string=(Alt_L) keyval_name=(Alt_L) is_text=True timestamp=1534984 time=1295588434.080023 orca.keyEcho: string to echo: Alt_L orca.isModifierKey: returning: True orca.isModifierKey: returning: True orca.isModifierKey: returning: True ----------> QUEUEING WINDOW:DEACTIVATE DEQUEUED WINDOW:DEACTIVATE <---------- vvvvv PROCESS OBJECT EVENT window:deactivate vvvvv OBJECT EVENT: window:deactivate detail=(0,0,Beérkezett üzenetek - Helyi mappák - Mozilla Thunderbird) app.name='Thunderbird' name='Beérkezett üzenetek - Helyi mappák - Mozilla Thunderbird' role='frame' state='enabled horizontal opaque resizable sensitive showing visible' relations='node child of embeds' LOCUS OF FOCUS: None event='window:deactivate' ^^^^^ PROCESS OBJECT EVENT window:deactivate ^^^^^ ----------> QUEUEING WINDOW:ACTIVATE DEQUEUED WINDOW:ACTIVATE <---------- vvvvv PROCESS OBJECT EVENT window:activate vvvvv OBJECT EVENT: window:activate detail=(0,0,Orka képernyőolvasó és nagyító) app.name='orca' name='Orka képernyőolvasó és nagyító' role='frame' state='active enabled resizable sensitive showing visible' relations='' mapped orca to orca Looking for app-settings.orca.py Could not import app-settings.orca.py ACTIVE SCRIPT: orca (module=orca.scripts.toolkits.GAIL) (reason=window:activate event) LOCUS OF FOCUS: app='orca' name='Orka képernyőolvasó és nagyító' role='frame' event='window:activate' generate braille for focused app.name='orca' name='Orka képernyőolvasó és nagyító' role='frame' state='active enabled resizable sensitive showing visible' relations='' (args={'formatType': 'focused', 'role': ROLE_FRAME, 'mode': 'braille', 'recursing': True}) using '(includeContext and (ancestors + (rowHeader and [Region(" " + asString(rowHeader))]) + (columnHeader and [Region(" " + asString(columnHeader))]) + (radioButtonGroup and [Region(" " + asString(radioButtonGroup))]) + [Region(" ")]) or []) + [Component(obj, asString(((label + displayedText) or name) + value + roleName + alertAndDialogCount))] + (nodeLevel and [Region(" " + asString(nodeLevel))])' includeContext=True generate braille for focused app.name='orca' name='orca' role='application' state='' relations='' (args={'formatType': 'focused', 'role': ROLE_APPLICATION, 'mode': 'braille', 'includeContext': False, 'recursing': True}) using '[Component(obj, asString(label + displayedText + value + roleName + required))]' label=[] displayedText=['orca'] value=[''] roleName=['Alkalmaz\xc3\xa1s'] required=[] generate braille results: Component: 'orca Alkalmazás', 0 ancestors=[<orca.braille.Component instance at 0x97bb12c>] rowHeader=[] columnHeader=[] radioButtonGroup=[] label=[] displayedText=['Orka k\xc3\xa9perny\xc5\x91olvas\xc3\xb3 \xc3\xa9s nagy\xc3\xadt\xc3\xb3'] value=[''] roleName=['Keret'] Finding top-level object for source.name=Orka képernyőolvasó és nagyító alertAndDialogCount=[] nodeLevel=[] generate braille results: Component: 'orca Alkalmazás', 0 Region: ' ', 0 Component: 'Orka képernyőolvasó és nagyító Keret', 0 BRAILLE LINE: 'orca Alkalmazás Orka képernyőolvasó és nagyító Keret' VISIBLE: 'Orka képernyőolvasó és nagyító K', cursor=1 generate speech for unfocused app.name='orca' name='Orka képernyőolvasó és nagyító' role='frame' state='active enabled resizable sensitive showing visible' relations='' (args={'recursing': True, 'priorObj': None, 'role': ROLE_FRAME, 'mode': 'speech', 'formatType': 'unfocused'}) using 'newAncestors + newRowHeader + newColumnHeader + newRadioButtonGroup + labelAndName + allTextSelection + roleName + unfocusedDialogCount + availability + newNodeLevel + unselectedCell + (tutorial and (pause + tutorial) or [])' newAncestors=[] newRowHeader=[] newColumnHeader=[] newRadioButtonGroup=[] labelAndName=['Orka k\xc3\xa9perny\xc5\x91olvas\xc3\xb3 \xc3\xa9s nagy\xc3\xadt\xc3\xb3', {'average-pitch': 3.0, 'rate': 90.0, 'gain': 10.0, 'family': {'locale': 'hu', 'name': 'hungarian'}}] allTextSelection=[] roleName=['keret', {}] Finding top-level object for source.name=Orka képernyőolvasó és nagyító unfocusedDialogCount=[] availability=[] newNodeLevel=[] unselectedCell=[] Finding top-level object for source.name=Orka képernyőolvasó és nagyító GENERATOR: _getTutorialForFrame obj = Orka képernyőolvasó és nagyító role = frame alreadyFocused = False utterances: GENERATOR: getTutorial obj = Orka képernyőolvasó és nagyító role = frame alreadyFocused = False utterances: () tutorial=[''] pause=[<orca.speech_generator.Pause instance at 0x91fe24c>] generate speech results: Orka képernyőolvasó és nagyító {'average-pitch': 3.0, 'rate': 90.0, 'gain': 10.0, 'family': {'locale': 'hu', 'name': 'hungarian'}} keret {} <orca.speech_generator.Pause instance at 0x91fe24c> SPEECH OUTPUT: 'Orka képernyőolvasó és nagyító keret.' This final spokened speech output is spokened when I released the Alt key, but before I not doing this, any window titles is not spokened or brailled. I attaching my debug.out file with next comment. Attila
Created attachment 178907 [details] Jose second wrote steps generated debug.out file I forgot wrote prewious comment: I morning full uptodate Orca with latest git master version before doing this test. Attila
The problem persists even using latest orca from git. I found in the debug file some messages but I am not sure if they are related to the bug. vvvvv PROCESS OBJECT EVENT object:children-changed:remove vvvvv OBJECT EVENT: object:children-changed:remove detail=(23,0,None) KeyError deregistering object:state-changed:selected listener KeyError deregistering object:state-changed:expanded listener KeyError deregistering object:value-changed listener KeyError deregistering object:state-changed:focused listener KeyError deregistering object:state-changed:active listener KeyError deregistering window:create listener KeyError deregistering object:text-attributes-changed listener KeyError deregistering object:text-caret-moved listener KeyError deregistering object:selection-changed listener KeyError deregistering focus: listener KeyError deregistering object:active-descendant-changed listener KeyError deregistering object:property-change:accessible-name listener KeyError deregistering mouse:button listener KeyError deregistering object:state-changed:indeterminate listener KeyError deregistering object:link-selected listener KeyError deregistering object:text-changed:insert listener KeyError deregistering object:property-change:accessible-value listener KeyError deregistering object:text-selection-changed listener KeyError deregistering object:state-changed:showing listener KeyError deregistering object:text-changed:delete listener KeyError deregistering object:state-changed:pressed listener KeyError deregistering object:state-changed:checked listener KeyError deregistering object:state-changed:selected listener KeyError deregistering object:state-changed:expanded listener KeyError deregistering object:value-changed listener KeyError deregistering object:state-changed:focused listener KeyError deregistering object:state-changed:active listener KeyError deregistering window:create listener KeyError deregistering object:text-attributes-changed listener KeyError deregistering object:text-caret-moved listener KeyError deregistering object:selection-changed listener KeyError deregistering focus: listener KeyError deregistering object:active-descendant-changed listener KeyError deregistering object:property-change:accessible-name listener KeyError deregistering window:activate listener KeyError deregistering window:deactivate listener KeyError deregistering mouse:button listener KeyError deregistering object:state-changed:indeterminate listener KeyError deregistering object:link-selected listener KeyError deregistering object:text-changed:insert listener KeyError deregistering object:property-change:accessible-value listener KeyError deregistering object:text-selection-changed listener KeyError deregistering object:state-changed:showing listener KeyError deregistering object:text-changed:delete listener KeyError deregistering object:state-changed:pressed listener KeyError deregistering object:state-changed:checked listener
I'm not surprised it still persists in the latest Orca from git as I've not looked at the bug yet. :-) But thanks for the update!
Jose, bingo. I see this message with my attached debug.out file with an another bugreport, and some traceback error messages. Look my last comment with bug 640132. So, this message are equals with Orca some time unresponsive problem and this bug problem. Attila
Don't deregister event listers when the settings are loaded or reloaded: http://git.gnome.org/browse/orca/commit/?id=299d347e7756afa63f1fa18617837616c0c433ca José, can you still reproduce this bug?
(In reply to comment #13) > Don't deregister event listers when the settings are loaded or reloaded: > > http://git.gnome.org/browse/orca/commit/?id=299d347e7756afa63f1fa18617837616c0c433ca > > José, can you still reproduce this bug? Fortunately not! Bye Bye bug! Great job, thanks.
Swweeeeeeeet! And did I mention wooooo hooooo? <grins> Thank *you* José. Going to close as FIXED. But if this bug crops up again (some of these bugs have been finicky), we can reopen.