Bamf Ignores some local .desktop files with OnlyShowIn flag

Bug #863290 reported by Marco Trevisan (Treviño)
16
This bug affects 2 people
Affects Status Importance Assigned to Milestone
BAMF
Fix Released
Undecided
Marco Trevisan (Treviño)
Unity
Fix Released
Undecided
Unassigned
unity-2d
Invalid
Undecided
Unassigned
bamf (Ubuntu)
Fix Released
Undecided
Unassigned
Oneiric
Fix Released
Undecided
Unassigned
unity (Ubuntu)
Fix Released
Undecided
Unassigned
Oneiric
Won't Fix
Undecided
Unassigned

Bug Description

SRU TESCASE
1 Copy a system desktop file to a local applications folder
  (i.e. cp /usr/share/applications/gedit.desktop ~/.local/share/applications/)
2 Customize that file, for example changing the application name or adding a quicklist
  without removing the OnlyShowIn parameter, or adding it setting to OnlyShowIn=Unity;
3 Restart bamfdaemon and unity (or just log-out and log-in again)
4 When running the given application in Unity, now unity should the local customized
  desktop file, and so the launcher, should match the changed parameters.

----
BAMF doesn't consider any .desktop file saved in ~/.local/share/applications or any other local folder which contains the flag OnlyShowIn=GNOME;Unity; so, it's impossible to directly copy any .desktop file from /usr/share/applications to a local folder to customize it, without removing the above flag, and this is wrong.

summary: - Bamf Ignores some local .desktop files with
+ Bamf Ignores some local .desktop files with OnlyShowIn flag
Changed in bamf:
assignee: nobody → Marco Trevisan (Treviño) (3v1n0)
status: New → In Progress
Changed in unity:
status: New → In Progress
Changed in bamf (Ubuntu):
status: New → In Progress
Changed in unity-2d:
status: New → In Progress
Changed in bamf:
status: In Progress → Fix Committed
Changed in unity:
status: In Progress → Invalid
Changed in unity-2d:
status: In Progress → Invalid
Changed in bamf (Ubuntu):
status: In Progress → Fix Committed
Gord Allott (gordallott)
Changed in unity:
status: Invalid → Fix Committed
milestone: none → 5.0.0
Changed in bamf:
status: Fix Committed → Fix Released
Changed in unity:
status: Fix Committed → Fix Released
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package bamf - 0.2.106-0ubuntu1

---------------
bamf (0.2.106-0ubuntu1) precise; urgency=low

  * New upstream release.
    - Unity acts not as a dock for LibreOffice but as a launcher (LP: #741995)
    - Libreoffice Calc icon does not appear when opened via Writer
      (LP: #861355)
    - Bamf Ignores some local .desktop files with OnlyShowIn flag
      (LP: #863290)
    - Libreoffice and unity integration broken. (LP: #842566)
  * debian/control, debian/rules:
    - enable headless tests build
  * debian/control:
    - bump libglib2.0-dev to 2.28
 -- Didier Roche <email address hidden> Thu, 12 Jan 2012 17:01:43 +0100

Changed in bamf (Ubuntu):
status: Fix Committed → Fix Released
description: updated
description: updated
Revision history for this message
Martin Pitt (pitti) wrote : Please test proposed package

Hello Marco, or anyone else affected,

Accepted bamf into oneiric-proposed. The package will build now and be available in a few hours. Please test and give feedback here. See https://wiki.ubuntu.com/Testing/EnableProposed for documentation how to enable and use -proposed. Thank you in advance!

Changed in bamf (Ubuntu Oneiric):
status: New → Fix Committed
tags: added: verification-needed
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package bamf - 0.2.104-0ubuntu1.1

---------------
bamf (0.2.104-0ubuntu1.1) oneiric-proposed; urgency=low

  * Correctly signal a closed BamfLegacyWindow, fixes libreoffice and unity
    integration bug (LP: #842566)
  * Don't ignore local .desktop files with OnlyShowIn flag (LP: #863290)
  * Fixed a lot of memory leaks
 -- Marco Trevisan (Trevino) <email address hidden> Wed, 01 Feb 2012 15:13:36 +0100

Changed in bamf (Ubuntu Oneiric):
status: Fix Committed → Fix Released
Changed in unity (Ubuntu):
status: New → Fix Released
Revision history for this message
Rolf Leggewie (r0lf) wrote :

oneiric has seen the end of its life and is no longer receiving any updates. Marking the oneiric task for this ticket as "Won't Fix".

Changed in unity (Ubuntu Oneiric):
status: New → Won't Fix
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.