Mac: StageStyles affect OS window drop shadow

XMLWordPrintable

    • Type: Enhancement
    • Resolution: Unresolved
    • Priority: P4
    • tbd
    • Affects Version/s: None
    • Component/s: javafx
    • None
    • Environment:

      Mac

      In Mac OSX windows drop shadows onto the desktop and other app windows, and so does a JavaFX app by default, but the shadow changes if you change the StageStyle, as follows:

      StageStyle.DECORATED – JavaFX works as it should by dropping a normal mac window shadow.
      StageStyle.UNDECORATED – JavaFX app window works but shadow is more more vague than normal.
      StageStyle.TRANSPARENT – the JavaFX app window no longer drops any shadow.

      I need to create an undecorated window with rounded corners. To do that, I need to select StageStyle.TRANSPARENT and add a clip to the contents. Everything renders correctly except now I loose the Mac OSX window drop shadow.

            Assignee:
            Unassigned
            Reporter:
            Randahl Isaksen
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Imported: