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 637780 - Cannot permenantly update settings for the gdm user login session
Cannot permenantly update settings for the gdm user login session
Status: RESOLVED FIXED
Product: orca
Classification: Applications
Component: general
2.91.x
Other All
: Normal normal
: 2.91.5
Assigned To: Alejandro Leiva
Orca Maintainers
profiles
Depends on:
Blocks:
 
 
Reported: 2010-12-21 21:10 UTC by Joanmarie Diggs (IRC: joanie)
Modified: 2011-09-12 17:11 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Adding bypassSetup check at start time (769 bytes, patch)
2011-03-07 10:25 UTC, Javier Hernández
none Details | Review
Fix for bug #637780 (758 bytes, patch)
2011-03-07 11:08 UTC, Javier Hernández
none Details | Review
Fix for bug #637780 (2.12 KB, patch)
2011-03-07 11:44 UTC, Javier Hernández
none Details | Review
Fix for bug #637780 (2.14 KB, patch)
2011-03-07 12:03 UTC, Javier Hernández
committed Details | Review

Description Joanmarie Diggs (IRC: joanie) 2010-12-21 21:10:05 UTC
From Steve on the Orca list:

---------------------

I'm seeing another problem with the new settings deal.  It seems that
if one uses gdm, it keeps overlaying the settingss.  I will list below
my steps to demonstrate what I mean.

1. Sart up gdm by whatever means perscribed by your distro.

2. Assuming your gdm has been preconfigured to launch orca, Orca
should begin speaking.  Note that the settings dialog will not come up
automatically but can be started with the Orca+Space-bar key.  I
believe this is by design for gdm session.

3. Go ahead and make whatever changes you wish to Orca; for me, I turn
off some of the keyboard echo stuff.

4. Save the settings; hit Apply or OK to commit the changes and then
get out of the gdm session without logging into a normal user session.

5. From a console, kill and restart gdm.

6. Notice that Orca reverts back to factory settings.

Further observations show me that in /var/lib/gdm, my home directory
for gdm, the file .local/share/orca/user-settings.conf is getting
overwritten every time orca starts.  So it overlays previously
committed changes.  I even saved the default profile with my new
preferences in case that might make a difference but That had no
effect.  I even turned off all write permissions on user-settings.conf
but then starting Orca caused some errors with no speech so I don't
know the errors.

Bottom line: I cannot permenantly update settings for the gdm user
login session.

---------------------
Comment 1 Joanmarie Diggs (IRC: joanie) 2010-12-21 21:11:31 UTC
Ale, you're becoming a GDM ninja. ;-) Assigning this one to you with a target of 2.91.5. Hope you don't mind.

If you don't have time, please re-assign it to me and I'll add it to my list.

Thanks either way!
Comment 2 Steve Holmes 2010-12-21 23:14:11 UTC
I should add that if one starts orca by starting gnome withe 'startx' command, Orca saves the settings just fine.  In this case the settings are being saved under the normal user's home directory, of course.  So it is just the gdm user where this problem persists.
Comment 3 Javier Hernández 2011-03-07 10:25:17 UTC
Created attachment 182684 [details] [review]
Adding bypassSetup check at start time

Here's my proposal patch for this issue. PLease take a look, it works for me.

Regards!
Comment 4 Javier Hernández 2011-03-07 11:08:12 UTC
Created attachment 182689 [details] [review]
Fix for bug #637780
Comment 5 Javier Hernández 2011-03-07 11:44:24 UTC
Created attachment 182691 [details] [review]
Fix for bug #637780

Replacing "isProfileLoad" by "skipReloadMessage"
Comment 6 Javier Hernández 2011-03-07 12:03:29 UTC
Created attachment 182692 [details] [review]
Fix for bug #637780

I hope this is the definitive patch ... ;)