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

Controls enable touch mode on wrong flag

XMLWordPrintable

      In UIControls Skins every time we check:

      com.sun.javafx.PlatformUtil.isEmbedded()

      In almost all cases we should really be checking:

      Platform.isSupported(ConditionalFeature.INPUT_TOUCH)

      As the changes are for touch devices not exclusive for Embedded. Embedded and Desktop can both be touch or non-touch. There are 72 places where we check isEmbedded and I expect most if not all are really if touch.

            dblaukop Daniel Blaukopf (Inactive)
            jasper Jasper Potts (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported: