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

Window's insets are not updated when changing its state

    XMLWordPrintable

Details

    • generic
    • linux

    Description

      Operating system: Ubuntu 6.06, 32-bit
      Desktop: GNOME
      Window manager: metacity 2.14.5

      I have attached two sample tests. Both of them show a frame and prints its insets in normal and maximized states. The difference between the tests is that in one of them the frame is first in the normal state and then in the maximized state, and in another the state order is reverse.

      In the system described above both of insets are equal to [24, 5, 5, 5] when the frame is first shown in the normal state and to [24, 5, 1, 5] when the frame is first shown in the maximized state. I expect another behavior: insets should be always equal to [24, 5, 5, 5] in the normal state and to [24, 5, 1, 5] in the maximized state, regardless of what state the frame is first shown.

      This difference may be also found by running 'xprop |grep _NET_FRAME_EXTENTS' for the frame in different states. The value of this property (which is set by window manager to reflect the frame's insets) is different for distinct window states, but Java insets are equal for all the states.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              art Artem Ananiev (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Imported:
                Indexed: