[Bug 550717] Re: [Lucid] two accessiblity related bug with Ubiquity, with easy to fix

Colin Watson cjwatson at canonical.com
Wed Feb 1 16:58:42 UTC 2012


Sorry we took so long to review your patch.

I'm afraid I'm not prepared to switch to sudo; that has other
consequences (if you're running ubiquity in an environment where it
needs a password to gain root, and you try to launch it from the desktop
icon, it would fail rather than prompting for a password) and in any
case that seems like it's just papering over a problem somewhere else
(e.g. failure to drop privileges in the right place, or a missing
environment variable, or similar).  I'd want a very clear analysis of
exactly what's failing before making a change in this area.  Is gksudo
still troublesome for you in 11.10 or in daily builds of 12.04?

The win_size_req method was eliminated in ubiquity 2.3.4 as part of the
redesign process that happened in maverick, so that part of the patch no
longer applies, and I know there's been work done on accessibility since
then; in fact, I'm sure I heard reports of orca working reliably in
11.10.  It'd be good to know the current state and what if anything
remains from this bug report.

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to ubiquity in Ubuntu.
https://bugs.launchpad.net/bugs/550717

Title:
  [Lucid] two accessiblity related bug with Ubiquity, with easy to fix

Status in “ubiquity” package in Ubuntu:
  Triaged

Bug description:
  Binary package hint: ubiquity

  Dear Developers,

  In Ubuntu Accessibility List, Bill Cox Vinux developer wroted following letter:
  "When installing with screen reader enabled, ubiquity stops talking
  about half the time, which is very frustrating for blind users.  I've
  been able to get it to work reliably, with only two edits.

  First in /usr/bin/ubiquity, change the call from gksu to sudo:

              toexec = ['gksudo', '--preserve-env']
              if desktop:
                  toexec.extend(['--desktop', desktop])
              toexec.append('--')

  Should be just:

              toexec = ['sudo', '-E']

  The second thing is more minor.  If you select a large font, and
  install in a VirtualBox machine, with an 800x600 display, then ubquity
  hangs when the partitioner screen starts.  This is caused by a
  one-line bug in /usr/lib/ubiquity/ubiquity/frontend/gtk_ui.py.  Just
  comment out line 554, the last line of win_size_req:

          widget.resize(w, h)

  should be:

          #widget.resize(w, h)"
  I am a blind people, and I absolute confirmed Bill wroted problems.

  I maked a test fix patch with solving Bill wroted two problem, and add the sudo prefix the ubiquity-2.2.10/desktop/ubiquity-gtkui.desktop.in file. The desktop.in modification is needed.
  I tested the patch. I Rebuild the entire Ubiquity source package, and install the modifyed package with a custom Ubuntu Lucid live CD.
  I see following right result:
  When I installing my modifyed Ubuntu Lucid live CD with Screen Reader accessibility mode, Orca is right working entire installation, not stop talking entire installation procedure.

  Please use my fix patch if this is possible.

  Attila

  ProblemType: Bug
  DistroRelease: Ubuntu 10.04
  Package: ubiquity 2.2.10
  ProcVersionSignature: Ubuntu 2.6.32-17.26-generic 2.6.32.10+drm33.1
  Uname: Linux 2.6.32-17-generic i686
  Architecture: i386
  Date: Mon Mar 29 09:16:53 2010
  InstallationMedia: Ubuntu 10.04 "Lucid Lynx" - Alpha i386 (20100129)
  ProcEnviron:
   LANGUAGE=hu_HU.UTF-8
   LANG=hu_HU.UTF-8
   SHELL=/bin/bash
  SourcePackage: ubiquity

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ubiquity/+bug/550717/+subscriptions




More information about the foundations-bugs mailing list