Closed Bug 1269328 Opened 9 years ago Closed 8 years ago

Checkbox in the options panel to show the disable popup auto hide button can be confused for actually disabling popup autohide

Categories

(DevTools :: Framework, defect, P2)

defect

Tracking

(firefox49 affected)

RESOLVED WONTFIX
Tracking Status
firefox49 --- affected

People

(Reporter: jsnajdr, Unassigned)

References

Details

(Whiteboard: [btpp-fix-later])

STR: 1. Open Browser Toolbox, open the Toolbox Options 2. Check the "Disable popup auto hide" option Expected result: - the "ui.popup.disable_autohide" pref is set to true in the browser - popups are not hidden on blur and can be inspected and debugged Actual result: - the "ui.popup.disable_autohide" remains false
:ochameau, any ideas about this?
Component: Developer Tools: Shared Components → Developer Tools: Framework
Flags: needinfo?(poirot.alex)
I'm not able to reproduce on master/somewhat clean profile against hello/pocket popups. I can see the pref toggle when opening about:config. Would there be any useful error message in the browser console/terminal?? (ensure setting browser.dom.window.dump.enabled to true to see more logs in your terminal)
Flags: needinfo?(poirot.alex)
Unchecking the checkbox in the toolbox Options panel will not actually flip the pref in the same way that clicking the button in the top of the toolbar will - this is the same behavior as all the buttons up there, like paint flashing, 'toggle rulers', 'toggle split console', for example. If you first un-toggle the autohide before unchecking it in the options panel then autohide in the browser should be disabled. Do you think that behavior should be changed? By the way there's a similar thing at bug 1251658, which is requesting the pref be reset when the BT is closed.
See Also: → 1251658
Oh, I now realize I got totally confused by the UI. The "Disable popup auto hide" checkbox doesn't actually disable the popup auto hide, it only shows or hides the toolbar button! I didn't realize this until I started actually debugging the issue. Maybe if the checkbox labels were different, especially for two-state toggling actions, it would make the UI clearer. I.e., don't label the checkbox with an action verb like "Disable something", but a description of the button: "Disabling popup auto hide", "Toggling split console", "Toggling rulers for the page", ...
Priority: -- → P2
Whiteboard: [btpp-fix-later]
Status: NEW → RESOLVED
Closed: 8 years ago
Resolution: --- → FIXED
Summary: Browser Toolbox: option to disable popup auto hide doesn't work → Checkbox in the options panel to show the disable popup auto hide button can be confused for actually disabling popup autohide
Resolution: FIXED → WONTFIX
Product: Firefox → DevTools
You need to log in before you can comment on or make changes to this bug.