Closed
Bug 928439
Opened 12 years ago
Closed 12 years ago
Helper app icon appears in wrong tab when a page loads in a background tab
Categories
(Firefox for Android Graveyard :: General, defect)
Tracking
(firefox25 unaffected, firefox26- verified, firefox27 verified)
VERIFIED
FIXED
Firefox 27
Tracking | Status | |
---|---|---|
firefox25 | --- | unaffected |
firefox26 | - | verified |
firefox27 | --- | verified |
People
(Reporter: mbrubeck, Assigned: mbrubeck)
References
Details
Attachments
(1 file)
1.09 KB,
patch
|
wesj
:
review+
lsblakk
:
approval-mozilla-aurora+
|
Details | Diff | Splinter Review |
Steps to reproduce:
1) Open any page with a direct link to an image file, e.g. https://people.mozilla.org/~mbrubeck/
2) Long-click on a link to an image file (e.g. "needs.png" on the page above) and choose "Open in new tab"
Expected results: The image opens in a background tab. The helper app icon appears only after you switch to that tab.
Actual results: The image opens in a background tab, but the helper app icon appears in the foreground tab.
Side note: To avoid bugs like this (and simplify life for add-on authors), it would be nice if the PageActions API allowed a pageaction to be associated with a tab, so the browser could handle hiding/showing them automatically based on the selected tab. I'll file a separate bug for that.
Attachment #819078 -
Flags: review?(wjohnston)
Comment 1•12 years ago
|
||
Comment on attachment 819078 [details] [diff] [review]
patch
Review of attachment 819078 [details] [diff] [review]:
-----------------------------------------------------------------
Hmm.. I think I thought pageshow wouldn't fire for background tabs.
Attachment #819078 -
Flags: review?(wjohnston) → review+
Assignee | ||
Comment 2•12 years ago
|
||
Target Milestone: --- → Firefox 27
Comment 3•12 years ago
|
||
Status: ASSIGNED → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
Assignee | ||
Comment 4•12 years ago
|
||
Comment on attachment 819078 [details] [diff] [review]
patch
[Approval Request Comment]
Bug caused by (feature/regressing bug #): bug 899376 (new "Helper App" feature)
User impact if declined: "Helper App" icon appears in wrong tab in certain cases
Testing completed (on m-c, etc.): Landed on m-c on October 19.
Risk to taking this patch (and alternatives if risky): Very low risk one-line Android-only patch that only touches the new Helper App feature.
String or IDL/UUID changes made by this patch: None.
Attachment #819078 -
Flags: approval-mozilla-aurora?
Updated•12 years ago
|
Comment 5•12 years ago
|
||
Comment on attachment 819078 [details] [diff] [review]
patch
no need to track, we can take this low risk uplift.
Attachment #819078 -
Flags: approval-mozilla-aurora? → approval-mozilla-aurora+
Assignee | ||
Comment 6•12 years ago
|
||
Comment 7•12 years ago
|
||
Tested with Galaxy Nexus (4.3) using:
Firefox 26 Beta 8
Steps to reproduce:
1) Open any page with a direct link to an image file, e.g. https://people.mozilla.org/~mbrubeck/
2) Long-click on a link to an image file (e.g. "needs.png" on the page above) and choose "Open in new tab"
The Helper app icon doesn't appear on the foreground page - only in the background.
Marking this verified fixed.
Updated•5 years ago
|
Product: Firefox for Android → Firefox for Android Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•