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

            Bug ID: 401514
           Summary: Application with invalid work path silently fails to
                    launch
           Product: plasmashell
           Version: 5.13.5
          Platform: Kubuntu Packages
                OS: Linux
            Status: REPORTED
          Severity: minor
          Priority: NOR
         Component: Application Launcher (Kickoff)
          Assignee: k...@davidedmundson.co.uk
          Reporter: nitro2...@gmail.com
                CC: plasma-b...@kde.org
  Target Milestone: 1.0

Reproduction steps:
1. In KDE Menu Editor, edit an item, and in the advanced tab, change work path
to a path that doesn't exist.
2. Click save to save the change.
3. Attempt to launch the application you just edited.

OBSERVED RESULT
The application now fails to launch, without producing an error message. 

EXPECTED RESULT
A reasonable behavior would be to produce an error message informing the user
that the path is invalid, or at the very least any kind of error message
informing the user that the application failed to launch. 

For testing I also tried chmod -x'ing the executable file which also failed
silently. Perhaps the error handling overall needs to be looked over, to ensure
that there's always an error message when an application fails to launch due to
invalid setting item settings.

SOFTWARE/OS VERSIONS
Linux Distro/Version: Kubuntu 18.10
KDE Plasma Version: 5.13.5
KDE Frameworks Version: 5.50.0
Qt Version: 5.11.1

ADDITIONAL INFORMATION
The issue happened to me while adding an application and copying the full path
of the executable to the path field, to remove the executable file name from
the path but (as it turned out) forgot to delete one character. It confused me
for a while and sent me on a wild goose chase because I assumed it failed to
launch because of an error in the application itself.

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

Reply via email to