Closed Bug 947747 Opened 11 years ago Closed 11 years ago

Zoom level label not updated on tab switch/url change if the zoom control are on a toolbar

Categories

(Firefox :: Toolbars and Customization, defect)

28 Branch
defect
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 934951

People

(Reporter: zebob.m, Unassigned)

References

(Blocks 1 open bug)

Details

User Agent: Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:28.0) Gecko/20100101 Firefox/28.0 (Beta/Release)
Build ID: 20131208030204

Steps to reproduce:

The zoom level label of Australis zoom controls is not updated on tab switch or location change if said controls are placed on a toolbar: for example, if the current tab is zoomed at 120%, and one switch to another tab with default zoom, the zoom level label still shows 120%. Same if one changes webpage.

After a bit of digging (thanks to #869933), I think a callback is missing in browser/components/customizableui/content/panelUI.js :

in init
Services.obs.addObserver(this, "browser-fullZoom:locationChange", false);

and unint:
Services.obs.removeObserver(this, "browser-fullZoom:locationChange");
Component: Untriaged → Toolbars and Customization
OS: Windows 7 → All
Hardware: x86 → All
Status: UNCONFIRMED → NEW
Ever confirmed: true
Thanks, but this is a duplicate. :-(

We used to use these callbacks that you mentioned, but the fullzoom module authors told us those callbacks are intended for debug only and not fully reliable, so we got rid of them. We'll need to find a way to do this differently, though...
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.