GNOME Bugzilla – Bug 47511
Nautilus sometimes uses wrong home directory after going through druid
Last modified: 2004-12-22 21:47:04 UTC
John Sullivan and I have seen situations where Nautilus launches with the wrong home directory based on the selected userlevel in the druid. For example, when choosing beginner level, the home directory shown on launch following the druid would be "/home/tester" (and should be "/home/tester/Nautilus"), and intermediate/advanced levels are sometimes getting "/home/tester/Nautilus" (and it should be "/home/tester"). This happens intermittently, and hasn't been narrowed down yet. John Sullivan mentioned that the point at which the user level is actually set has recently changed to be at the end of the druid, so there might be an error as to when the first-time home directory is set. John suggested it could be choosing the home directory based on a previous preference, although I also removed the .gconf, .gconfd, .nautilus, and Nautilus directories before reinstalling Nautilus, after which I was able to see this bug. To reproduce: 1 - Remove the first-time-wizard flag. 2 - Run nautilus 3 - Proceed through the first time druid, and press "finish" When the two Nautilus windows open, see if the home directory location is correct for the user level selected in the druid. I am seeing this fail about 80% of the time on two hourly RPM test machines. I can do more testing on this, but would need to know what scenarios should be tested. Also, is this a 1.0 bug? Since this event only happens once per user, and doesn't have any user experience-crippling effect, I'm guessing this is not a 1.0-critical bug. ------- Additional Comments From sullivan@eazel.com 2001-03-07 14:30:37 ---- cc:ing John Harper, because my memory tells me that he made the change to set the user level later on in the first-time druid, and thus might know the details of that interaction. ------- Additional Comments From jsh@pixelslut.com 2001-03-07 16:02:17 ---- Yes, I made that change. The reason was to avoid a problem where toggling the user level preference could make the druid page titles non-anti-aliased. Looking at the code, I can see a possible cause: signup_uris[0]=nautilus_preferences_get(NAUTILUS_PREFERENCES_HOME_URI); ... /* Do the user level config */ nautilus_preferences_set_user_level (current_user_level); Perhaps this ordering needs to be reversed? ------- Additional Comments From sullivan@eazel.com 2001-03-07 16:21:11 ---- Reversing that order looks like the right fix to me. ------- Additional Comments From jsh@pixelslut.com 2001-03-07 17:04:42 ---- Created an attachment (id=1344) Patch to set the user level before getting the home URI ------- Additional Comments From don@eazel.com 2001-03-07 17:10:49 ---- Approved for 1.0. John, land it ASAP. ------- Additional Comments From jsh@pixelslut.com 2001-03-07 17:21:37 ---- I've committed the patch on both branches ------- Bug moved to this database by unknown@bugzilla.gnome.org 2001-09-09 21:10 -------
Getting rid of the First-Time Druid component.