Closed
Bug 940420
Opened 10 years ago
Closed 9 years ago
It's nearly impossible to close browser app tabs with edge gestures enabled
Categories
(Firefox OS Graveyard :: Gaia::System::Window Mgmt, defect)
Tracking
(Not tracked)
RESOLVED
FIXED
1.3 Sprint 6 - 12/6
People
(Reporter: etienne, Assigned: vingtetun)
References
Details
Attachments
(1 file, 2 obsolete files)
9.81 KB,
patch
|
smaug
:
review+
|
Details | Diff | Splinter Review |
Looks like the sendTouchEvent/sendMouseEvent API doesn't work well for in-procress apps.
Reporter | ||
Comment 1•10 years ago
|
||
Vivien do you have a patch I can try?
Blocks: edge-gestures
Flags: needinfo?(21)
Comment 2•10 years ago
|
||
Is this critical enough to block the edge gestures feature? If so, please nominate for 1.3?
Assignee | ||
Comment 3•10 years ago
|
||
(In reply to Etienne Segonzac (:etienne) from comment #1) > Vivien do you have a patch I can try? I think https://bug802237.bugzilla.mozilla.org/attachment.cgi?id=672864 should help.
Flags: needinfo?(21)
Assignee | ||
Updated•10 years ago
|
Summary: It's nearly impossible to close browswer app tabs with edge gestures enabled → It's nearly impossible to close browser app tabs with edge gestures enabled
Reporter | ||
Comment 4•10 years ago
|
||
Here's a rebased version of the patch, looks like it works very nicely!
Reporter | ||
Comment 5•10 years ago
|
||
Confirmed that the patch works! I'll let you take it from here Vivien :)
Assignee: nobody → 21
Assignee | ||
Comment 6•9 years ago
|
||
Smaug, let me now if you're not the correct reviewer for that.
Attachment #8336899 -
Attachment is obsolete: true
Attachment #8341183 -
Flags: review?(bugs)
Assignee | ||
Comment 7•9 years ago
|
||
Seems like I forgot to change the UUID of nsIDOMWindowUtils.idl in the attached patch. Sorry for the noise.
Attachment #8341183 -
Attachment is obsolete: true
Attachment #8341183 -
Flags: review?(bugs)
Attachment #8341188 -
Flags: review?(bugs)
Comment 8•9 years ago
|
||
Comment on attachment 8341188 [details] [diff] [review] add a sendTouchEventToWindow method to nsIDOMWindowUtils.idl >+nsDOMWindowUtils::SendTouchEventToWindow(const nsAString& aType, >+ uint32_t *aIdentifiers, >+ int32_t *aXs, >+ int32_t *aYs, >+ uint32_t *aRxs, >+ uint32_t *aRys, >+ float *aRotationAngles, >+ float *aForces, >+ uint32_t aCount, >+ int32_t aModifiers, >+ bool aIgnoreRootScrollFrame, >+ bool *aPreventDefault) * goes with the type, not param name (old code may use wrong style). >+NS_IMETHODIMP >+nsDOMWindowUtils::SendTouchEventCommon(const nsAString& aType, >+ uint32_t *aIdentifiers, >+ int32_t *aXs, >+ int32_t *aYs, >+ uint32_t *aRxs, >+ uint32_t *aRys, >+ float *aRotationAngles, >+ float *aForces, >+ uint32_t aCount, >+ int32_t aModifiers, >+ bool aIgnoreRootScrollFrame, >+ bool aToWindow, >+ bool *aPreventDefault) ditto > nsEventStatus status; >+ if (aToWindow) { >+ nsCOMPtr<nsIPresShell> presShell = presContext->PresShell(); >+ if (!presShell) >+ return NS_ERROR_FAILURE; {} with if. Same also elsewhere. >+ NS_IMETHOD SendTouchEventCommon(const nsAString& aType, >+ uint32_t *aIdentifiers, >+ int32_t *aXs, >+ int32_t *aYs, >+ uint32_t *aRxs, >+ uint32_t *aRys, >+ float *aRotationAngles, >+ float *aForces, >+ uint32_t aCount, >+ int32_t aModifiers, >+ bool aIgnoreRootScrollFrame, >+ bool aToWindow, >+ bool *aPreventDefault); * goes with the type Yeah, I think this makes sense, r=me We have similar method for mouseevents.
Attachment #8341188 -
Flags: review?(bugs) → review+
Assignee | ||
Comment 9•9 years ago
|
||
https://hg.mozilla.org/integration/mozilla-inbound/rev/4771c427c785
Status: NEW → ASSIGNED
OS: Linux → Gonk (Firefox OS)
Hardware: x86_64 → All
Target Milestone: --- → 1.3 Sprint 6 - 12/6
Comment 10•9 years ago
|
||
https://hg.mozilla.org/mozilla-central/rev/4771c427c785
Status: ASSIGNED → RESOLVED
Closed: 9 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•