https://bugs.kde.org/show_bug.cgi?id=420144

            Bug ID: 420144
           Summary: Visual Studio Code desktop action doesn't launch
           Product: plasmashell
           Version: 5.18.4
          Platform: Archlinux Packages
                OS: Linux
            Status: REPORTED
          Severity: minor
          Priority: NOR
         Component: Application Launcher (Kickoff)
          Assignee: k...@davidedmundson.co.uk
          Reporter: codingko...@gmail.com
                CC: plasma-b...@kde.org
  Target Milestone: 1.0

Created attachment 127588
  --> https://bugs.kde.org/attachment.cgi?id=127588&action=edit
The error dialog that is shown after clicking on the desktop action.

SUMMARY
Visual Studio Code's desktop file has a desktop action for opening a "New Empty
Window". Clicking on the desktop file to run it works, but running this desktop
action doesn't.

STEPS TO REPRODUCE
1. Install VS Code (I'm using the "code" Arch Linux package).
2. From one of the application menus, or the task manager widget, right click
the desktop entry for VS Code and select "New Empty Window".

OBSERVED RESULT
An error dialog is displayed, stating "Could not find the program '@@EXEC@@'".

EXPECTED RESULT
A new empty window of VS Code should be opened.

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: Arch Linux, kernel 5.6.3
(available in About System)
KDE Plasma Version: 5.18.4.1
KDE Frameworks Version: 5.91.0
Qt Version: 5.14.2

ADDITIONAL INFORMATION
The VS Code desktop entry is as follows:

> [Desktop Entry]
> Name=Code - OSS
> Comment=Code Editing. Redefined.
> GenericName=Text Editor
> Exec=/usr/bin/code-oss --no-sandbox --unity-launch %F
> Icon=code-oss
> Type=Application
> StartupNotify=false
> StartupWMClass=Code
> Categories=Utility;TextEditor;Development;IDE;
> MimeType=text/plain;
> Actions=new-empty-window;
> Keywords=vscode;
> 
> [Desktop Action new-empty-window]
> Name=New Empty Window
> Exec=/usr/bin/code-oss --no-sandbox --new-window %F
> Icon=code-oss
This bug may be able to be made more generalized, however I have not seen any
other applications exhibit this behavior.

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to