Closed Bug 938980 Opened 11 years ago Closed 11 years ago

[Australis] Restore Defaults will not reshow the address bar if it has been hidden through channel switching

Categories

(Firefox :: Toolbars and Customization, defect)

28 Branch
defect
Not set
normal

Tracking

()

RESOLVED FIXED
Firefox 28

People

(Reporter: accounts, Assigned: jaws)

References

(Blocks 1 open bug)

Details

(Whiteboard: [Australis:P3])

Attachments

(1 file)

User Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.9; rv:28.0) Gecko/20100101 Firefox/28.0 (Beta/Release)
Build ID: 20131114040203

Steps to reproduce:

Open a non-Australis version of Firefox. Hide the address bar by selecting the following from the menu bar:
View > Toolbars > Navigation Toolbar
Close Firefox and open an Australis-based Firefox.


Actual results:

There is no Address bar. Even after going to "View >Toolbars > Customize..." and selecting "Restore Defaults", no Address bar appears.


Expected results:

Either an address bar should appear on first opening Firefox, or, at the very least, when "Restore Defaults" is selected.
Whiteboard: [Australis:M?][Australis:P3]
This only happens if that profile has been on Australis before. Try going through the steps with a clean profile. You'll see the navbar appears fine. Go through the same steps with the same profile again, and it doesn't happen. This is because we keep track of UI migrations as an int and we generally don't support migrating 'backwards'. This is also true for other such migrations (e.g. going from beta to nightly back to beta, should there have been any UI migrations, will not re-migrate stuff).

I'm not sure if/how we should attempt to fix this. Jared?
Status: UNCONFIRMED → NEW
Ever confirmed: true
Flags: needinfo?(jaws)
Summary: [Australis] Missing Address Bar → [Australis] Address bar is not restored when hid again after the migration code has run already
Component: Untriaged → Toolbars and Customization
Hm, well we have the ability to run migrations at each startup if we think it is a higher damage (which this is) and also higher frequency issue (which this may not be).

I think the scary part is that Restore Defaults doesn't fix it. That should be easy to fix and would allow advanced users (the type to switch between build channels) to fix the issue.
Flags: needinfo?(jaws)
Summary: [Australis] Address bar is not restored when hid again after the migration code has run already → [Australis] Restore Defaults will not reshow the address bar if it has been hidden through channel switching
(In reply to Jared Wein [:jaws] from comment #2)
> I think the scary part is that Restore Defaults doesn't fix it. That should
> be easy to fix and would allow advanced users (the type to switch between
> build channels) to fix the issue.

Yeah, we don't touch toolbar states when people hit restore defaults (hide/show the bookmark bar / menubar per defaults). We could start doing that...
Yeah, just making sure that the Navigation Toolbar is visible.
Assignee: nobody → jaws
Status: NEW → ASSIGNED
Attached patch PatchSplinter Review
Attachment #8334844 - Flags: review?(gijskruitbosch+bugs)
Comment on attachment 8334844 [details] [diff] [review]
Patch

Review of attachment 8334844 [details] [diff] [review]:
-----------------------------------------------------------------

::: browser/components/customizableui/src/CustomizableUI.jsm
@@ +1803,5 @@
>        for (let areaNode of areaNodes) {
>          this.buildArea(areaId, placements, areaNode);
>        }
>      }
> +

Nit: no need to mess with whitespace here
Attachment #8334844 - Flags: review?(gijskruitbosch+bugs) → review+
https://hg.mozilla.org/integration/fx-team/rev/facbde351c72
Flags: in-testsuite+
OS: Mac OS X → All
Hardware: x86 → All
Whiteboard: [Australis:M?][Australis:P3] → [Australis:M10][Australis:P3]
Whiteboard: [Australis:M10][Australis:P3] → [Australis:P3]
https://hg.mozilla.org/mozilla-central/rev/facbde351c72
Status: ASSIGNED → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 28
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: