Closed
Bug 1417272
Opened 7 years ago
Closed 7 years ago
The "Send Tab to Device" page action can be disabled in the page action menu but enabled in the urlbar
Categories
(Firefox :: Address Bar, enhancement, P1)
Firefox
Address Bar
Tracking
()
RESOLVED
FIXED
Firefox 59
Tracking | Status | |
---|---|---|
firefox59 | --- | fixed |
People
(Reporter: adw, Assigned: adw)
References
(Blocks 1 open bug)
Details
Attachments
(1 file)
If you open a page that's not sendable via Sync (about:about for example), the Send Tab to Device menu item in the page action menu will be disabled. But if you also add that action to the urlbar, its button there will not be disabled. The menu item is disabled here: https://dxr.mozilla.org/mozilla-central/rev/fc194660762d1b92e1679d860a8bf41116d0f54f/browser/base/content/browser-pageActions.js#962
Only the node in the menu is disabled, not the one in the urlbar (if present). But what should actually happen now (probably) is to call PageActions.actionForID("sendToDevice").setDisabled(window), now that we have that ability. That will automatically disable both nodes for that window.
Comment hidden (mozreview-request) |
Assignee | ||
Comment 2•7 years ago
|
||
This replaces the manual setting of the disabled attribute on the panel button (and only the panel button, not the urlbar button) with an onLocationChange handler and action.setDisabled().
Comment 3•7 years ago
|
||
mozreview-review |
Comment on attachment 8928681 [details]
Bug 1417272 - The "Send Tab to Device" page action can be disabled in the page action menu but enabled in the urlbar.
https://reviewboard.mozilla.org/r/199924/#review205408
Great, thanks!
Attachment #8928681 -
Flags: review?(gijskruitbosch+bugs) → review+
Updated•7 years ago
|
Assignee: nobody → adw
Mentor: adw
Status: NEW → ASSIGNED
Priority: -- → P1
Pushed by dwillcoxon@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/6bf259a96c49
The "Send Tab to Device" page action can be disabled in the page action menu but enabled in the urlbar. r=Gijs
Comment 5•7 years ago
|
||
bugherder |
Status: ASSIGNED → RESOLVED
Closed: 7 years ago
status-firefox59:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → Firefox 59
You need to log in
before you can comment on or make changes to this bug.
Description
•