ICEpdf
  1. ICEpdf
  2. PDF-1209

Improve highlight annotation containment

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 6.2.5
    • Fix Version/s: 6.3
    • Component/s: Viewer RI
    • Labels:
      None
    • Environment:
      Viewer RI

      Description

      When using the highlight markup annotation tools the resulting component behaves as a rectangle even now the highlight shape may be a complex polygon. This rectangular nature makes it hard to selected text that is not marked as highlighted but resides under the component block.

      The way around this is in swing is to make the contains(x,y) method a little smarter. Basically if the mouse is contained in the box we then look a little further to check if the mouse coordinates are also contained in the highlight shape. This address mouse icon state and the propagation of mouse events.

        Activity

        Hide
        Patrick Corless added a comment -

        Marking as complete.

        Show
        Patrick Corless added a comment - Marking as complete.

          People

          • Assignee:
            Patrick Corless
            Reporter:
            Patrick Corless
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: