Index: src/orca/orca_gui_prefs.py
===================================================================
--- src/orca/orca_gui_prefs.py	(revision 4473)
+++ src/orca/orca_gui_prefs.py	(working copy)
@@ -42,6 +42,7 @@
 import platform
 import settings
 import default    # for the default keyBindings
+import focus_tracking_presenter
 import input_event
 import keybindings
 import pronunciation_dict
@@ -4834,6 +4835,16 @@
         braille.displayMessage(line)
         speech.speak(line)
 
+        # Under normal circumstances, the active script will not change
+        # until the GUI is displayed. This can mess with the settings we
+        # get/use/apply. Because this dialog should contain settings for
+        # the default script, we'll temporarily force that script to be
+        # active. This will trigger any custom deactivate methods found
+        # in the scripts.
+        #
+        ftp = focus_tracking_presenter.FocusTrackingPresenter()
+        ftp.setActiveScript(default.Script(None), "Loading Orca Preferences")
+
         prefsDict = orca_prefs.readPreferences()
         orca_state.prefsGladeFile = os.path.join(platform.prefix,
                                                  platform.datadirname,
