After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 639876 - sometimes I can not hear the name of the window when I press alt+tab
sometimes I can not hear the name of the window when I press alt+tab
Status: RESOLVED FIXED
Product: orca
Classification: Applications
Component: general
2.91.x
Other All
: Normal normal
: 2.91.6
Assigned To: Joanmarie Diggs (IRC: joanie)
Orca Maintainers
Depends on:
Blocks:
 
 
Reported: 2011-01-18 18:12 UTC by Jose Vilmar Estacio de Souza
Modified: 2011-01-22 01:45 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
debug file with the execution of the steps (406.39 KB, application/octet-stream)
2011-01-18 18:14 UTC, Jose Vilmar Estacio de Souza
Details
Jose second wrote steps generated debug.out file (371.75 KB, application/octet-stream)
2011-01-21 05:58 UTC, Hammer Attila
Details

Description Jose Vilmar Estacio de Souza 2011-01-18 18:12:39 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.
Comment 1 Jose Vilmar Estacio de Souza 2011-01-18 18:14:41 UTC
Created attachment 178645 [details]
debug file with the execution of the steps
Comment 2 Hammer Attila 2011-01-19 05:25:38 UTC
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.
Comment 3 Hammer Attila 2011-01-20 12:06:14 UTC
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):
  • File "/data/software/orca/dev/lib/python2.6/site-packages/orca/speech.py", line 71 in getSpeechServerFactories
    [''])
  • File "/data/software/orca/dev/lib/python2.6/site-packages/orca/gnomespeechfactory.py", line 72 in <module>
    ORBit.load_typelib('GNOME_Speech')
RuntimeError: could not load typelib

Attila
Comment 4 Jose Vilmar Estacio de Souza 2011-01-20 13:03:54 UTC
(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.
Comment 5 Hammer Attila 2011-01-20 13:14:46 UTC
Yes, you are remember right.
Because gnome-speech driver is default not installed, this is real.

Attila
Comment 6 Jose Vilmar Estacio de Souza 2011-01-20 23:41:59 UTC
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.
Comment 7 Joanmarie Diggs (IRC: joanie) 2011-01-20 23:50:39 UTC
(In reply to comment #6)
> I found another way to reproduce the problem.

This suggests it's not a profiles issue.
Comment 8 Hammer Attila 2011-01-21 05:56:41 UTC
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
Comment 9 Hammer Attila 2011-01-21 05:58:34 UTC
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
Comment 10 Jose Vilmar Estacio de Souza 2011-01-21 11:54:29 UTC
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
Comment 11 Joanmarie Diggs (IRC: joanie) 2011-01-21 12:12:33 UTC
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!
Comment 12 Hammer Attila 2011-01-21 13:04:00 UTC
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
Comment 13 Joanmarie Diggs (IRC: joanie) 2011-01-21 22:21:29 UTC
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?
Comment 14 Jose Vilmar Estacio de Souza 2011-01-22 01:37:14 UTC
(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.
Comment 15 Joanmarie Diggs (IRC: joanie) 2011-01-22 01:45:35 UTC
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.