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

GTK FileDialog lies about it's Bounds

    XMLWordPrintable

    Details

    • Subcomponent:
    • Resolved In Build:
      b134
    • CPU:
      generic
    • OS:
      linux
    • Verification:
      Verified

      Description

      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.

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                Created:
                Updated:
                Resolved:
                Imported:
                Indexed: