RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Bug 1309681 - Custom menu items ( applications ) not working properly in RHEL-7.2
Summary: Custom menu items ( applications ) not working properly in RHEL-7.2
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: Red Hat Enterprise Linux 7
Classification: Red Hat
Component: gnome-shell
Version: 7.2
Hardware: x86_64
OS: Linux
unspecified
medium
Target Milestone: rc
: ---
Assignee: Florian Müllner
QA Contact: Desktop QE
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-02-18 13:12 UTC by jigar
Modified: 2019-10-10 11:14 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2016-11-17 20:25:23 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
GNOME Bugzilla 762206 0 Normal RESOLVED apps-menu broken with alternate AppDir 2021-01-22 10:31:26 UTC

Description jigar 2016-02-18 13:12:37 UTC
Description of problem:

Has the behaviour of Appdirs changed in RHEL-7.2? Custom menu items only works if the .desktop files are placed under ~/.local/share/applications .Using <AppDir> in .menu file for specifying the desktop entries is not working properly. The item is only clickable but does not open the desired application

How reproducible: Always

Steps to Reproduce:
1) put the gnome-applications.menu file in ~/.config/menus
2) Place the custom .desktop files are placed under ~/.local/share/applications
3) it works with RHEL-7.1 but does not work with RHEL-7.2

Actual results: The menu item is just clickable and does not open the application

Expected results: The menu item should open the desired application

Comment 2 Florian Müllner 2016-03-04 14:29:42 UTC
(In reply to jigar from comment #0)
> Has the behaviour of Appdirs changed in RHEL-7.2?

Yes, it is no longer used for the "main" application view (<super>a). As the apps menu reuses the underlying code for launching applications, this does affect the extension as well.


> Custom menu items only works if the .desktop files are placed under 
> ~/.local/share/applications

More precisely:
An "applications" directory in $XDG_DATA_HOME or any directory listed in $XDG_DATA_DIRS.


> .Using <AppDir> in .menu file for specifying the desktop entries is not
> working properly. The item is only clickable but does not open the desired
> application

We can make this work again in the apps-menu extension, however those apps:

 - will not show up as search results in the overview
 - be shown in the "main" application view
 - be recognized by the system to handle URL schemes
 - be listed as options for opening files from the file manager

So in general, including the custom directory in XDG_DATA_DIRS is much preferred over using the AppDir element in the .menu file.


Note You need to log in before you can comment on or make changes to this bug.