Closed
Bug 1184762
Opened 11 years ago
Closed 11 years ago
Magnifying glass pops up on Mozilla SSO
Categories
(Firefox for Android Graveyard :: General, defect)
Firefox for Android Graveyard
General
Tracking
(firefox42 fixed, fennec+)
RESOLVED
FIXED
Firefox 42
People
(Reporter: blassey, Assigned: domivinc)
References
Details
Attachments
(1 file, 1 obsolete file)
|
1.87 KB,
patch
|
mcomella
:
review+
|
Details | Diff | Splinter Review |
This is a mobile site with big touch areas, there really shouldn't be any reason for the magnifying glass to show up. And when it does, it is just getting in the way.
| Assignee | ||
Comment 1•11 years ago
|
||
Please, could you give the url of the page with the issue?
And could you post the values used in about:config for:
ui.mouse.radius.*
ui.touch.radius.*
Flags: needinfo?(blassey.bugs)
| Reporter | ||
Comment 2•11 years ago
|
||
http://mozilla.okta.com/
all the ui.*.radius.* prefs are their default values
Flags: needinfo?(blassey.bugs)
| Assignee | ||
Comment 3•11 years ago
|
||
The issue comes from the implementation of Bug 1180811.
It occurs every time a tap occurs on a clickable element.
It's not specific to your page.
I'm going to fix it.
Assignee: nobody → domivinc
| Assignee | ||
Comment 4•11 years ago
|
||
I added a test before closing the zoomed view with animation. The animation should occur only if the zoomed view is visible.
Attachment #8635711 -
Flags: review?(michael.l.comella)
Comment on attachment 8635711 [details] [diff] [review]
patch-17072015 1-Bug_1184762___Check_visibility_before_closing_with_animation__r_mcomella.patch
Review of attachment 8635711 [details] [diff] [review]:
-----------------------------------------------------------------
lgtm, assuming comment 0 doesn't mean the magnifying glass pops up and stays there, but rather the magnifying glass appears and animates out of the frame on click.
Attachment #8635711 -
Flags: review?(michael.l.comella) → review+
You should check out the review in bug 1184912 before landing because we might want to consolidate the efforts around where to check for visibility.
| Assignee | ||
Comment 7•11 years ago
|
||
Test of visibility has been moved in stopZoomDisplay method in order to simplify the implementation of bug 1184912.
Attachment #8637136 -
Flags: review?(michael.l.comella)
| Assignee | ||
Updated•11 years ago
|
Attachment #8635711 -
Attachment is obsolete: true
Updated•11 years ago
|
tracking-fennec: ? → +
Comment on attachment 8637136 [details] [diff] [review]
patch-20072015 1-Bug_1184762___Check_visibility_before_closing_with_animation__r_mcomella.patch
Review of attachment 8637136 [details] [diff] [review]:
-----------------------------------------------------------------
::: mobile/android/base/ZoomedView.java
@@ +501,5 @@
> moveUsingGeckoPosition(leftFromGecko, topFromGecko);
> }
>
> private void stopZoomDisplay(boolean withAnimation) {
> + if (getVisibility() == View.VISIBLE) {
nit: I prefer early error-check returns over placing the whole code block in an if statement - I find it a bit easier to reason about. So...
if (getVisibility() != View.VISIBLE) {
return;
}
// More code...
Attachment #8637136 -
Flags: review?(michael.l.comella) → review+
| Assignee | ||
Comment 11•11 years ago
|
||
Keywords: checkin-needed
Comment 12•11 years ago
|
||
Keywords: checkin-needed
Comment 13•11 years ago
|
||
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 42
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
•