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

Frame is not maximized even isFrameStateSupported returns true in Linux/Gnome

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: P4 P4
    • None
    • 1.4.0
    • client-libs
    • x86
    • linux

      The following methods returns true in Linux

      Toolkit.getDefaultToolkit().isFrameStateSupported(Frame.MAXIMIZED_HORIZ)
      Toolkit.getDefaultToolkit().isFrameStateSupported(Frame.MAXIMIZED_VERT)
      Toolkit.getDefaultToolkit().isFrameStateSupported(Frame.MAXIMIZED_BOTH)

      But when setting state to Frame.MAXIMIZED_HORIZ, Frame.MAXIMIZED_VERT, Frame.MAXIMIZED_BOTH, frame is not getting maximized in any direction.

      Its returning true and not working in Linux Redhat 6.1 and 6.2

      But ALL these methods are working fine in Linux Redhat 7.0 and the Frame is getting maximized in all directions as expected.


      When I login using KDE session, in Linux Redhat 6.2 the methods are returning false and its not getting maximized.

      When I login using Gnome session, all methods return true and are not getting maximized

            rraysunw Richard Ray (Inactive)
            rpullanisunw Rakesh Pullanikkad (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: