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

Node.impl_geomChanged optimization is ineffectual

    XMLWordPrintable

    Details

    • Type: Enhancement
    • Status: Open
    • Priority: P4
    • Resolution: Unresolved
    • Affects Version/s: 8
    • Fix Version/s: tbd
    • Component/s: javafx
    • Labels:

      Description

      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.

        Attachments

          Activity

            People

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

              Dates

              Created:
              Updated:
              Imported: