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

JNLP menu entry is always created under folder "Java WebStart" on RHEL+Gnome

XMLWordPrintable

    • x86
    • linux_redhat_6.0

      ADDITIONAL SYSTEM INFORMATION :
      Java Version: 1.8.0_161
      Red Hat Enterprise Linux Server 7.3 (Maipo)
      gnome-session 3.14.0


      A DESCRIPTION OF THE PROBLEM :
      When menu or submenu is specified in the .jnlp file of an application the generated Link in the menu is always in a folder named "Java WebStart" regardsless of the specified name for menu/submenu.
      The same .jnlp file works under Windows 10, here the generated folder has the specified name.

      STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
      Deploy a java application with a .jnlp containing the following shortcut block:

      <shortcut>
        <desktop/>
        <menu submenu="Siemens"/>
      </shortcut>

      EXPECTED VERSUS ACTUAL BEHAVIOR :
      EXPECTED -
      ~/.config/menus/applications-merged/javaws.menu

      <Menu>
        <Name>Applications</Name>
        <Menu>
          <Name>Siemens</Name>
          <Include>
            <Filename>jws_app_shortcut_1559723865944.desktop</Filename>
          </Include>
        </Menu>
      </Menu>
      ACTUAL -
      ~/.config/menus/applications-merged/javaws.menu:

      <Menu>
        <Name>Applications</Name>
        <Menu>
          <Name>Java WebStart</Name>
          <Menu>
            <Name>Siemens</Name>
            <Include>
              <Filename>jws_app_shortcut_1559723865944.desktop</Filename>
            </Include>
          </Menu>
        </Menu>
      </Menu>

      FREQUENCY : always

            pardesha Pardeep Sharma
            tongwan Andrew Wang
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: