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 1474412 - Parameter --noupdate with xdg-desktop-menu has no effect
Summary: Parameter --noupdate with xdg-desktop-menu has no effect
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: Red Hat Enterprise Linux 7
Classification: Red Hat
Component: xdg-utils
Version: 7.4
Hardware: x86_64
OS: Linux
unspecified
unspecified
Target Milestone: rc
: ---
Assignee: Alexander Larsson
QA Contact: Desktop QE
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2017-07-24 14:35 UTC by Michal Odehnal
Modified: 2019-09-18 18:00 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2019-09-18 18:00:19 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Michal Odehnal 2017-07-24 14:35:45 UTC
Description of problem:
While testing xdg-desktop-menu install --noupdate *.desktop, I noticed that --noupdate has no effect, what I understood from manual page that option is there to postpone updating menu system, so the Icon for my desktop file should not have been added. Yet when I search for it I can find it immediately. Therefore I cannot test if forceupdate option works as it is supposed to.

Version-Release number of selected component (if applicable):
xdg-utils-1.1.0-0.17.20120809git.el7.noarch

How reproducible:
On my machine always

Steps to Reproduce:
1. Have xdg-utils installed.
2. Create testing desktop file, for example test.desktop:
[Desktop Entry]
Name=TestingApp     
Exec=gnome-terminal
Icon=utilities-terminal
Terminal=false
Type=Application
Categories=Application;

3. Use following command to install desktop file:
'xdg-desktop-menu install --noupdate /path/to/test.desktop'

Actual results:
While searching for TestingApp I find it immediately, despite not using forceupdate.

Expected results:
I am unable to find TestingApp. 

Additional info:
According to manual page: 
--noupdate
          Postpone updating the menu system. If multiple updates
          to the menu system are made in sequence this flag can be
          used to indicate that additional changes will follow and
          that it is not necessary to update the menu system right
          away.

forceupdate
          Force an update of the menu system.

          This command is only useful if the last call to
          xdg-desktop-menu included the --noupdate option


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