Bug 1474412 - Parameter --noupdate with xdg-desktop-menu has no effect
Parameter --noupdate with xdg-desktop-menu has no effect
Status: NEW
Product: Red Hat Enterprise Linux 7
Classification: Red Hat
Component: xdg-utils (Show other bugs)
x86_64 Linux
unspecified Severity unspecified
: rc
: ---
Assigned To: Alexander Larsson
Desktop QE
Depends On:
  Show dependency treegraph
Reported: 2017-07-24 10:35 EDT by Michal Odehnal
Modified: 2018-07-01 18:28 EDT (History)
0 users

See Also:
Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of:
Last Closed:
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description Michal Odehnal 2017-07-24 10:35:45 EDT
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):

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]

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: 
          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

          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.