Summary: | phrases irrelevant to calculator generate gibberish results | ||
---|---|---|---|
Product: | [Plasma] krunner | Reporter: | afedotov861 |
Component: | calculator | Assignee: | Alexander Lohnau <alexander.lohnau> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | nate, plasma-bugs |
Priority: | NOR | ||
Version: | 5.24.5 | ||
Target Milestone: | --- | ||
Platform: | Arch Linux | ||
OS: | Linux | ||
Latest Commit: | https://invent.kde.org/plasma/plasma-workspace/commit/4b35701a31092e25e5226205d550dc294737a69a | Version Fixed In: | 5.26 |
Sentry Crash Report: | |||
Attachments: |
SDL_VIDEODRIVER= gibberish
GNUPGHOME= gibberish |
Description
afedotov861
2022-05-21 07:58:21 UTC
Created attachment 149058 [details]
GNUPGHOME= gibberish
Here's another example.
Amazing. I could not find an easy way to detect an error from evaluating the qalculate statement. Unless anyone has ideas, I will open an issue on their Github tracker. A possibly relevant merge request was started @ https://invent.kde.org/plasma/plasma-workspace/-/merge_requests/1856 Git commit 4b35701a31092e25e5226205d550dc294737a69a by Alexander Lohnau. Committed on 25/07/2022 at 15:05. Pushed by alex into branch 'master'. runners/calculator: Do not show results when expression is invalid See https://github.com/Qalculate/libqalculate/issues/442 for the code snippets. I have only adjusted those to compile inside of the plugin. M +7 -0 runners/calculator/autotests/calculatorrunnertest.cpp M +40 -0 runners/calculator/qalculate_engine.cpp https://invent.kde.org/plasma/plasma-workspace/commit/4b35701a31092e25e5226205d550dc294737a69a |