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

When --app-image and --icon are both specified, jpackage creates a shortcut for the main launcher

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: P4 P4
    • 26
    • 17, 21, 24, 25
    • tools
    • None
    • other
    • linux

      When --app-image and --icon are both specified, jpackage creates a shortcut for the main launcher on Linux.

      This is incorrect behavior; jpackage should not alter the provided app image. --icon parameter should be ignored, or jpackage should exit with an error. When the --app-image parameter is specified, the --icon parameter makes sense only for bundlers that can use it to configure the installer (e.g., exe). rpm and deb bundles don't have icons in the it configuration.

      The AppImagePackageTest.testEmpty(true) test should be modified to fail if jpackage adds desktop files to rpm/deb bundle.

            asemenyuk Alexey Semenyuk
            asemenyuk Alexey Semenyuk
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: