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

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

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P4
    • Resolution: Duplicate
    • Affects Version/s: 1.4.0
    • Fix Version/s: None
    • Component/s: client-libs
    • Labels:
    • Subcomponent:
    • CPU:
      x86
    • OS:
      linux

      Description

      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

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Imported:
                  Indexed: