Uploaded image for project: 'NetBeans'
  1. NetBeans
  2. NETBEANS-4183

Restore+Apply action in Options | Fonts&Colors| Annotations panel not working

    XMLWordPrintableJSON

    Details

      Description

      Test case https://netbeans-vm.apache.org/synergy/client/app/#/assignment/2433/v/1

      Original issue https://bz.apache.org/netbeans/show_bug.cgi?id=254764

      Steps

      1. Create a new Java file
      2. Type the following `x = 3;`
      3. Open Options |Font&Colors|annotations
      4. Select Fixable Errors in list on left
      5. Change the foreground to magenta
      6. Change background to Black
      7. Press Apply button
      8. Do not press OK
      9. Observed behaviour in editor is correct the line on error annotation is black with magenta foreground
      10. Click Restore button
      11. Select Fixable Errors
      12. Correctly shows default colors (attachment Restore-before-apply.png)
      13. Press Apply button
      14. Select Fixable errors
      15. Shows changed colors (attachment Restore-after-apply.png)

        Attachments

        1. Restore-after-apply.png
          183 kB
          Manikantan Narender Nath
        2. Restore-before-apply.png
          180 kB
          Manikantan Narender Nath

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              manikantannaren Manikantan Narender Nath
            • Votes:
              1 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated: