Closed Bug 933748 Opened 11 years ago Closed 11 years ago

Rip out MetroInput support for pinch and rotate simple gestures

Categories

(Core Graveyard :: Widget: WinRT, defect)

26 Branch
x86_64
Windows 8.1
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED
mozilla28

People

(Reporter: jimm, Assigned: jimm)

Details

(Whiteboard: [qa-])

Attachments

(1 file, 1 obsolete file)

Pinch is handled by the apz, and we currently don't use rotate for anything. If we want we could keep rotate in the off chance we found a use for it.
Looks the simple fix is just disable the two options - 
http://mxr.mozilla.org/mozilla-central/source/widget/windows/winrt/MetroInput.cpp#1366

GestureSettings_ManipulationScale
GestureSettings_ManipulationRotate
Attached file fix (obsolete) —
Assignee: nobody → jmathies
Comment on attachment 825939 [details]
fix

argh, munged patch queue
Attachment #825939 - Attachment is patch: false
Attachment #825939 - Attachment is obsolete: true
Attached patch fixSplinter Review
Attachment #825941 - Flags: review?(tabraldes)
Comment on attachment 825941 [details] [diff] [review]
fix

Review of attachment 825941 [details] [diff] [review]:
-----------------------------------------------------------------

Yaaaaaaay!

::: widget/windows/winrt/MetroInput.h
@@ +129,5 @@
>                                  IEdgeGestureEventArgs* aArgs);
>    HRESULT OnEdgeGestureCompleted(IEdgeGesture* aSender,
>                                   IEdgeGestureEventArgs* aArgs);
>  
> +  // Swipe gesture callback from the GestureRecognizer. 

Trailing whitespace!

@@ +134,4 @@
>    HRESULT OnManipulationCompleted(IGestureRecognizer* aSender,
>                                    IManipulationCompletedEventArgs* aArgs);
> +
> +  // Tap gesture callback from the GestureRecognizer. 

Trailing whitespace!
Attachment #825941 - Flags: review?(tabraldes) → review+
https://hg.mozilla.org/mozilla-central/rev/1a01ab0e0f8f
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla28
Follow up landing to remove those two LogFunction calls. Somehow the patch I landed lost those.

https://hg.mozilla.org/integration/fx-team/rev/bc80affb084e
Whiteboard: [qa-]
Product: Core → Core Graveyard
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: