https://bugs.kde.org/show_bug.cgi?id=430055
Bug ID: 430055 Summary: Bash escape sequences visible in the output of qalculate Product: cantor Version: 20.08 Platform: Fedora RPMs OS: Linux Status: REPORTED Severity: normal Priority: NOR Component: qualculate-backend Assignee: cantor-b...@kde.org Reporter: joshua.hough...@yandex.ru Target Milestone: --- Created attachment 133895 --> https://bugs.kde.org/attachment.cgi?id=133895&action=edit Screenshot of qualculate and cantor side by side SUMMARY Qalculate now applies colours to it's output. Cantor however fails to parse the bash escape sequences and therefore outputs garbase STEPS TO REPRODUCE 1. Create a thing with the qalculate backend 2. Run this mathematical expression ((-2)^3.3) 3. You'll see the following garbage in the output (−[0;36m2[0m)^[0;36m3.3[0m ≈ [0;36m−[0m[0;36m5.789188237[0m − [0;36m7.968134023[0m[0;33mi[0m 4. Run this mathematical expression integrate(asin(x)) 5. You'll see the following garbage in the output integrate(arcsin([0;33m[3mx[23m[0m)) = [0;33m[3mx[23m[0m × arcsin([0;33m[3mx[23m[0m) + √([0;36m1[0m − [0;33m[3mx[23m[0m^[0;36m2[0m) + [0;33m[3mC[23m[0m OBSERVED RESULT See screenshot attached. Look at the output from cantor EXPECTED RESULT See screenshot attached. Look at the top left terminal SOFTWARE/OS VERSIONS SOFTWARE/OS VERSIONS Qt Version: 5.15.1 Frameworks Version: 5.75.0 Operating System: Linux 5.9.11-200.fc33.x86_64 x86_64 Windowing system: X11 Distribution: "Fedora release 33 (Thirty Three)" qalculate: 3.15.0 ADDITIONAL INFORMATION I was going to look into this issue myself but when i tried to compile and run cantor i couldn't https://bugs.kde.org/show_bug.cgi?id=430045. I did eventually manage to get it to start but i feel i should probably be getting on with other things now. I have tested the following versions of cantor and can confirm this is an issue on all three. master: 481d52238f5c4cf0b4e0a77fbb7bcc2aff2e8645 v20.11.80 v20.08.1 I'm using qalc version 3.15.0 -- You are receiving this mail because: You are watching all bug changes.