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 348630 - dialog migration from gnopernicus to orca
dialog migration from gnopernicus to orca
Status: RESOLVED FIXED
Product: gnome-control-center
Classification: Core
Component: [obsolete] Assistive Technology Preferences
unspecified
Other Linux
: Normal normal
: ---
Assigned To: Control-Center Maintainers
Control-Center Maintainers
Depends on:
Blocks:
 
 
Reported: 2006-07-25 12:27 UTC by bill.haneman
Modified: 2006-08-07 09:49 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
patch to substitute 'orca' for 'gnopernicus' when present on system, when the AT Prefs dialog is run. (4.68 KB, patch)
2006-07-25 13:06 UTC, bill.haneman
needs-work Details | Review
patch which migrates the at-properties dialog to orca. (8.13 KB, patch)
2006-08-02 17:38 UTC, bill.haneman
none Details | Review
Patch to substitute orca for gnopernicus when present on system, when the AT prefs dialog is run (5.98 KB, patch)
2006-08-02 19:14 UTC, Willie Walker
committed Details | Review

Description bill.haneman 2006-07-25 12:27:58 UTC
orca is currently proposed for inclusion in gnome 2.16 by a considerable consensus including the gnopernicus team.  Because the AT Technology Preferences Dialog's code currently expects gnopernicus, a change to the dialog's internals is required.

There is also a question of migration paths.  To date the orca team has received no customer requests for data or configuration migration, so it is not clear that this is a real issue.  

For existing desktop users who are currently using gnopernicus, there are two questions: 
1) under what should orca be started instead of gnopernicus after 2.16 is installed?
2) what notification does the user need that this change has taken place?
Comment 1 bill.haneman 2006-07-25 13:06:01 UTC
Created attachment 69574 [details] [review]
patch to substitute 'orca' for 'gnopernicus' when present on system, when the AT Prefs dialog is run.
Comment 2 bill.haneman 2006-07-25 14:25:38 UTC
See also bug 348643, for a back-compat patch to gnome-session (relevant to the case of a fresh 2.16 install with a user's home dir shared with a 2.14 config).
Comment 3 Willie Walker 2006-07-28 21:47:16 UTC
I have a question regarding this patch and its impact on FC6: do we really want to get rid of the gnopernicus-specific gconf keys (i.e., the ones gnopernicus uses when it starts)?  If FC6 will be shipping gnopernicus and not orca because of their feature freeze deadline, it seems as though we want to make sure those keys are written.

Comment 4 bill.haneman 2006-08-02 17:21:22 UTC
The patch was missing the necessary changes to main.c (diff scope error, probably).  I will attach the complete patch now.
Comment 5 bill.haneman 2006-08-02 17:38:40 UTC
Created attachment 70082 [details] [review]
patch which migrates the at-properties dialog to orca.

patch builds OK but Will, please test it.  My build/run env is pretty messed up ATM so I am unable to confirm all the behaviors.
Comment 6 Willie Walker 2006-08-02 17:49:05 UTC
I think these lines cause the UI to be a bit aggressive:

+		if (exec_name && !strcmp (exec_name, "orca")) {
+			startup_state->enabled.magnifier = TRUE;
+			startup_state->enabled.screenreader = TRUE;

The problem is that once you select one or the other of the mag/screenreader check boxes, the other gets checked.  After that, you can no longer unselect them.
Comment 7 Willie Walker 2006-08-02 19:14:51 UTC
Created attachment 70091 [details] [review]
Patch to substitute orca for gnopernicus when present on system, when the AT prefs dialog is run

After testing with the previous patches, it was determined that one would get into a situation where they would check one or the other of magnifier/screenreader and the other would automatically become selected.  Once this happened, one could not deselect them.  The main cause of that is that the disambiguation of whether the magnifier or screen reader are selected is based upon the gnopernicus settings keys for speech, braille, and magnifier.

This patch keeps the gnopernicus keys manipulation for the purposes of disambiguation, and also provides a compatibility feature where gnopernicus will still be selected/used if orca is not present in the user's path.  Preference is given to orca, however, if it is available.  The ultimate solution is to rethink the overall strategy for a potentially even larger set of screen reader choices for GNOME 2.18 - that will come with the redesign of the accessibility preferences GUI that we agreed to postpone to GNOME 2.18.  

I feel this patch provides a compatible migration path for GNOME 2.16.
Comment 8 Rodrigo Moya 2006-08-03 07:38:13 UTC
This last patch looks good to me. Sebastien, what do you think?
Comment 9 Willie Walker 2006-08-03 14:00:24 UTC
Just to add more - Bill and I just talked and we agree the patch is acceptable for GNOME 2.16.  I've tested the patch from comment #7 pretty thoroughly with various combinations of gnopernicus and orca being installed or not installed, and it works as expected.  If you can get this in for the Beta2 tarballs this coming Monday, it would be great.
Comment 10 Sebastien Bacher 2006-08-06 22:18:52 UTC
Patch looks fine to me too, feel free to commit
Comment 11 Rodrigo Moya 2006-08-07 09:49:26 UTC
Patch committed to HEAD, thanks