Open Bug 1163240 Opened 9 years ago Updated 2 years ago

Add an API to open the view of a View Widget regardless of area placed

Categories

(Firefox :: Toolbars and Customization, enhancement, P5)

enhancement

Tracking

()

People

(Reporter: MattN, Unassigned)

References

Details

Logic for how to open the view of a type:view widget varies depending on where the widget is placed. Generally one can use window.PanelUI.showSubView but there are some problems:
* If the widget is in the menu panel, one would want to open the menu panel fully first
* The widget may have no placement.
* The menu panel may already have another subview open in which case you would likely want to switch subviews.
* If the method is called multiple times while in the menu panel, the menu panel gets in a bad state.

In bug 1161810 I implemented the minimal logic for UITour but we can move that code to CUI/PanelUI as part of this bug as we make it more robust.
(not actually blocking the Pocket tour work, so P5 as a general improvement for the future)
Priority: -- → P5
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.