Summary: | Calculator runner yields 0, if I type greek letters | ||
---|---|---|---|
Product: | [Plasma] krunner | Reporter: | Antonis G. <gaantonio> |
Component: | calculator | Assignee: | Plasma Bugs List <plasma-bugs> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | gaantonio, neofytosk |
Priority: | NOR | ||
Version: | 4.11.97 | ||
Target Milestone: | --- | ||
Platform: | Arch Linux | ||
OS: | Linux | ||
Latest Commit: | http://commits.kde.org/kde-workspace/efbfaf681cd49994858b364155cd2b42a5c6d963 | Version Fixed In: | 4.11.5 |
Sentry Crash Report: |
Description
Antonis G.
2013-06-30 21:25:11 UTC
Complementary screenshot: http://i.imgur.com/tzge1fI.png Still present in kde 4.11.97 ... I can replicate here on Chakra, KDE SC 4.11.3. krunner should not launch a calculator result in this case, cause one is simply typing letters. Git commit efbfaf681cd49994858b364155cd2b42a5c6d963 by Christoph Feck. Committed on 01/01/2014 at 17:01. Pushed by cfeck into branch 'KDE/4.11'. Replace regexp with explicit character category check Fixes calculator appearing when entering non-latin characters. FIXED-IN: 4.11.5 REVIEW: 114746 M +16 -5 plasma/generic/runners/calculator/calculatorrunner.cpp M +0 -3 plasma/generic/runners/calculator/calculatorrunner.h http://commits.kde.org/kde-workspace/efbfaf681cd49994858b364155cd2b42a5c6d963 First thannks for taking time to fix the bug, its very much appreciated. Though its not quite fixed yet, I can trick it by starting my query with numbers like "12ασδφ" in this case it will just ignore the letters and output the result. Say (2ασδφ+2 returns 4) (noticed while using the unit convert runner). Here is real world example "1 λίβρα σε κιλά" (1 pound as kg) returns 1. Oups, I forgot I changed distro (Netrunner 13.12) and it provides kde-workspace 4.11.2, oddly their packages are named 4.11.99!? So it doesnt contain the fix. Sorry for the noice. |