After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 614917 - Orca starts orca and orca preferences when you go through the initial set up
Orca starts orca and orca preferences when you go through the initial set up
Status: RESOLVED DUPLICATE of bug 642212
Product: orca
Classification: Applications
Component: general
2.30.x
Other All
: Normal normal
: ---
Assigned To: Joanmarie Diggs (IRC: joanie)
Orca Maintainers
3.0!
Depends on:
Blocks:
 
 
Reported: 2010-04-05 23:38 UTC by Michael Whapples
Modified: 2011-03-19 19:56 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
rev 1 Fix for bgo#614917 - Orca starts orca and orca preferences when you go through the initial set up. (7.18 KB, patch)
2010-06-19 23:53 UTC, Mesar Hameed
none Details | Review

Description Michael Whapples 2010-04-05 23:38:32 UTC
When you initially run orca it goes through the set up questions and then at the end just after it says about accessibility for gnome has been enabled it then starts another orca and the orca preferences so making the orca setup questions loose focus.

Steps to reproduce (the fedora 13 alpha live CD is good for showing this):
1. Start orca for the first time or as if it is for the first time.
2. Answer the questions presented.
3. When orca says about accessibility being enabled and needing to logout and log back in, do not interrupt orca.

Expected: Orca will wait for the user to answer the question of whether to log out.
Actual: Orca starts another orca (you hear welcome to orca) and then it starts the preferences (you hear "Starting orca preferences"). As at-spi is not running at the moment the orca preferences is not seen by orca and the user has no way of telling what really has focus.

Extra information: Although I have filed this against orca 2.30.x I also notice it on the 2.29.9x versions of orca (hence why it can be observed on the fedora 13 alpha live CD).
Comment 1 Michael Whapples 2010-04-06 09:18:08 UTC
(In reply to comment #0)
> When you initially run orca it goes through the set up questions and then at
> the end just after it says about accessibility for gnome has been enabled it
> then starts another orca and the orca preferences so making the orca setup
> questions loose focus.
> 
> Steps to reproduce (the fedora 13 alpha live CD is good for showing this):
> 1. Start orca for the first time or as if it is for the first time.
> 2. Answer the questions presented.
> 3. When orca says about accessibility being enabled and needing to logout and
> log back in, do not interrupt orca.
> 
> Expected: Orca will wait for the user to answer the question of whether to log
> out.
> Actual: Orca starts another orca (you hear welcome to orca) and then it starts
> the preferences (you hear "Starting orca preferences"). As at-spi is not
> running at the moment the orca preferences is not seen by orca and the user has
> no way of telling what really has focus.
> 
> Extra information: Although I have filed this against orca 2.30.x I also notice
> it on the 2.29.9x versions of orca (hence why it can be observed on the fedora
> 13 alpha live CD).

A slight correction from the original report, the orca preferences is not started, its that the orca main window gains focus and as you go to answer the final question pressing enter acts on the preferences button in the main window rather than in the initial setup questions.
Comment 2 Michael Whapples 2010-04-06 15:41:59 UTC
I have had a little play with this and now suspect its to do with saying yes to have orca started automatically. I have two reasons to believe this: I used the fedora 13alpha live media and went through the initial setup questions but this time I said no to the auto start orca option, and I didn't observe this bug. The other reason is that I remember using ArchLinux when you go to enable a sound theme you then here the start up sound, so it seems like some of the start up apps wait until the gconf key is set for them to run.

I am now going to try the fedora 13alpha live media but before starting orca setting the gconf keys orca sets when the user says yes to the autostart question.
Comment 3 Michael Whapples 2010-04-06 16:07:02 UTC
It appears I may have suspected correct, running the three following commands in a gnome-terminal on the fedora 13alpha live media makes orca start:
gconftool-2 --set --type string /desktop/gnome/applications/at/visual/exec orca
gconftool-2 --set --type bool /desktop/gnome/applications/at/visual/startup true
gconftool-2 --set --type bool /desktop/gnome/interface/accessibility true

The order of the commands do seem to matter, so I wonder whether as a work around (I don't know whether gconf and start up applications are working as gnome intend) have the orca setup code issue these in a different order.
Comment 4 Mesar Hameed 2010-06-19 23:53:50 UTC
Created attachment 164099 [details] [review]
rev 1 Fix for bgo#614917 - Orca starts orca and orca preferences when you go through the initial set up.

Hi Michael, Could you please test with this patch, and see if it 
resolves the issue for you?
Thank you.
Comment 5 Michael Whapples 2010-06-26 22:00:12 UTC
(In reply to comment #4)
> Created an attachment (id=164099) [details] [review]
> rev 1 Fix for bgo#614917 - Orca starts orca and orca preferences when you go
> through the initial set up.
> 
> Hi Michael, Could you please test with this patch, and see if it 
> resolves the issue for you?
> Thank you.

The patch fixes the bug, but I don't know whether its related to the patch (initial set up is something I don't do that frequently so don't know if it came from somewhere else), but at the point where the second instance of orca was launched (as reported in this bug report) I get the login sound play, as if the setting for sounds has been enabled. The enabling of sounds doesn't cause a focus issue with orca so is less of a problem, it just seems odd to have the sound play.
Comment 6 Joanmarie Diggs (IRC: joanie) 2010-07-05 14:41:56 UTC
Jon indicated in a different bug that he'd be leaving today and not back until after 2.31.5 is released. I'd like to get this bug addressed sooner rather than later. So I'm going to assign this to myself for additional testing and triage.
Comment 7 Steve Holmes 2010-11-24 17:29:49 UTC
Adding myself to bug.
Comment 8 Joanmarie Diggs (IRC: joanie) 2011-03-19 19:56:21 UTC
Marking as a dupe of bug 642212 as the problem was raised and fixed there.

*** This bug has been marked as a duplicate of bug 642212 ***