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

REGRESSION: JPopupMenu extending beyond JFrame does not stay up under KDE

XMLWordPrintable

    • x86
    • linux

      Name: gm110360 Date: 03/16/2004


      FULL PRODUCT VERSION :
      java version "1.5.0-beta"
      Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0-beta-b32c)
      Java HotSpot(TM) Client VM (build 1.5.0-beta-b32c, mixed mode)


      ADDITIONAL OS VERSION INFORMATION :
      Linux ims-360-9-lnx 2.4.21-4.0.1.ELsmp #1 SMP Thu Oct 23 01:27:36 EDT 2003 i686 i686 i386 GNU/Linux


      EXTRA RELEVANT SYSTEM CONFIGURATION :
      KDE 3.1.3-6.2

      A DESCRIPTION OF THE PROBLEM :

      When we have a JPopupMenu extending beyond JFrame under KDE, the menu
      does not stay up when you enter it. We've found that this always happens when
      you set the KDE focus policy to "Focus Strictly Under Mouse".

      Our product uses small window to help users navigate between the different
      functions that need to be performed. This problem is especially annoying since the
      first operation a user may perform is a "File->Open..." and our "File" popup menu
      is wide. We don't want to have to tell users they need to change their focus policy
      to get our menus to work.

      STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
      1. In the KDE desktop bring up the Control Center. Under "Desktop->Window Behavior", set
          the focus policy to "Focus Strictly Under Mouse". Press the "Apply" button.

      2. Now, bring up the Notepad demo distributed with the SDK.

                java -jar .../demo/jfc/Notepad/Notepad.jar

      3. Horizontally shrink the window of the Notepad until the only the letter, "F", appears for
          the "File" menu item in the menubar.

      4. Now, perform a left-mouse click on the "F". This brings up the popup menu. Now,
           move the mouse into the popup menu. The popup menu disappears.

      EXPECTED VERSUS ACTUAL BEHAVIOR :
      EXPECTED -
      We expect the popup menu to remain.

      REPRODUCIBILITY :
      This bug can be reproduced always.

      CUSTOMER SUBMITTED WORKAROUND :
      Change the KDE focus policy to:
        "Click to Focus", "Focus Follows Mouse", "Focus Under Mouse"

      Release Regression From : 1.4.2
      The above release value was the last known release where this
      bug was known to work. Since then there has been a regression.

      (Incident Review ID: 243820)
      ======================================================================

            dmikhalksunw Denis Mikhalkin (Inactive)
            gmanwanisunw Girish Manwani (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: