Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-4963120

Ocean Theme: Menu bar needs repainting when toolbar is detached

    XMLWordPrintable

    Details

    • Subcomponent:
    • Resolved In Build:
      b50
    • CPU:
      generic, x86
    • OS:
      generic, solaris_8, windows_xp

      Description

      Under the ocean theme, a gradient is painted behind menus and toolbars. If a toolbar is adjacent to a menu bar, the individual gradients are painted to look like one. If the toolbar is then moved elsewhere, or detached completely from the frame, the gradient behind the menu bar is changed. Currently, it is not being repainted.

      To reproduce:
      - Launch SwingSet2
      - Notice a shared gradient behind the menu bar and toolbar
      - Drag the toolbar out of the main frame by its thumb and drop it, thereby putting it in its own window
      - Notice that the section of gradient behind the menu doesn't change
      - Obscure the menu portion of the frame with another window and then show it again
      - Notice that the menu bar has now been repainted with a distinct light to dark gradient
      - This light to dark gradient should be apparent immediately after the toolbar is removed without having to force a repaint

      Note that the same issue occurs when re-adding the toolbar to the main frame. To see this, hit the close button (the "X" button on Windows) on the toolbar.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              svioletsunw Scott Violet (Inactive)
              Reporter:
              shickeysunw Shannon Hickey (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Imported:
                Indexed: