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

Gtk: Stage.setResizable synchronization problem

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P4 P4
    • 7u6
    • 7u6
    • javafx

      Currently the following sequence of commands:

      stage.sizeToScene();
      stage.setResizable(false);

      causes the stage to acquire an incorrect size (the size the stage had before the sizeToScene call) on glass gtk port. The problem is that to make a window non-resizable on X11, its minimum size and maximum size must be set to the same value. The current implementation uses the last reported size from system, not taking into account, that this size will change eventually by the sizeToScene request.

            lnerad Ľubomír Nerád (Inactive)
            lnerad Ľubomír Nerád (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported: