If screen reader are enabled during login screen, some time Orca exiting

Bug #971316 reported by Attila Hammer
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
unity-greeter (Ubuntu)
New
Undecided
Unassigned

Bug Description

Dear Developers,

If in Unity Greeter the screen reader a11y support are enabled, random time Orca exiting after started.
This situation Orca spokening following type message:
"Welcome to Orca.
Login frame.
Good bye."
If this problem are happening, I need press two time the CTRL+S keystroke to start Orca again in login screen.

In unity-greeter source package the src/menubar.vala file have following code with Orca related:
    private void screen_reader_toggled_cb (Gtk.CheckMenuItem item)
    {
        /* FIXME: The below would be sufficient if gnome-session were running
         * to notice and run a screen reader in /etc/xdg/autostart... But
         * since we're not running gnome-session, we hardcode orca here.
        /*var settings = new Settings ("org.gnome.desktop.a11y.applications");*/
        /*settings.set_boolean ("screen-reader-enabled", item.active);*/

        UGSettings.set_boolean (UGSettings.KEY_SCREEN_READER, item.active);

        /* Hardcoded orca: */
        try
        {
            if (item.active)
                Process.spawn_command_line_async ("orca --replace --no-setup --disable splash-window,main-window");
            else
                Process.spawn_command_line_async ("orca --quit");
        }
        catch (Error e)
        {
            warning ("Failed to run Orca: %s", e.message);
        }
    }

Attila

ProblemType: Bug
DistroRelease: Ubuntu 12.04
Package: unity-greeter 0.2.6-0ubuntu1
ProcVersionSignature: Ubuntu 3.2.0-21.34-generic-pae 3.2.13
Uname: Linux 3.2.0-21-generic-pae i686
ApportVersion: 2.0-0ubuntu2
Architecture: i386
Date: Mon Apr 2 09:22:23 2012
InstallationMedia: Ubuntu 12.04 LTS "Precise Pangolin" - Beta i386 (20120327)
SourcePackage: unity-greeter
UpgradeStatus: No upgrade log present (probably fresh install)
---
ApportVersion: 2.0-0ubuntu2
Architecture: i386
DistroRelease: Ubuntu 12.04
InstallationMedia: Ubuntu 12.04 LTS "Precise Pangolin" - Beta i386 (20120327)
Package: unity-greeter 0.2.6-0ubuntu1
PackageArchitecture: i386
ProcVersionSignature: Ubuntu 3.2.0-21.34-generic-pae 3.2.13
Tags: precise
Uname: Linux 3.2.0-21-generic-pae i686
UpgradeStatus: No upgrade log present (probably fresh install)
UserGroups: adm cdrom dip lpadmin plugdev sambashare sudo

Revision history for this message
Attila Hammer (hammera) wrote :
Revision history for this message
Attila Hammer (hammera) wrote :
Download full text (5.8 KiB)

I maked an Orca debug.out file when this random problem are happened, but this debug.out file not showed any problem with Orca related.
Debug.out file content is following when I used hungarian locale:
Trying to use speech server factory: orca.speechdispatcherfactory
Using speech server factory: orca.speechdispatcherfactory
Speech module has been initialized.
Braille module has been initialized using tty=7
braille display size = (70, 1)
NEW SCRIPT: default (module=orca.scripts.default)
ACTIVE SCRIPT: default (module=orca.scripts.default) (reason=activate)
SPEECH OUTPUT: 'Üdvözöljük az Orkában.' voice=system
BRAILLE LINE: '${dvq2qlj{k a2 $ork"ban.'
     VISIBLE: '${dvq2qlj{k a2 $ork"ban.', cursor=0
knownApplications...
...knownApplications
LOCUS OF FOCUS: app='unity-greeter' name='Bejelentkező képernyő' role='frame'
                event=None

PREPARATION TIME: 0.0097
generate braille for focused app.name='unity-greeter' name='Bejelentkező képernyő' role='frame' state='active enabled resizable sensitive showing visible' relations='' (args={'formatType': 'focused', 'role': <enum ATSPI_ROLE_FRAME of type Role>, 'mode': 'braille', 'recursing': True}) using '(includeContext and (ancestors + (rowHeader and [Region(" " + asString(rowHeader))]) + (columnHeader and [Region(" " + asString(columnHeader))]) + (radioButtonGroup and [Region(" " + asString(radioButtonGroup))]) + [Region(" ")]) or []) + [Component(obj, asString(((label + displayedText) or name) + value + roleName + alertAndDialogCount))] + (nodeLevel and [Region(" " + asString(nodeLevel))])'
GENERATION TIME: 0.0015 ----> includeContext=True

PREPARATION TIME: 0.0071
generate braille for focused app.name='unity-greeter' name='unity-greeter' role='application' state='' relations='' (args={'formatType': 'focused', 'role': <enum ATSPI_ROLE_APPLICATION of type Role>, 'mode': 'braille', 'includeContext': False, 'recursing': True}) using '[Component(obj, asString(label + displayedText + value + roleName + required))]'
GENERATION TIME: 0.0030 ----> label=[]
GENERATION TIME: 0.0016 ----> displayedText=[u'unity-greeter']
GENERATION TIME: 0.0013 ----> value=['']
GENERATION TIME: 0.0013 ----> roleName=['alkalmaz\xc3\xa1s']
GENERATION TIME: 0.0012 ----> required=[]
COMPLETION TIME: 0.0164
generate braille results:
  Component: 'uni8-greeter alkalma2"s', 0
GENERATION TIME: 0.0261 ----> ancestors=[<orca.braille.Component instance at 0x8ccff4c>]
GENERATION TIME: 0.0057 ----> rowHeader=[]
GENERATION TIME: 0.0024 ----> columnHeader=[]
GENERATION TIME: 0.0011 ----> radioButtonGroup=[]
GENERATION TIME: 0.0078 ----> label=[]
GENERATION TIME: 0.0028 ----> displayedText=[u'Bejelentkez\u0151 k\xe9perny\u0151']
GENERATION TIME: 0.0019 ----> value=['']
GENERATION TIME: 0.0019 ----> roleName=['keret']
GENERATION TIME: 0.0149 ----> alertAndDialogCount=[]
GENERATION TIME: 0.0021 ----> nodeLevel=[]
COMPLETION TIME: 0.0803
generate braille results:
  Component: 'uni8-greeter alkalma2"s', 0
  Region: ' ', 0
  Component: '$bejelentke27 k1per67 keret', 1
BRAI...

Read more...

Revision history for this message
Attila Hammer (hammera) wrote : Dependencies.txt

apport information

tags: added: apport-collected
description: updated
Revision history for this message
Attila Hammer (hammera) wrote : ProcEnviron.txt

apport information

Revision history for this message
Attila Hammer (hammera) wrote : Re: [Bug 971316] ProcEnviron.txt

Hy,

I try run unity-greeter --test-mode command.
I attaching full output the command.
The interesting is following error message:
** (process:8878): WARNING **: unity-greeter.vala:802: Error starting
the at-spi registry: Failed to execute child process
"/usr/lib/at-spi2-core/at-spi-bus-launcher" (No such file or directory)
Real this file doesn't exist for example an Ubuntu 12.04 32 bit system.
The real path this file is following:
/usr/lib/i386-linux-gnu/at-spi2-core/at-spi-bus-launcher

Hopefuly this debug file help little determining why happening this problem.

Attila

Revision history for this message
Attila Hammer (hammera) wrote :

Hy,

I sent entire crash with unity-greeter --test-mode produced with
following report:
https://bugs.launchpad.net/ubuntu/+source/unity-greeter/+bug/971359
I doed this, because I am not full sure apport-cli -u 971316 attach all
important informations the crash related this report.

Attila

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.