After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 731528 - gnome-shell-3.12.2: home applications menus does not work as before
gnome-shell-3.12.2: home applications menus does not work as before
Status: RESOLVED OBSOLETE
Product: gnome-menus
Classification: Core
Component: layout
unspecified
Other Linux
: Normal normal
: ---
Assigned To: gnome-menus dummy account
gnome-menus dummy account
Depends on:
Blocks:
 
 
Reported: 2014-06-11 14:58 UTC by Juergen Rose
Modified: 2021-05-25 12:45 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Juergen Rose 2014-06-11 14:58:40 UTC
I created e.g. a Rlogin menu by some subdirectories under /usr/share/gnome/apps/Rlogin/, 

root@impala:/root(32)# ll /usr/share/gnome/apps/Rlogin/
total 32
...
drwxr-xr-x 2 1000 users 4096 Feb 22 18:54 Homenet/
...
drwxr-xr-x 2 1000 users 4096 May 10  2003 Informatik_pdm/
...
In these subdirectories there are some desktop files:

root@impala:/root(33)# ll /usr/share/gnome/apps/Rlogin/Homenet/
total 144
...
-rw-r--r-- 1 root root 1153 Feb 22 18:54 Beaglebone3_Homenet.desktop
-rw-r--r-- 1 root root  238 Jan 22  2011 Caiman.desktop
...
-rw-r--r-- 1 root root  242 Apr 11  2011 Impala.desktop
...
-rw-r--r-- 1 root root 1103 Apr 19 12:42 Lynx_Homenet.desktop
...



Until gnome-3.6 together with a modified /etc/xdg/menus/applications.menu or a modified /etc/xdg/menus/gnome-applications.menu I got main menu entry Rlogin with submenue entries Homenet, Informatik_pdm etc. In the submenue Homenet I then got then the menu entries for Caiman, Impala, Lynx etc. With gnome-3.8 the submenus Homenet, Informatik_pdm entries disappeared, I then got all entries Caiman, Impala, Lynx etc direct under Rlogin which was already not very convenient. But now with the upgrade to to gnome-3.12 I had only an empty Rlogin entry. It looks, if gnome-3.12 ignores LegacyDir item in /etc/xdg/menus/gnome-applications.menu. After moving the directory Rlogin/ from /usr/share/gnome/apps/ to /usr/share/applications/ my menues appeared again. So only the issue with the missing submenues remains. Is there any way to get application menus with submenus with gnome-3.12.


PS. In /etc/xdg/menus/gnome-applications.menu I had:

  <LegacyDir>/usr/share/gnome/apps</LegacyDir>

  <Menu>
	<Name> Login </Name>
  	<MergeFile>rlogin.menu</MergeFile>
  </Menu>
  ...


And then there is a rlogin.menu file in /etc/xdg/menus/:

<!-- Rlogin -->
<Menu>
   <Name>Rlogin</Name>
       <DirectoryDir>/usr/share/gnom/apps/Rlogin</DirectoryDir>
       <Directory>Rlogin.directory</Directory>

       <Menu>
	  <LegacyDir>/usr/share/gnome/apps/Rlogin/Bioinf_pdm</LegacyDir>
 	  <Name>Bioinf_pdm</Name>
 	  <Directory>.directory</Directory>
	     <Include>
  	        <And>
 	          <Category>Login</Category>
 	    	  <Category>Bioinf_pdm</Category>
      		</And>
	     </Include>
	</Menu>
...
 	<Menu>
 	   <LegacyDir>/usr/share/gnome/apps/Rlogin/Homenet</LegacyDir>
  	   <Name>Homenet</Name>
  	   <Directory>.directory</Directory>
 	     <Include>
   	       <And>
     	     	 <Category>Login</Category>
  	    	 <Category>Homenet</Category>
       	       </And>
 	     </Include>
 	</Menu>
...
Comment 1 André Klapper 2021-05-25 12:45:51 UTC
GNOME is going to shut down bugzilla.gnome.org in favor of gitlab.gnome.org.
As part of that, we are mass-closing older open tickets in bugzilla.gnome.org
which have not seen updates for a longer time (resources are unfortunately
quite limited so not every ticket can get handled).

If you can still reproduce the situation described in this ticket in a recent
and supported software version, then please follow
  https://wiki.gnome.org/GettingInTouch/BugReportingGuidelines
and create a new enhancement request ticket at
  https://gitlab.gnome.org/GNOME/gnome-menus/-/issues/

Thank you for your understanding and your help.