Uploaded image for project: 'Batik'
  1. Batik
  2. BATIK-799

Zoom overlay not drawn in OSX

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Resolution: Fixed
    • Affects Version/s: 1.7
    • Fix Version/s: None
    • Component/s: GVT
    • Labels:
      None
    • Environment:
      Operating System: Mac OS X 10.4
      Platform: Macintosh

      Description

      The zoom overlay for the AbstractZoomInteractor is not rendered in OSX.

      The problem appears to be that mouseDragged events are not generated on OSX when
      the ctrl-key is held down (presumably something to do with ctrl-click being a
      right mouse click on the mac).

      A workaround is to forward mouseMoved events to the mouseDragged handler in
      AbstractJGVTComponent if the AbstractZoomInteractor is the selected interactor
      (patch to be attached).

      Another option might be to rework the code so that the meta modifier is used to
      initiate interactors on OSX instead of the ctrl modifier. However, it seems
      likely that would require more work...

      There's at least one other mac specific fix in 1.7 that I'm waiting for, so it
      would be cool (from my perspective) if this could also fixed in 1.7. Not sure
      if it's too late for additional changes to go into 1.7.

        Attachments

          Activity

            People

            • Assignee:
              batik-dev@xmlgraphics.apache.org Batik Developer's Mailing list
              Reporter:
              ctl271@mail.usask.ca Chris Lewis
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: