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

            Bug ID: 487927
           Summary: Launcher creation adds single quotes to application,
                    preventing ~ expansion.
    Classification: Plasma
           Product: krunner
           Version: 6.0.5
          Platform: unspecified
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: general
          Assignee: plasma-b...@kde.org
          Reporter: lst_man...@webengineer.com
                CC: alexander.loh...@gmx.de, natalie_clar...@yahoo.de
  Target Milestone: ---

SUMMARY
Not sure when this started as I have a mix of desktop objects that have the
application bracketed with single quotes in the .desktop file, and some that
don't.  When I create a launcher now, however, single quotes are always  added
in the .desktop file.

However, I don't believe ading single quotes to the application string is the
bug.  At least one of the .desktip objects that have single quotes around the
application and they worked fine before the upgrade to plasma 6.

If I create a launcher using the "browse" button to find and enter the
application, the launcher works as expected.  So I believe the issue is that
with quotes around the application, shell expansion on the '~" character
doesn't happen, and so the launcher cannot find the application/script it is
supposed to run.  Indeed, that is the error notification I see when attempting
to use a "bad" launcher.

STEPS TO REPRODUCE
1.  Create launcher entering ~/bin/script_name to the application field.
2.  Click on launcher

OBSERVED RESULT
 Intended script does not run and a "could not find the program" error
notification pops up.

EXPECTED RESULT
~/bin/srcipt_name should run.

SOFTWARE/OS VERSIONS
Windows: 
macOS: 
Linux/KDE Plasma: Fedora Linux 40
(available in About System)
KDE Plasma Version: 6.0.5
KDE Frameworks Version: 6.2.0
Qt Version:  6.7.0

ADDITIONAL INFORMATION
Kernel version: 6.8.10-300.fc40.x86_64 (64-bit)
Currently running wayland.

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

Reply via email to