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

[PATCH] Regression: cursor behavior in text elements weird after revision 761228

    XMLWordPrintableJSON

Details

    Description

      While playing with cursors a bit, I noticed a weird behavior with pointer cursors... Further analysis and comparison with release 1.7 lead to the conclusion that this was a regression introduced with revision 761228.

      Steps to reproduce:
      1. Load the bug report URL [1] in Batik Squiggle;
      2. Place the mouse pointer over "Text Cursor" and move around.

      Expected results:
      A text cursor would be shown always.

      Actual results:
      A pointer cursor is sometimes displayed.

      Additional information:
      After digging down a bit, it seems that a necessary coordinate transform was removed during revision 761228. The patch addresses this by restoring it. I've also checked that the example [2] posted into the mailing list – which somehow triggered the changes – still works flawlessly with the patch applied.

      [1] http://www.w3.org/Graphics/SVG/Test/20061213/svggen/interact-cursor-01-f.svg
      [2] http://www.nabble.com/attachment/22824226/0/Batik-EventsAndZoomIssues.svg

      Attachments

        1. Batik-FixCursorInTextElements.patch
          0.8 kB
          Helder Magalhães

        Activity

          People

            batik-dev@xmlgraphics.apache.org Batik Developer's Mailing list
            helder.magalhaes@gmail.com Helder Magalhães
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: