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 364452 - Orca's at-spi app name is "-c"
Orca's at-spi app name is "-c"
Status: RESOLVED FIXED
Product: orca
Classification: Applications
Component: general
2.17.x
Other All
: Normal normal
: ---
Assigned To: Willie Walker
Orca Maintainers
Depends on:
Blocks:
 
 
Reported: 2006-10-23 14:52 UTC by Willie Walker
Modified: 2006-11-07 19:23 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Patch to modify argv[0] to "orca" from "-c" (998 bytes, patch)
2006-11-07 19:23 UTC, Willie Walker
committed Details | Review

Description Willie Walker 2006-10-23 14:52:10 UTC
When one looks at Orca itself (e.g., it's braille monitor or the user settings dialog) via at-poke, it's app name is "-c".  It should be "orca".  No clue how to fix this - it may require a query to the pygtk folks.
Comment 1 Lynn Monsanto 2006-10-26 18:36:46 UTC
One solution is to add a python file, with the name you want displayed as the application name for Orca, for example, "Orca.py".  Modify runOrca in /usr/bin/orca to do the following

# Runs orca.
#
runOrca()
{
    cleanup
    exec_prefix=/usr
    export PYTHONPATH=${exec_prefix}/lib/python2.4/site-packages
    exec /usr/bin/python $PYTHONPATH/orca/Orca.py "$@"
}

Orca.py just needs to do something like the following:

    import orca
    orca.main

bug_template.py displays orca as:
    App 14: name=Orca.py role=application, toolkit=GAIL
      Child 0: name=Orca Screen Reader / Magnifier role=frame
      Child 1: name=Orca Preferences role=dialog


at-poke displays orca as "Orca.py"

.  

    

Comment 2 Willie Walker 2006-11-07 19:23:00 UTC
Created attachment 76164 [details] [review]
Patch to modify argv[0] to "orca" from "-c"

There are split opinions (one pro, one con) on the pygtk mailing list about this, but it seems to work just fine.  Committed and closing this bug.