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

Swing submenu has a changed starting offset

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: P3
    • Resolution: Fixed
    • Affects Version/s: 6u43, 7, 8, 9
    • Fix Version/s: 9
    • Component/s: client-libs
    • Labels:
    • Subcomponent:
    • Resolved In Build:
      b89
    • CPU:
      x86_64
    • OS:
      windows_7

      Backports

        Description

        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.

          Attachments

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

            Issue Links

              Activity

                People

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

                  Dates

                  • Created:
                    Updated:
                    Resolved: