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

            Bug ID: 486061
           Summary: Launch configuration arguments are not fully passed
                    when executing (escaped)
    Classification: Applications
           Product: kdevelop
           Version: 5.12.230801
          Platform: Kubuntu
                OS: Linux
            Status: REPORTED
          Severity: minor
          Priority: NOR
         Component: general
          Assignee: kdevelop-bugs-n...@kde.org
          Reporter: o...@senarclens.eu
  Target Milestone: ---

Created attachment 168859
  --> https://bugs.kde.org/attachment.cgi?id=168859&action=edit
5 screenshots showing the problem and a workaround

SUMMARY
When typing brackets in the launch configuration arguments, these bracket
characters are ignored when executing that launch configuration (likely linked
to Bug 324830 which didn't describe the issue properly). However, they are used
for filtering automated test cases with the popular catch2 v3 library.

STEPS TO REPRODUCE
1. create launch configuration that uses square brackets, eg. "[capitalize]"
(see screenshots)
2. select this launch configuration as current launch configuration and execute
it

OBSERVED RESULT
the square brackets are silently removed from the argument; the run window
shows the argument without the brackets, eg.
"/home/gerald/repos/github/cpp/c_strings_solutions/build>
/home/gerald/repos/github/cpp/c_strings_solutions/build/c_strings_test
capitalize" when the argument was set to "[capitalize]". This means that
filtering test cases by tags
using the catch2 library is not possible without a workaround.

EXPECTED RESULT
The execution gets the full string passed into the arguments field. All
characters in the text field are passed 1:1.

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: kubuntu 23.10 with all updates but no backports
(available in About System)
KDE Plasma Version: 5.27.8
KDE Frameworks Version: 5.110.0
Qt Version: 5.15.10

ADDITIONAL INFORMATION
As a workaround, it is possible to escape the brackets with a "\", then they
are passed (however, the backlash is hence not passed as argument);

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

Reply via email to