Coverage ruler does not refresh correctly when all source code annotations are disabled

XMLWordPrintable

    • Type: Bug
    • Resolution: Won't Fix
    • Priority: Low
    • open-source
    • Affects Version/s: 3.1.4, 3.1.5, 3.1.6, 3.1.7
    • Component/s: CEP Plugin
    • None
    • Environment:

      Does not work on Eclipse 3.4.2, 3.5.2, 3.6.2, 3.7.2.

    • Severity 3 - Minor

      A left Clover coverage ruler does not refresh correctly after change in coverage in case when we don't have Clover-related source code annotations enabled. Steps to reproduce:

      • install Clover, enable it for a Moneybags project, perform full rebuild
      • open MoneyBagTest -> coverage is red
      • open Window > Preferences > Editors > Text editors > Annotations
      • for all "Clover: xxx" annotation types disable "Vertical ruler", "Overview ruler" and "Text as" checkboxes
      • run opened test case (right click, run as, junit test)

      Result:

      • JUnit view shows that tests were executed, Coverage Explorer view is also updated correctly, but the ruler is still highlighted in red
      • now scroll the text editor up and down - ruler refreshes during repaint; (the same happens when editor is reopened or resized)

      See attached screenshot.

      Expected result:
      1) ruler should refresh automatically when coverage data is changed, no matter whether source annotation is enabled or not OR
      2) ruler should not draw any color if corresponding source code annotation is disabled

              Assignee:
              Unassigned
              Reporter:
              Marek Parfianowicz (Inactive)
              Votes:
              1 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: