Bug 351471

Summary: orca hardcoded command is wrong in preferences
Product: [Fedora] Fedora Reporter: Gianluca Cecchi <gianluca.cecchi>
Component: control-centerAssignee: Control Center Maintainer <control-center-maint>
Status: CLOSED RAWHIDE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: low    
Version: rawhideCC: rstrode
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2007-10-25 00:20:02 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

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