BAMF doesn't consider desktop files in ~/.local/share/applications

Bug #771172 reported by Alex
34
This bug affects 6 people
Affects Status Importance Assigned to Milestone
BAMF
Fix Released
Undecided
Marco Trevisan (Treviño)
Unity
Fix Released
Undecided
Marco Trevisan (Treviño)
Unity Foundations
Fix Released
Undecided
Marco Trevisan (Treviño)
unity-2d
Fix Released
Undecided
Marco Trevisan (Treviño)
bamf (Ubuntu)
Fix Released
Undecided
Marco Trevisan (Treviño)
unity (Ubuntu)
Fix Released
Undecided
Marco Trevisan (Treviño)

Bug Description

Binary package hint: unity

I made a custom Launcher following Jorge Castro's Guide on ask-ubuntu: http://askubuntu.com/questions/34597/how-do-i-make-a-custom-launcher-for-terminal-applications.

After placing the Launcher in ~/.local/share/applications it was visible in the Dash, but I could not drop it on the Launcher. After moving the file to /usr/share/applications this was possible.

The bug IMHO is that now its available system wide - when in truth it is a customization only for my user. I consider this a security risk too - of course depending on the implemented feats of the custom Launcher.

Tags: launcher unity

Related branches

Alex (aaaaalex)
visibility: private → public
Alex (aaaaalex)
summary: - Custom Unity Launcher entries not from .local/share/applications
+ Custom Unity Launcher entries not from ~/local/share/applications
Revision history for this message
Marco Biscaro (marcobiscaro2112) wrote : Re: Custom Unity Launcher entries not from ~/local/share/applications

Thank you for taking the time to report this bug and helping to make Ubuntu better. Please answer these questions:

* Is this reproducible?
* If so, what specific steps should we take to recreate this bug?

This will help us to find and resolve the problem.

security vulnerability: yes → no
Changed in unity (Ubuntu):
status: New → Incomplete
summary: - Custom Unity Launcher entries not from ~/local/share/applications
+ Custom Unity Launcher entries not from ~/.local/share/applications
summary: - Custom Unity Launcher entries not from ~/.local/share/applications
+ Can't drag launcher entries from ~/.local/share/applications
Revision history for this message
Alex (aaaaalex) wrote : Re: Can't drag launcher entries from ~/.local/share/applications

Steps to reproduce:

1st: Create a Launcher (something.desktop) in $HOME/.local/share/applications
2nd: Find the Launcher in Dash and try dragging and dropping it onto the Unity Launcher (the thing on the side)
3rd: Move the Launcher you created to /usr/share/applications
4th: Repeat step 2

Sorry for not making this clear.

Alex (aaaaalex)
Changed in unity (Ubuntu):
status: Incomplete → New
Revision history for this message
Jamie Strandboge (jdstrand) wrote :

Thanks for taking the time to report this bug and helping to make Ubuntu better. We appreciate the difficulties you are facing, but this appears to be a "regular" (non-security) bug. I have unmarked it as a security issue since this bug does not show evidence of allowing attackers to cross privilege boundaries nor directly cause loss of data/privacy. Please feel free to report any other bugs you may find.

Revision history for this message
Andrew (andrew-rw-robinson) wrote : Re: Can't drag launcher entries from ~/.local/share/applications

Not only can you not drag launchers, but you can't run them either.
1) run a launcher using alt+f2 and there is a *.desktop file in ~/.local/share/applications for it
2) the icon correctly appears in the dock.
3) right+click and select "Keep in Launcher"
4) close the app
5) Click the launcher in the dock, nothing happens

Revision history for this message
Bilal Akhtar (bilalakhtar) wrote :

This is a bug in BAMF.

summary: - Can't drag launcher entries from ~/.local/share/applications
+ BAMF doesn't consider desktop files in ~/.local/share/applications
affects: unity → bamf
Changed in bamf:
status: New → Confirmed
Changed in unity (Ubuntu):
status: New → Confirmed
affects: unity (Ubuntu) → bamf (Ubuntu)
Changed in unity-foundations:
status: New → Confirmed
Changed in unity:
status: New → Confirmed
Changed in unity-2d:
status: New → Confirmed
Changed in bamf:
assignee: nobody → Treviño (Marco Trevisan) (3v1n0)
Changed in bamf (Ubuntu):
assignee: nobody → Treviño (Marco Trevisan) (3v1n0)
Changed in bamf:
status: Confirmed → In Progress
Changed in bamf (Ubuntu):
status: Confirmed → In Progress
Changed in bamf (Ubuntu):
status: In Progress → Confirmed
Changed in bamf:
status: In Progress → Confirmed
Revision history for this message
Marco Trevisan (Treviño) (3v1n0) wrote :

Mh, is this really related to BAMF? If it's visible dash, then BAMF references it (and uses it for matching). Adding it to the launcher is something related to unity.

Revision history for this message
Stefano Bagnatica (thepisu) wrote :

You should see this other bug:
https://bugs.launchpad.net/ubuntu/+source/unity/+bug/746343?comments=all

That should be a clear example of this issue (and so related to BAMF).

Changed in bamf:
status: Confirmed → Fix Committed
Changed in unity-foundations:
status: Confirmed → Fix Committed
Changed in unity:
status: Confirmed → Fix Committed
Changed in unity-2d:
status: Confirmed → Fix Committed
Changed in bamf (Ubuntu):
status: Confirmed → Fix Committed
Changed in unity-foundations:
assignee: nobody → Marco Trevisan (Treviño) (3v1n0)
Changed in unity-2d:
assignee: nobody → Marco Trevisan (Treviño) (3v1n0)
Changed in unity:
assignee: nobody → Marco Trevisan (Treviño) (3v1n0)
Neil J. Patel (njpatel)
Changed in bamf:
status: Fix Committed → Fix Released
status: Fix Released → Fix Committed
Omer Akram (om26er)
Changed in bamf:
status: Fix Committed → Fix Released
Changed in unity-foundations:
status: Fix Committed → Fix Released
Changed in unity:
status: Fix Committed → Fix Released
Changed in unity-2d:
status: Fix Committed → Fix Released
Changed in bamf (Ubuntu):
status: Fix Committed → Fix Released
Changed in unity (Ubuntu):
assignee: nobody → Marco Trevisan (Treviño) (3v1n0)
status: New → Fix Released
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.