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

Repaint problems in tabcontrol ButtonPopupSwitcher

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Minor
    • Resolution: Unresolved
    • 12.4
    • None
    • None
    • NetBeans 12.4 on OpenJDK 11.0.11 on Windows, with Windows LAF.

    Description

      On the Windows LAF, when using the dropdown menu to select an editor tab, hovering over the "X" button and then moving the mouse cursor to the right outside the switcher popup will cause repaint problems. See the attached GIF, which was prepared by DevCharly (who found the bug during review of another PR).

      The component in question is org.netbeans.swing.tabcontrol.ButtonPopupSwitcher. See also https://github.com/apache/netbeans/pull/2528 , which intends to make some changes in this area.

      The bug does not appear on MacOS/Aqua. It does appear on both the Windows LAF and FlatLAF Dark on Windows.

      Attachments

        1. Tab Switcher Bug.gif
          395 kB
          Eirik Bakke

        Activity

          People

            Unassigned Unassigned
            ebakke Eirik Bakke
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: