Closed Bug 478606 Opened 15 years ago Closed 7 years ago

Multi-Touch Gestures support should be moved to toolkit and generalized so that other windows/applications can use them

Categories

(Toolkit :: General, defect)

defect
Not set
normal

Tracking

()

RESOLVED INCOMPLETE

People

(Reporter: whimboo, Unassigned)

References

Details

(Whiteboard: [close-me-2017-02-15])

Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.5; en-US; rv:1.9.1b3pre) Gecko/20090214 Shiretoko/3.1b3pre Ubiquity/0.1.5 ID:20090214020701

Multi-touch Gestures support was added a while ago and the Error Console should support this feature.
Flags: wanted1.9.1?
I think as a first step gGestureSupport should be generalized and moved to toolkit. It should probably be a component or a javascript module that each window can call to setup what ever gestures they want to support. And apparently Windows7  will support some sort of multi-touch functionality. Fennec would probably want this as well so setting platform/OS to all/all.
Component: Error Console → Spatial Navigation
OS: Mac OS X → All
QA Contact: error.console → spatial.navigation
Hardware: x86 → All
Summary: Three finger swipe up/down does not scroll to top/bottom in the Error Console → Multi-Touch Gestures support should be moved to toolkit and generalized so that other windows/applications can use them
Well OK so "Spatial Navigation" isn't exactly the right component but I'm leaving it here until someone finds a more appropriate component.
Version: 1.9.1 Branch → Trunk
What exactly is the goal of this bug? Any window/app can listen for Moz*Gesture and handle the behavior accordingly. Generalizing beyond that doesn't seem to make much sense.. other than swipe up/down, which seems to work well for scroll to top/bottom. But the action could be anything like open a new tab or show all open tabs, etc.
FYI about error console.. its display is just a bunch of box siblings.
(Oh and back to the original bug in comment 0, swipe up/down could be top/bottom while left/right switches among All/Errors/Warnings/Messages.)
Edward, so shall we move it back to Error Console than?
Flags: wanted1.9.1?
This bug's parent component is going away. Should this bug be moved to an equivalent component in Android or iOS?
Whiteboard: [close-me-2017-02-15]
Moving to toolkit::general.

This is the code that could be generalized in toolkit/content:
https://dxr.mozilla.org/comm-central/source/mozilla/browser/base/content/browser-gestureSupport.js
Component: Spatial Navigation → General
Status: NEW → RESOLVED
Closed: 7 years ago
Resolution: --- → INCOMPLETE
You need to log in before you can comment on or make changes to this bug.