Bug 351471 - orca hardcoded command is wrong in preferences
orca hardcoded command is wrong in preferences
Status: CLOSED RAWHIDE
Product: Fedora
Classification: Fedora
Component: control-center (Show other bugs)
rawhide
x86_64 Linux
low Severity medium
: ---
: ---
Assigned To: Control Center Maintainer
Fedora Extras Quality Assurance
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2007-10-24 19:23 EDT by Gianluca Cecchi
Modified: 2007-11-30 17:12 EST (History)
1 user (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2007-10-24 20:20:02 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:


Attachments (Terms of Use)

  None (edit)
Description Gianluca Cecchi 2007-10-24 19:23:21 EDT
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-24 20:20:02 EDT
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.