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

GTK FileDialog lies about it's Bounds

XMLWordPrintable

    • b134
    • generic
    • linux
    • Verified

      Run a small attached test on a Gnome or other GTK-based window manager.

      GTK FileDialog will appear. A separate thread will try to query and set location/bounds of the dialog. Apparently a window manager will ignore attempts to position the dialog: let's think it's OK for now. However when we ask about location and size of the dialog, it lies.
      First, it does falsely report 0,0 (or whatever was set before show) as the location and then does report the location and size as if our unsuccessful attempt to change them has been successful.

      It seems that the property in java was changed and retained without regard of success or failure of a setter.

            dcherepanov Dmitry Cherepanov
            yan Yuri Nesterenko
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: