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

Swing submenu has a changed starting offset

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P3 P3
    • 9
    • 6u43, 7, 8, 9
    • client-libs
    • b89
    • x86_64
    • windows_7

        FULL PRODUCT VERSION :
        java version "1.8.0_25"
        Java(TM) SE Runtime Environment (build 1.8.0_25-b18)
        Java HotSpot(TM) 64-Bit Server VM (build 25.25-b02, mixed mode)

        ADDITIONAL OS VERSION INFORMATION :
        Microsoft Windows [Version 6.1.7601]

        A DESCRIPTION OF THE PROBLEM :
        I have a problem with the submenus. the graphical offset for the sub menu has changed since JRE version 1.6.0.23 (in version 22 it works fine).



        REGRESSION. Last worked in version 6u43

        STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
        For a reproduction please use the example
        https://docs.oracle.com/javase/tutorial/uiswing/examples/components/index.html#MenuDemo
        and set your look and feel to windows [in my case UIManager.setLookAndFeel(
                UIManager.getSystemLookAndFeelClassName());]
        Start it with version 1.6.0.23 (or higher) and watch the submenu (with jre 1.6.0.22 it works fine)


        REPRODUCIBILITY :
        This bug can be reproduced always.

          1. 6u22.png
            6u22.png
            25 kB
          2. 6u23.png
            6u23.png
            25 kB
          3. native.png
            native.png
            14 kB

              rchamyal Rajeev Chamyal (Inactive)
              webbuggrp Webbug Group
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated:
                Resolved: