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

Window.setAlwaysOnTop documentation should be updated

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: P4
    • Resolution: Fixed
    • Affects Version/s: 8
    • Fix Version/s: 8
    • Component/s: client-libs
    • Labels:
    • Subcomponent:
    • Resolved In Build:
      b115

      Description

      When this method is called on a window with a value of false the always-on-top state is set to normal. The window remains in the top-most position but it`s z-order can be changed as for any other window.

      The window remains in the top-most position...
      It is not true for some window managers on Linux, e.g. Metacity:

      If we have two windows #1 has always-on-top state and has no window focus and #2 has window focus,
      then calling setAlwaysOnTop(false) will bring #2 window to front of #1 window.

      The javadoc for the Window.setAlwaysOnTop should be updated to specify this platform specific behaviour.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              azvegint Alexander Zvegintsev
              Reporter:
              azvegint Alexander Zvegintsev
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: