This forum is a discussion about improving the "Troubleshoot Firefox issues using Safe Mode" article. If you'd like to participate, please register.

If you need help with Firefox, please ask a question.

Safe Mode redesign in Firefox 15

  • 7 Replies
  • Last reply by AliceWyman
  1. AliceWyman 5146 posts
    Report Abuse

    See Bug 732303 - Redesign safe mode dialog with the profile reset option and comment 26

    Looks like the redesign will remove all of the Safe Mode checkboxes and simply offer the options to continue in Safe Mode or Reset Firefox:

    Matthew N. [:MattN] 2012-05-29 01:08:04 PDT
    (In reply to magnumarchonbasileus from comment #25)
    > As a developer i find it very useful & also so do my helpers
    > please don't remove it add it with "Start in safe mode" "Reset profile"

    Could you give more details on which of the options you found useful and what problems you were trying to solve with them. I was told by people on the SUMO (support.mozilla.com) team that they don't direct users to use the checkboxes. They were removed in this bug because the dialog was confusing with the two different continue buttons and most of the items could be solved just as easily by deleting files from the profile (we now have a button to open the profile folder from about:support):
    • Disable all add-ons
      • Start in safe mode (disables extensions) and then disable the plugins from the add-ons manager
    • Reset toolbars and controls
      • Delete localstore.rdf from the profile
    • Delete all bookmarks except for backups
      • set browser.bookmarks.restore_default_bookmarks to true (before startup or from about:config then restart)
    • Reset all user preferences
      • Delete prefs.js (and the "preferences" directory if it exists) from the profile
    • Restore default search engines
      • Delete search* from the profile
    If there was an option which commonly solved users' problems and is better than resetting Firefox then we can consider a way to address that. Could you file bugs (blocking this one) which you have strong arguments for? Otherwise we can discuss this more on the newsgroup at https://www.mozilla.org/about/forums/#dev-apps-firefox

    Note: Changes to toolbars and window sizes are not saved ("Reset toolbars and controls" option) and Reset Firefox preferences to troubleshoot and fix problems ("Reset all user preferences to Firefox defaults" option) both instruct users to use the Safe Mode checkboxes. These and possibly other KB articles will need to be changed to explain how to open the profile folder, close Firefox and then delete the related file. Not sure which other KB articles may need updating.

    See [https://bugzilla.mozilla.org/show_bug.cgi?id=732303 Bug 732303 - Redesign safe mode dialog with the profile reset option] and [https://bugzilla.mozilla.org/show_bug.cgi?id=732303#c26 comment 26] Looks like the redesign will remove all of the Safe Mode checkboxes and simply offer the options to continue in Safe Mode or Reset Firefox: <blockquote> Matthew N. [:MattN] 2012-05-29 01:08:04 PDT<br> (In reply to magnumarchonbasileus from comment #25)<br> > As a developer i find it very useful & also so do my helpers<br> > please don't remove it add it with "Start in safe mode" "Reset profile" <br><br> Could you give more details on which of the options you found useful and what problems you were trying to solve with them. I was told by people on the SUMO (support.mozilla.com) team that they don't direct users to use the checkboxes. They were removed in this bug because the dialog was confusing with the two different continue buttons and most of the items could be solved just as easily by deleting files from the profile (we now have a button to open the profile folder from about:support): * Disable all add-ons ** Start in safe mode (disables extensions) and then disable the plugins from the add-ons manager * Reset toolbars and controls ** Delete localstore.rdf from the profile * Delete all bookmarks except for backups ** set browser.bookmarks.restore_default_bookmarks to true (before startup or from about:config then restart) * Reset all user preferences ** Delete prefs.js (and the "preferences" directory if it exists) from the profile * Restore default search engines ** Delete search* from the profile If there was an option which commonly solved users' problems and is better than resetting Firefox then we can consider a way to address that. Could you file bugs (blocking this one) which you have strong arguments for? Otherwise we can discuss this more on the newsgroup at https://www.mozilla.org/about/forums/#dev-apps-firefox </blockquote> Note: [[Toolbar keeps resetting]] ("Reset toolbars and controls" option) and [[Resetting preferences]] ("Reset all user preferences to Firefox defaults" option) both instruct users to use the Safe Mode checkboxes. These and possibly other KB articles will need to be changed to explain how to open the profile folder, close Firefox and then delete the related file. Not sure which other KB articles may need updating.
    Modified by AliceWyman on
  2. Michael Verdi 1755 posts
    Report Abuse

    The regular safe mode dialog is not changing - that bug refers only to the special "forced safe mode" that you end up in after multiple startup crashes. If you enter safe mode from the menu or by holding the shift key on startup you will see the regular safe mode menu.

    <strike>The regular safe mode dialog is not changing - that bug refers only to the special "forced safe mode" that you end up in after multiple startup crashes. If you enter safe mode from the menu or by holding the shift key on startup you will see the regular safe mode menu.</strike>
    Modified by Michael Verdi on
  3. AliceWyman 5146 posts
    Report Abuse

    Are you sure about that? Under Attachments (in the bug report) it has

    Are you sure about that? Under Attachments (in the bug report) it has * [https://bugzilla.mozilla.org/attachment.cgi?id=605144 Explicitly triggered Safe Mode (shift/option, menu, command line)]
  4. Michael Verdi 1755 posts
    Report Abuse

    You are right - I totally got that wrong.

    You are right - I totally got that wrong.
  5. jscher2000 477 posts
    Report Abuse

    How similar/different are the "Restore" options in the UI to the ones in the Safe Mode dialog?

    Safe Mode dialog: Reset toolbars and controls vs.
    Customize dialog: Restore Default Set

    I think in some cases you might still need to zap localstore.rdf because the errant settings are not the ones fixed by Restore Default Set. (The file has a lot of other settings in it.)

    Safe Mode dialog: Restore default search engines vs.
    Manage Search Engines dialog: Restore Defaults

    How similar/different are the "Restore" options in the UI to the ones in the Safe Mode dialog? Safe Mode dialog: Reset toolbars and controls ''vs.''<br> Customize dialog: Restore Default Set I think in some cases you might still need to zap localstore.rdf because the errant settings are not the ones fixed by Restore Default Set. (The file has a lot of other settings in it.) Safe Mode dialog: Restore default search engines ''vs.''<br> Manage Search Engines dialog: Restore Defaults
  6. AliceWyman 5146 posts
    Report Abuse

    jscher2000 said

    How similar/different are the "Restore" options in the UI to the ones in the Safe Mode dialog?

    Safe Mode dialog: Reset toolbars and controls vs.
    Customize dialog: Restore Default Set

    I think in some cases you might still need to zap localstore.rdf because the errant settings are not the ones fixed by Restore Default Set. (The file has a lot of other settings in it.)

    The localstore.rdf reset came up at MozillaZine. I'll quote what I wrote in http://kb.mozillazine.org/Talk:Corrupt_localstore.rdf


    Customize Toolbar - Restore Default Set

    I removed the newly-added "Firefox 3 - Method" section 1 that described using "View -> Toolbars -> Customize -> Restore Default Set" (which was also available in Firefox 2) as a solution for a corrupt localstore.rdf file. Localstore.rdf stores a lot of other information besides which toolbar items are used (e.g., window size, position and sort order for download actions, bookmarks/places and other persistent window states), which can be seen by viewing the file contents in Notepad. Although "Restore Default Set" restores the default toolbar items, it doesn't restore the default content of the localstore.rdf file as the Safe Mode and manual deletion methods do, which can be verified by using all three methods and comparing the file size and content for each method. The Safe Mode method replaced my 19.9 KB localstore.rdf file with a new file that was less than 1kb, same as manually deleting the 19.9 KB localstore.rdf file. Using "View -> Toolbars -> Customize -> Restore Default Set" only reduced the 19.9 KB localstore.rdf file size by a few bytes. In other words, content that could be corrupt still remained, so it would not be a solution for a corrupt localstore.rdf file. [[User:Alice Wyman|Alice]] 18:29, 31 July 2008 (UTC)


    So, deleting localstore.rdf is what the Troubleshoot Firefox issues using Safe Mode option does ... but that's not the same as using the "Restore Default Set" option in the customize toolbar window. If you want to check again, please do, my testing was done quite awhile ago!

    Safe Mode dialog: Restore default search engines vs.
    Manage Search Engines dialog: Restore Defaults

    I don't know ... if all you want to do is add back any missing "default" search engines, I would think that the Search the Web on Firefox method should be enough - see http://kb.mozillazine.org/Search_Bar#Restoring_default_search_engines

    By the way, comment 26 from the bug report says to Delete search* from the profile as an alternative to the Troubleshoot Firefox issues using Safe Mode" Restore default search engines" option.. So, that would mean deleting search.sqlite and search.json? You should NOT delete the searchplugins folder containing added search engines (if it exists) since the Safe Mode option only adds back missing search engines ... it doesn't remove added ones. I tested that awhile ago (see http://kb.mozillazine.org/Talk:Safe_Mode#Restore_default_search_engines and this discussion). Maybe Michael Verdi or someone else can answer ... or do you want to test?

    ''jscher2000 [[#post-5372|said]]'' <blockquote> How similar/different are the "Restore" options in the UI to the ones in the Safe Mode dialog? <br><br> Safe Mode dialog: Reset toolbars and controls ''vs.''<br> Customize dialog: Restore Default Set <br><br> I think in some cases you might still need to zap localstore.rdf because the errant settings are not the ones fixed by Restore Default Set. (The file has a lot of other settings in it.) </blockquote> The localstore.rdf reset came up at MozillaZine. I'll quote what I wrote in http://kb.mozillazine.org/Talk:Corrupt_localstore.rdf ----- '''Customize Toolbar - Restore Default Set''' I removed the newly-added "Firefox 3 - Method" section [http://kb.mozillazine.org/index.php?title=Corrupt_localstore.rdf&diff=37160&oldid=37152 1] that described using "View -> Toolbars -> Customize -> Restore Default Set" (which was also available in Firefox 2) as a solution for a corrupt [http://kb.mozillazine.org/Localstore.rdf localstore.rdf] file. Localstore.rdf stores a lot of other information besides which toolbar items are used (e.g., window size, position and sort order for download actions, bookmarks/places and other [https://developer.mozilla.org/en/XUL_Tutorial/Persistent_Data persistent window states]), which can be seen by viewing the file contents in Notepad. Although "Restore Default Set" restores the default toolbar items, it doesn't restore the default content of the localstore.rdf file as the Safe Mode and manual deletion methods do, which can be verified by using all three methods and comparing the file size and content for each method. The Safe Mode method replaced my 19.9 KB localstore.rdf file with a new file that was less than 1kb, same as manually deleting the 19.9 KB localstore.rdf file. Using "View -> Toolbars -> Customize -> Restore Default Set" only reduced the 19.9 KB localstore.rdf file size by a few bytes. In other words, content that could be corrupt still remained, so it would not be a solution for a corrupt localstore.rdf file. [[User:Alice Wyman|Alice]] 18:29, 31 July 2008 (UTC) ----- So, deleting localstore.rdf is what the [[Safe Mode]] option does ... but that's''' not''' the same as using the "Restore Default Set" option in the customize toolbar window. If you want to check again, please do, my testing was done quite awhile ago! <blockquote> Safe Mode dialog: Restore default search engines vs.<br> Manage Search Engines dialog: Restore Defaults </blockquote> I don't know ... if all you want to do is add back any missing "default" search engines, I would think that the [[Search Bar]] method should be enough - see http://kb.mozillazine.org/Search_Bar#Restoring_default_search_engines By the way, comment 26 from the bug report says to ''Delete search* from the profile'' as an alternative to the [[Safe Mode]]" Restore default search engines" option.. So, that would mean deleting search.sqlite and search.json? You should NOT delete the searchplugins folder containing added search engines (if it exists) since the Safe Mode option only adds back missing search engines ... it doesn't remove added ones. I tested that awhile ago (see http://kb.mozillazine.org/Talk:Safe_Mode#Restore_default_search_engines and [https://support.mozilla.org/kb/troubleshoot-firefox-issues-using-safe-mode/discuss/2339 this discussion]). Maybe Michael Verdi or someone else can answer ... or do you want to test?
    Modified by AliceWyman on
  7. John99 3665 posts
    Report Abuse

    This is already all done so it is too late to comment with expectation of change. (I asked a question in the contributors forum, /forums/contributors/708499 before Alice pointed out this discussion)

    I would have preferred something leaving the easy method of "advanced" changes. Simply leave the options to reset individual settings until later, maybe when they restart after using safemode, rather than as the first options seen.

    It is true we often suggest not using the checkbox options on support questions; I think; because

    • it requires more support instructions to change back if the option was not necessary
    • starting in full safemode is the troubleshooting intention and may work to demonstrate a potential solution (then try the appropriate checkbox).

    I still think the safe mode reset prefs option was useful, and that the new reset profile option may be overkill in some circumstances.

    This is already all done so it is too late to comment with expectation of change. (I asked a question in the contributors forum, [/forums/contributors/708499] before Alice pointed out this discussion) I would have preferred something leaving the easy method of "advanced" changes. Simply leave the options to reset individual settings until later, maybe when they restart after using safemode, rather than as the first options seen. It is true we often suggest not using the checkbox options on support questions; I think; because * it requires more support instructions to change back if the option was not necessary * starting in full safemode is the troubleshooting intention and may work to demonstrate a potential solution (then try the appropriate checkbox). I still think the safe mode reset prefs option was useful, and that the new reset profile option may be overkill in some circumstances.
  8. AliceWyman 5146 posts
    Report Abuse

    The Safe Mode window may be missing the "Reset Firefox" option in some cases (e.g., when using a non-default profile). I brought this up in another discussion started by the-edmeister. See this thread for more information and screenshots:

    The Safe Mode window may be missing the "Reset Firefox" option in some cases (e.g., when using a non-default profile). I brought this up in another discussion started by the-edmeister. See this thread for more information and screenshots: *https://support.mozilla.org/forums/knowledge-base-articles/708530