Bug 433955

Summary: calculator can no longer calculate a division - sometimes
Product: [Plasma] krunner Reporter: Martin Koller <martin>
Component: calculatorAssignee: Alexander Lohnau <alexander.lohnau>
Status: RESOLVED WORKSFORME    
Severity: normal CC: nate, plasma-bugs-null
Priority: NOR    
Version First Reported In: 5.21.0   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Martin Koller 2021-03-04 13:40:06 UTC
In krunner I enter:
1/2 => works
1.5/2 => works
1.5/2.5 => does not work

Operating System: openSUSE Tumbleweed 20210219
KDE Plasma Version: 5.21.0
KDE Frameworks Version: 5.79.0
Qt Version: 5.15.2
Kernel Version: 5.10.16-1-default
OS Type: 64-bit
Graphics Platform: X11
Processors: 4 × Intel® Core™ i5-6300U CPU @ 2.40GHz
Memory: 15,5 GiB of RAM
Graphics Processor: Mesa DRI Intel® HD Graphics 520
Comment 1 Alexander Lohnau 2021-03-04 13:44:51 UTC
Works for me, @Nate could you please check if it works for you on openSUSE.
Comment 2 Nate Graham 2021-03-04 17:38:21 UTC
Works for me too, on openSUSE Tumbleweed.
Comment 3 Nate Graham 2021-03-04 17:38:55 UTC
I wonder if this is another case of the behavior changing if the libqalculate dependency is missing (or some other one).
Comment 4 Martin Koller 2021-03-14 10:27:40 UTC
I have the feeling it is just delayed a lot when I also have "Desktop Search" checked. I see a "busy" indicator on the right.
Comment 5 Alexander Lohnau 2021-03-14 19:09:40 UTC
That might because the runner being delayed for ~400ms before it produces any results. That was fixed in https://invent.kde.org/plasma/plasma-workspace/-/commit/5a2d973e046074ab25e414a68e8ff0fbf7fabd20.

How long is the delay are describing?
Comment 6 Alexander Lohnau 2021-04-14 05:50:23 UTC
Please provide the information requested in my previous comment :)
Comment 7 Martin Koller 2021-04-14 06:59:26 UTC
The busy indicator just showed for about 25 seconds although the result of the calculation was shown immediately.
Currently the calculation is not delayed, but since I do not use it that often, hard to say ...

In the meantime my system uses:
Operating System: openSUSE Tumbleweed 20210330
KDE Plasma Version: 5.21.3
KDE Frameworks Version: 5.80.0
Qt Version: 5.15.2
Kernel Version: 5.11.6-1-default
Comment 8 Bug Janitor Service 2021-04-29 04:33:40 UTC
Dear Bug Submitter,

This bug has been in NEEDSINFO status with no change for at least
15 days. Please provide the requested information as soon as
possible and set the bug status as REPORTED. Due to regular bug
tracker maintenance, if the bug is still in NEEDSINFO status with
no change in 30 days the bug will be closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

If you have already provided the requested information, please
mark the bug as REPORTED so that the KDE team knows that the bug is
ready to be confirmed.

Thank you for helping us make KDE software even better for everyone!
Comment 9 Alexander Lohnau 2021-04-29 07:19:29 UTC
Thanks for the update, I will keep this in mind when similar issues appear.