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

Node.impl_geomChanged optimization is ineffectual

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Unresolved
    • Icon: P4 P4
    • tbd
    • 8
    • javafx

      Attached Java callstack trace shows that an attempt to set geomBoundsInvalid in impl_geomChanged to true gets undone during localBoundsChanged() processing. That means that next time impl_geomChanged is called on the node same redundant processing will be done again.
      A test case showing this problem is VKTest.java from RT-24685. During the first CSS pass on the virtual keyboard every time the font property is set impl_geomChanged is called on the FXVK node but when it returns geomBoundsInvalid is always false causing redundant processing to be repeated over and over again for all subsequent calls to impl_geomChanged() on the node.

            Unassigned Unassigned
            omazurov Oleg Mazurov (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            8 Start watching this issue

              Created:
              Updated:
              Imported: