Bug 391628 - Icon missing when copying launcher of Flatpak applications to desktop
Summary: Icon missing when copying launcher of Flatpak applications to desktop
Status: RESOLVED DUPLICATE of bug 407515
Alias: None
Product: plasmashell
Classification: Plasma
Component: general (other bugs)
Version First Reported In: 5.11.5
Platform: Fedora RPMs Linux
: NOR normal
Target Milestone: 1.0
Assignee: David Edmundson
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-03-09 18:13 UTC by Alexander Wilms
Modified: 2021-08-31 18:50 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed/Implemented In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Alexander Wilms 2018-03-09 18:13:51 UTC
When dragging a launcher from the application launcher to the desktop, one is given two choices: create a copy or create a link.

When choosing the "copy" option, a generic gray "executable" icon is used, when choosing the "link" option, the correct icon is used.
Comment 1 Nate Graham 2018-03-09 21:14:59 UTC
But it works fine with non-Flatpak apps?
Comment 2 Alexander Wilms 2018-03-10 05:55:48 UTC
Yes.
Comment 3 Alexander Wilms 2018-03-10 18:01:34 UTC
ls shows the .desktop file as red text on black background, which means it's a broken link: https://askubuntu.com/questions/17299/what-do-the-different-colors-mean-in-ls

cat can't open it either:
cat org.supertuxproject.SuperTux.desktop 
cat: org.supertuxproject.SuperTux.desktop: No such file or directory

`symlinks .` reports it as a dangling link:
symlinks .
dangling: /home/awilms/Schreibtisch/org.supertuxproject.SuperTux.desktop -> ../../../app/org.supertuxproject.SuperTux/current/active/export/share/applications/org.supertuxproject.SuperTux.desktop

When I choose the `copy` option after dragging the launcher to the desktop, it instead looks like this:
symlinks .
absolute: /home/awilms/Schreibtisch/org.supertuxproject.SuperTux.desktop -> /var/lib/flatpak/exports/share/applications/org.supertuxproject.SuperTux.desktop

When I'm in the Desktop directory, I can't cd to `../../../app/org.supertuxproject.SuperTux/current/active/export/share/applications/`:
cd ../../../app/org.supertuxproject.SuperTux/current/active/export/share/applications/
bash: cd: ../../../app/org.supertuxproject.SuperTux/current/active/export/share/applications/: No such file or directory

But I can cd to `/var/lib/flatpak/exports/share/applications/`, which actually contains all the .desktop files.
Comment 4 Alexander Wilms 2018-03-10 18:04:20 UTC
I meant to say:

When I choose the `link` option after dragging the launcher to the desktop, it instead looks like this:
symlinks .
absolute: /home/awilms/Schreibtisch/org.supertuxproject.SuperTux.desktop -> /var/lib/flatpak/exports/share/applications/org.supertuxproject.SuperTux.desktop
Comment 5 Patrick Silva 2018-03-12 13:21:34 UTC
cannot confirm on Arch Linux, plasma 5.12.3.
Tested peek and VLC installed from flathub.
Comment 6 Patrick Silva 2020-06-17 15:43:21 UTC
Reproducible on Wayland session of neon unstable.

Operating System: KDE neon Unstable Edition
KDE Plasma Version: 5.19.80
KDE Frameworks Version: 5.72.0
Qt Version: 5.14.2
Comment 7 Nate Graham 2021-03-11 20:00:25 UTC
Can confirm on X11 and Wayland.
Comment 8 Nate Graham 2021-08-31 18:50:08 UTC

*** This bug has been marked as a duplicate of bug 407515 ***