Mutate icon indicating copy to clipboard operation
Mutate copied to clipboard

User .desktop files, incorrect handling.

Open Fordi opened this issue 9 years ago • 3 comments

Environment: Ubuntu 16.04, dm=MATE

Preconditions:

  • ~/.local/share/applications/Slack.desktop :

    !/usr/bin/env xdg-open

    [Desktop Entry] Version=1.0 Terminal=false Type=Application Name=Chrome App Exec=/opt/google/chrome/google-chrome --app=https://slack.com/ Icon=/home/user/.local/share/icons/hicolor/256x256/apps/chrome-slack.png StartupWMClass=slack.com__messages_company
  • ~/.local/share/icons/hicolor/256x256/apps/chrome-slack.png

Test procedure:

  • Open Mutate
  • Type "Slack"
    • Expected: Slack icon appears alongside name and shortcut
    • Actual: Generic icon appears
  • Press enter
    • Expected: Chrome launches a new window and session, starting at https://slack.com
    • Actual: A new, blank Chrome tab opens

Fordi avatar May 10 '16 14:05 Fordi

I'll note, there's a simple solution for the second test condition: under linux environments, execution of .desktop files should be via xdg-open, not via the parsed Exec=... line. This will ensure your app will behave consistently with the rest of the linux ecosystem.

Fordi avatar May 10 '16 14:05 Fordi

@Fordi did you get some work around? Do you have solution for your situation?

inoyatov avatar Dec 16 '16 01:12 inoyatov

Any updates regarding this?

Luxian avatar Feb 20 '17 20:02 Luxian