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

SystemTray: get Gnome Shell version property via the DBUS API

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Unresolved
    • Icon: P3 P3
    • tbd
    • 22, 23
    • client-libs
    • None

      JDK-8322750 gets Gnome Shell version with ProccessBuilder.
      There is a much cleaner way using the DBUS API.

      https://bugs.openjdk.org/secure/attachment/108275/SystemTrayTests.patch


      We can also move the check out of XSystemTrayPeer to XToolkit.createTrayIcon(return null peer if not supported)

      Also, we should recheck the Gnome shell version range again which is used to disable SystemTray support.
      We should also exclude this check on Wayland, as it is not affected by this bug.

            azvegint Alexander Zvegintsev
            azvegint Alexander Zvegintsev
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: