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

REGRESSION: JInternalFrame outline dragging is very slow to respond

    XMLWordPrintable

    Details

    • Subcomponent:
      2d
    • Resolved In Build:
      mantis
    • CPU:
      generic, x86
    • OS:
      linux, windows_2000

      Description



      Name: jk109818 Date: 04/09/2002


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


      FULL OPERATING SYSTEM VERSION :
      Redhat Linux 6.2
      glibc-2.1.3.21
      kernel 2.2.16-3smp


      ADDITIONAL OPERATING SYSTEMS :
      Redhat Linux 7.1
      glibc-2.2.4-19
      kernel 2.4.9-6.1smp



      A DESCRIPTION OF THE PROBLEM :
      Dragging JInternalFrames within a JDesktop is extremely slow
      and jerky on linux (the problem does not seem to occur under
      Windows). Resizing the frame seems to have a similar
      problem. The larger the internal frame the less responsive
      dragging and resizing becomes.

      REGRESSION. Last worked in version 1.3.1

      STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
      1. See included example
      2.
      3.

      This bug can be reproduced always.

      ---------- BEGIN SOURCE ----------
      import javax.swing.*;
      import java.awt.*;

      public class Example extends JFrame {

          public static void main(String args[]) { new Example(); }

          public Example() {
              super("eg");
              init();
              pack();
              setVisible(true);
          }

          void init() {
              // build simple interface
              JDesktopPane jdp = new JDesktopPane();
              jdp.setPreferredSize(new Dimension(600,600));
              jdp.setDragMode(JDesktopPane.OUTLINE_DRAG_MODE);
              setContentPane(jdp);

              JInternalFrame jif = new JInternalFrame("boo");
              jif.setSize(400, 400);
              jif.setVisible(true);
              jif.setResizable(true);
              getContentPane().add(jif);
          }
      }


      ---------- END SOURCE ----------

      CUSTOMER WORKAROUND :
      None...and without a fix, we cannot release this software
      for use on Linux.

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

      (Review ID: 139216)
      ======================================================================

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              campbell Christopher Campbell (Inactive)
              Reporter:
              jkimsunw Jeffrey Kim (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Imported:
                Indexed: