Bug 351471 - orca hardcoded command is wrong in preferences
Summary: orca hardcoded command is wrong in preferences
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: control-center
Version: rawhide
Hardware: x86_64
OS: Linux
low
medium
Target Milestone: ---
Assignee: Control Center Maintainer
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2007-10-24 23:23 UTC by Gianluca Cecchi
Modified: 2007-11-30 22:12 UTC (History)
1 user (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2007-10-25 00:20:02 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Gianluca Cecchi 2007-10-24 23:23:21 UTC
Description of problem:
If in System --> Preferences --> Personal --> Assistive Technology Preferences
I enable assistive technologies, in preferred applications --> accessibility
the hardcoded command for orca magnifier is

orca -m

while the correct one should be (based on man page)

orca -e magnifier

Running from a terminal I get
[testuser2 tekkaman ~]$ orca -m

Traceback (most recent call last):
  File "/usr/lib64/python2.5/site-packages/orca/orca.py", line 1379, in main
    "version"])
  File "/usr/lib64/python2.5/getopt.py", line 91, in getopt
    opts, args = do_shorts(opts, args[0][1:], shortopts, args[1:])
  File "/usr/lib64/python2.5/getopt.py", line 191, in do_shorts
    if short_has_arg(opt, shortopts):
  File "/usr/lib64/python2.5/getopt.py", line 207, in short_has_arg
    raise GetoptError('option -%s not recognized' % opt, opt)
GetoptError: option -m not recognized

Version-Release number of selected component (if applicable):
orca-2.20.0.1-1.fc8

How reproducible:
always

Steps to Reproduce:
1. select System --> Preferences --> Personal --> Assistive Technology Preferences
2. Select enables ass. tech. and click pref. applications 
3. Select accessibility
  
Actual results:
if orca with magnifier is selected, the hardcoded greyed command is "orca -m"

Expected results:
"orca -e magnifier" command

Additional info:

Comment 1 Matthias Clasen 2007-10-25 00:20:02 UTC
Fixed in control-center-2.20.1-5.fc8


Note You need to log in before you can comment on or make changes to this bug.