Closed
Bug 692071
Opened 13 years ago
Closed 13 years ago
The Context Menu and Awesomelist are dismissed in the same time, if a tap is performed outside the Context Menu UI
Categories
(Firefox for Android Graveyard :: General, defect)
Tracking
(firefox9 affected, firefox10 fixed)
VERIFIED
FIXED
Firefox 10
People
(Reporter: xti, Assigned: lucasr)
Details
(Keywords: regression)
Attachments
(3 files, 1 obsolete file)
2.52 KB,
patch
|
lucasr
:
review+
|
Details | Diff | Splinter Review |
2.83 KB,
patch
|
mfinkle
:
review+
|
Details | Diff | Splinter Review |
1.81 KB,
patch
|
mfinkle
:
review+
|
Details | Diff | Splinter Review |
Build ID: Mozilla/5.0 (Android;Linux armv7l;rv:9.0a2)Gecko/20111004 Firefox/9.0a2 Fennec/9.0a2 Device: Samsung Galaxy S OS: Android 2.2 Build ID: Mozilla/5.0 (Android;Linux armv7l;rv:10.0a1)Gecko/20111004 Firefox/10.0a1 Fennec/10.0a1 Device: Samsung Galaxy S OS: Android 2.2 Steps to reproduce: 1. Open Fennec App 2. Tap on URL Bar for Awesomescreen 3. Long tap on any page for the Context Menu 4. Tap outside the Context Menu UI to dismiss it Expected result: After step 4, the Context Menu is dismissed and the Awesomescreen remains on the screen. Actual result: After step 4, the Context Menu and the Awesomescreen are dismissed in the same time.
Updated•13 years ago
|
Assignee: nobody → lucasr.at.mozilla
Comment 1•13 years ago
|
||
Aurora is also affected Mozilla/5.0 (Android; Linux armv7l; rv:9.0a2) Gecko/20111005 Firefox/9.0a2 Fennec/9.0a2
status-firefox10:
--- → affected
status-firefox9:
--- → affected
Keywords: regression,
regressionwindow-wanted
Assignee | ||
Comment 2•13 years ago
|
||
Attachment #564856 -
Flags: review?(mark.finkle)
Comment 3•13 years ago
|
||
Comment on attachment 564856 [details] [diff] [review] Keep awesome panel open when context menu is dismissed Why isn't handleEscape handling this correctly? http://mxr.mozilla.org/mozilla-central/source/mobile/chrome/content/browser-ui.js#850
Comment 4•13 years ago
|
||
(In reply to Mark Finkle (:mfinkle) from comment #3) > Why isn't handleEscape handling this correctly? This bug happens when the popup is dismissed by tapping, not when it's dismissed by the escape key.
Comment 5•13 years ago
|
||
Comment on attachment 564856 [details] [diff] [review] Keep awesome panel open when context menu is dismissed * _hasPopup -> _popupShowing * Should we worry that _popupShowing is not ref counted and could be messed up by more than 1 popup open? r+, but fix the nit and think about the question do we have any tests for this situation?
Attachment #564856 -
Flags: review?(mark.finkle) → review+
Reporter | ||
Comment 6•13 years ago
|
||
This issue doesn't occur on: Build ID : Mozilla /5.0 (Android;Linux armv7l;rv:9.0a1) Gecko/20110902 Firefox/9.0a1 Fennec/9.0a1 http://hg.mozilla.org/mozilla-central/rev/0664108eb19d but it occurs on: Build ID : Mozilla /5.0 (Android;Linux armv7l;rv:9.0a1) Gecko/20110903 Firefox/9.0a1 Fennec/9.0a1 http://hg.mozilla.org/mozilla-central/rev/472716252ea3 Possible range: http://hg.mozilla.org/mozilla-central/pushloghtml?fromchange=0664108eb19d&tochange=472716252ea3
Assignee | ||
Comment 7•13 years ago
|
||
(In reply to Mark Finkle (:mfinkle) from comment #5) > Comment on attachment 564856 [details] [diff] [review] [diff] [details] [review] > Keep awesome panel open when context menu is dismissed > > * _hasPopup -> _popupShowing > * Should we worry that _popupShowing is not ref counted and could be messed > up by more than 1 popup open? > > r+, but fix the nit and think about the question My understanding of popup handling in browser is that there's always only one popup open at a time. When a new popup is pushed, the previous one is dismissed. So, we only need to care if there's a popup on top of awesome panel or not. > do we have any tests for this situation? No. Writing one now.
Assignee | ||
Comment 8•13 years ago
|
||
Same patch with nits fixed. Keeping the review+.
Attachment #564856 -
Attachment is obsolete: true
Attachment #565207 -
Flags: review+
Assignee | ||
Comment 9•13 years ago
|
||
Attachment #565208 -
Flags: review?(mark.finkle)
Assignee | ||
Comment 10•13 years ago
|
||
Attachment #565209 -
Flags: review?(mark.finkle)
Updated•13 years ago
|
Attachment #565208 -
Flags: review?(mark.finkle) → review+
Comment 11•13 years ago
|
||
Comment on attachment 565209 [details] [diff] [review] (3/3) Add browser test for popup being dismissed on top of awesome panel Just add a comment about using setTimeout to simulate a long tap. We try to avoid using setTimeout with non-zero values, but in this case it's kinda needed.
Attachment #565209 -
Flags: review?(mark.finkle) → review+
Assignee | ||
Comment 12•13 years ago
|
||
http://hg.mozilla.org/integration/mozilla-inbound/rev/e5cfda41f2e8 http://hg.mozilla.org/integration/mozilla-inbound/rev/2d17b3815e1c http://hg.mozilla.org/integration/mozilla-inbound/rev/4749a3d2d66b
Target Milestone: --- → Firefox 10
Updated•13 years ago
|
Flags: in-testsuite+
Comment 14•13 years ago
|
||
No, you can go ahead and set in-testsuite+ when pushing to inbound - https://wiki.mozilla.org/Inbound_Sheriff_Duty
Flags: in-testsuite+
Keywords: regressionwindow-wanted
Comment 15•13 years ago
|
||
https://hg.mozilla.org/mozilla-central/rev/e5cfda41f2e8 https://hg.mozilla.org/mozilla-central/rev/2d17b3815e1c https://hg.mozilla.org/mozilla-central/rev/4749a3d2d66b
Status: NEW → RESOLVED
Closed: 13 years ago
Resolution: --- → FIXED
Comment 16•13 years ago
|
||
This issue is verified fixed on Nightly build: Mozilla/5.0 (Android;Linux armv7l;rv:10.0a1)Gecko/20111009 Firefox/10.0a1 Fennec/10.0a1 Device: HTC Desire OS: Android 2.2
Updated•13 years ago
|
Updated•13 years ago
|
Status: RESOLVED → VERIFIED
You need to log in
before you can comment on or make changes to this bug.
Description
•