Bug 343300 - Support gesture for context menu
Summary: Support gesture for context menu
Status: NEW
Alias: None
Product: RAP
Classification: RT
Component: RWT (show other bugs)
Version: 1.4   Edit
Hardware: PC All
: P3 normal with 2 votes (vote)
Target Milestone: ---   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 394180 323032
  Show dependency tree
 
Reported: 2011-04-19 14:17 EDT by Austin Riddle CLA
Modified: 2012-11-13 08:41 EST (History)
2 users (show)

See Also:


Attachments
Simple implementation of content-menu support in iPad (3.74 KB, patch)
2011-04-19 14:18 EDT, Austin Riddle CLA
no flags Details | Diff
Updated Patch from Austin Riddle (3.66 KB, patch)
2011-10-26 04:28 EDT, Stephan Leicht Vogt CLA
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Austin Riddle CLA 2011-04-19 14:17:14 EDT
We need to support a gesture for opening the context menu.

This first-attempt patch uses the double finger tap as recommended here:

http://itap-mobile.com/itap-rdp/manual#importantgestures

to support the context menu.
Comment 1 Austin Riddle CLA 2011-04-19 14:18:32 EDT
Created attachment 193612 [details]
Simple implementation of content-menu support in iPad
Comment 2 Tim Buschtoens CLA 2011-04-20 04:35:57 EDT
Hm. On android the pattern is to use one finger and hold for about a second. I'm currently uncertain which to support. I guess we could also support both. 

This is complicated in so far that one has to make sure it works in all combinations, especially with left-button mouseevents. E.g. what if one of the two finger is slightly faster than the second? (So you have 0-1-2-1-0). What if the two finer hit different targets? What if you move them slightly, which would be detected as a pinch-zoom by the ipad?
Comment 3 Stephan Leicht Vogt CLA 2011-10-26 04:28:21 EDT
Created attachment 205969 [details]
Updated Patch from Austin Riddle

I updated the patch from Austin Riddle to the current CVS HEAD and tried it on my iPad. Unfortunately nothing happens. No context menu appears on the table. Does this patch need more changes in other code-parts?

I would like to see this issue solved and would contribute with discussion and patches. Until this is solved, we have to write a workaround in java.