creating launcher from menu fails for libreoffice applications

Bug #1004396 reported by muzzol
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Garcon
Fix Released
Unknown
garcon (Ubuntu)
Triaged
Low
Unassigned
xfdesktop4 (Ubuntu)
Invalid
Low
Unassigned

Bug Description

# lsb_release -rd
Description: Ubuntu 12.04 LTS
Release: 12.04

# apt-cache policy xfce4-panel
xfce4-panel:
  Installed: (none)
  Candidate: 4.8.6-2ubuntu2
  Version table:
     4.8.6-2ubuntu2 0
        500 http://fr.archive.ubuntu.com/ubuntu/ precise/universe i386 Packages

when I drag and drop any launcher from application menu it creates a desktop launcher without problems except for libreoffice applications.

it creates a broken link in my desktop.

the only difference between libreoffice apps and the rest is that launchers in

    /usr/share/applications

are soft links pointing to

   ../../lib/libreoffice/share/xdg

and xfce menu don't like that

Revision history for this message
Lionel Le Folgoc (mrpouit) wrote :

Yes, I can reproduce that, but I think it's a bug in xfdesktop4, the panel doesn't have any problem to create launchers with these files.

affects: xfce4-panel (Ubuntu) → xfdesktop4 (Ubuntu)
Changed in xfdesktop4 (Ubuntu):
importance: Undecided → Low
status: New → Confirmed
Changed in thunar (Ubuntu):
status: New → Confirmed
importance: Undecided → Low
Revision history for this message
muzzol (muzzol) wrote :

I see, sorry for the confusion.

I can see that there's another soft link in /usr/share/applications but is pointing to an absolute path:

   ubuntu-nvidia-settings.desktop -> /etc/alternatives/i386-linux-gnu_nvidia_desktop

maybe will be enough with changing relative to absolute paths to resolv this bug.

or copy destination file instead of link

Revision history for this message
In , Lionel Le Folgoc (mrpouit) wrote :

Hi,

When the .desktop is a symlink, the drag'n'drop from the panel to Thunar/Xfdesktop4 fails:

% ls -al /usr/share/applications/libreoffice-base.desktop
lrwxrwxrwx 1 root root 44 Sep 11 02:18 /usr/share/applications/libreoffice-base.desktop -> ../../lib/libreoffice/share/xdg/base.desktop

After d'n'd:

% ls -al libreoffice-base.desktop
lrwxrwxrwx 1 mrpouit mrpouit 44 Oct 27 00:15 libreoffice-base.desktop -> ../../lib/libreoffice/share/xdg/base.desktop

It's fine with absolute symlinks, but relative symlinks like in the file above don't work.

Thanks.

Changed in thunar (Ubuntu):
status: Confirmed → Triaged
Revision history for this message
In , Thaddaeus Tintenfisch (thad-fisch-deactivatedaccount) wrote :

Affects all drop targets other than xfce4-panel. Reassigning to garcon.

affects: thunar → garcon
affects: thunar (Ubuntu) → garcon (Ubuntu)
Changed in xfdesktop4 (Ubuntu):
status: Confirmed → Invalid
Changed in garcon:
importance: Unknown → Medium
status: Unknown → Confirmed
Sean Davis (bluesabre)
no longer affects: garcon
Changed in garcon:
status: Unknown → New
Changed in garcon:
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.