Closed
Bug 772656
Opened 14 years ago
Closed 14 years ago
End text selection when switching tabs
Categories
(Firefox for Android Graveyard :: Text Selection, defect)
Tracking
(firefox15 verified, firefox16 verified, firefox17 verified)
VERIFIED
FIXED
Firefox 16
People
(Reporter: Margaret, Assigned: Margaret)
References
Details
Attachments
(1 file)
|
1.79 KB,
patch
|
mfinkle
:
review+
akeybl
:
approval-mozilla-aurora+
|
Details | Diff | Splinter Review |
For performance reasons, let's kill the active selection if we switch tabs.
Attachment #640810 -
Flags: review?(mark.finkle)
Comment 1•14 years ago
|
||
Comment on attachment 640810 [details] [diff] [review]
patch
>diff --git a/mobile/android/chrome/content/browser.js b/mobile/android/chrome/content/browser.js
> uninit: function sh_uninit() {
> Services.obs.removeObserver(this, "Gesture:SingleTap", false);
> Services.obs.removeObserver(this, "Window:Resize", false);
>+ Services.obs.removeObserver(this, "Tab:Selected", false);
> Services.obs.removeObserver(this, "after-viewport-change", false);
> },
Cleanup: removeObserver does not have a third param. You can remove those.
Attachment #640810 -
Flags: review?(mark.finkle) → review+
| Assignee | ||
Comment 2•14 years ago
|
||
Target Milestone: --- → Firefox 16
Comment 3•14 years ago
|
||
Status: NEW → RESOLVED
Closed: 14 years ago
Resolution: --- → FIXED
| Assignee | ||
Comment 4•14 years ago
|
||
Comment on attachment 640810 [details] [diff] [review]
patch
[Approval Request Comment]
Bug caused by (feature/regressing bug #): this should be part of the text selection mass uplift (bug 695173), but was fixed after the roll-up patch in that bug was created
User impact if declined: starting text selection on a different tab can be slow
Testing completed (on m-c, etc.): landed on m-c 7/10
Risk to taking this patch (and alternatives if risky): low risk
String or UUID changes made by this patch: n/a
Attachment #640810 -
Flags: approval-mozilla-aurora?
Updated•14 years ago
|
Attachment #640810 -
Flags: approval-mozilla-aurora? → approval-mozilla-aurora+
| Assignee | ||
Comment 5•14 years ago
|
||
Uplifted to aurora as part of a roll-up patch:
https://hg.mozilla.org/releases/mozilla-aurora/rev/2fb0a358eaf6
status-firefox15:
--- → fixed
status-firefox16:
--- → fixed
Updated•13 years ago
|
Status: RESOLVED → VERIFIED
status-firefox17:
--- → verified
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
•