Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-4494085

Need to allow right-click through WMouseDragGestureRecognizer

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Fixed
    • Icon: P4 P4
    • 1.4.0
    • 1.3.1
    • client-libs
    • beta3
    • x86
    • windows_2000



      Name: nt126004 Date: 08/20/2001


      java version "1.3.1"
      Java(TM) 2 Runtime Environment, Standard Edition (build 1.3.1-b24)
      Java HotSpot(TM) Client VM (build 1.3.1-b24, mixed mode)

      Not sure if this should be a bug or a feature, but perhaps a feature...

      Since there is no apparent way for an application to register a subclass the
      MouseDragGestureRecognizer, there needs to be a way to enable the 'right-click'
      drag as a drag gesture. I believe that in my environment it is the
      sun.awt.windows.WMouseDragGestureRecognizer that is ignoring the right mouse
      button as a potential drag gesture.

      I realize that the right-click is also a popup event, but the component needs
      to be able to support both and may opt for one or the other. For example, the
      mouse drag threshold (I think its 5 by default), might be increased to 10
      pixels so that anything less than 10 pixels would cause a popup menu and
      anything greater would cause a 'right-click' drag gesture.
      (Review ID: 130219)
      ======================================================================

            dassunw Das Das (Inactive)
            nthompsosunw Nathanael Thompson (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: