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

Wrong name to look up for .desktop template in resource directory

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: P3
    • Resolution: Fixed
    • Affects Version/s: internal
    • Fix Version/s: internal
    • Component/s: tools
    • Labels:
    • Subcomponent:
    • CPU:
      generic
    • OS:
      linux

      Description

      Using default package resource template.desktop [Menu shortcut descriptor] (add application-application.desktop to the resource-dir to customize)

      It should be just "application.desktop", not "application-application.desktop".

      jpackage uses package name as a prefix for .desktop files it registers in the system with `xdg-desktop-menu` command.
      However the prefix should not be used when looking up for a file in resource directory.

        Attachments

          Activity

            People

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

              Dates

              Created:
              Updated:
              Resolved: