Most customizable items (looks like all API-based widgets) go AWOL after using Forget button
Categories
(Firefox :: Toolbars and Customization, defect, P1)
Tracking
()
People
(Reporter: mberlinger, Assigned: Gijs)
Details
Attachments
(1 file)
Affected versions
- 68.0a1(2019-04-09)
- 67.0b9
- 66.0.2
Affected platforms
- mac OS 10.13.6
- Windows 7x64
- Windows 10x64
- Ubuntu 18.04x64
Steps to reproduce
- Launch Firefox
- Go to customize
- Move all items in overflow menu
- Click "Restore defaults" button
- Drag "Forget" item in toolbar
- Click the Forget item then the "Forget" button
- Go to customize
Expected result
- All items are displayed.
Actual result
- Just 6 items are displayed
Regression range
- This is not a recent regression since I was able to reproduce it on Firefox 65.0. I'll investigate asap.
Additional notes
- After refreshing the Firefox all items are displayed
Assignee | ||
Comment 1•6 years ago
|
||
A regression window would be very helpful here.
Assignee | ||
Comment 2•6 years ago
|
||
It looks like just moving 1 API-based widget, like the zoom controls, instead of all of them, and otherwise following the same steps as comment #0, makes that specific widget disappear.
Assignee | ||
Comment 3•6 years ago
|
||
Also, just closing the initial window and opening another one does the same job (on mac, where the process stays live in that case).
Reporter | ||
Comment 4•6 years ago
|
||
This issue is not a regression since I was able to reproduce it on Firefox from 2014-09-29 when the "Forget" button was first implemented.
Assignee | ||
Comment 5•6 years ago
|
||
This is caused by https://searchfox.org/mozilla-central/rev/d143f8ce30d1bcfee7a1227c27bf876a85f8cede/browser/components/customizableui/CustomizableUI.jsm#1880-1889 ignoring widgets with a currentArea
defined, and the fact that currentArea
is not updated for API-based widgets when resetting. We don't normally notice this when widgets have already been defined in the same window, but this means a simpler set of STR is:
- open firefox
- open customize mode
- move developer button to a toolbar or the panel
- click 'restore defaults'
- close customize mode
- open a new window
- open customize mode in the new window
ER:
developer button is present in customize mode
AR:
it isn't.
Assignee | ||
Comment 6•6 years ago
|
||
This is a bit of an edgecase and easy to workaround, and doesn't affect anything outside of customize mode, so I'm wontfixing for 67 because this code is... complex.
Assignee | ||
Comment 7•6 years ago
|
||
Comment 9•6 years ago
|
||
bugherder |
Updated•5 years ago
|
Reporter | ||
Comment 10•5 years ago
|
||
This issue is verified fixed using Firefox 68.0b9 on the following OSes: Windows 10x64, Windows 7x64, Ubuntu 18.04x64, mac OS 10.13.6.
Description
•