Bug 342190 - Calculator is less useful than in Plasma 4 - Cannot copy result
Summary: Calculator is less useful than in Plasma 4 - Cannot copy result
Status: RESOLVED FIXED
Alias: None
Product: krunner
Classification: Plasma
Component: calculator (other bugs)
Version First Reported In: 5.0
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: Vishesh Handa
URL:
Keywords:
: 342271 (view as bug list)
Depends on:
Blocks:
 
Reported: 2014-12-24 12:28 UTC by Albert Astals Cid
Modified: 2014-12-30 13:05 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed/Implemented In: 5.2
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Albert Astals Cid 2014-12-24 12:28:20 UTC
In plasma 4 you do

 * Alt+F2
 * Type 2+2
 * Press enter
 * You get a 4 in the line edit you can copy and paste somewhere

In plasma 5 you do 
 * Alt+F2
 * Type 2+2
 * Press enter
 * Get nothing :/

I'd really like a way to be able to use the results of the calculator without having to copy them manually
Comment 1 David Edmundson 2014-12-26 18:32:58 UTC
I get 4 here.

Can you confirm you have the calculator runner enabled.

Also you've put this as milou, then your instructions refer to krunner.

Milou is like krunner, except it's an applet. Krunner is the one in another process invoked on alt+f2. Can you confirm which one you mean?

Thanks
Comment 2 Albert Astals Cid 2014-12-28 09:59:25 UTC
Yes, i do have the calculator enabled (at least it is checked if i press the button on the left of the line edit).

I guess it's krunner then (the thing that appears on alt+f2), there's no krunner component though

Note do get a 4 in the "results" list, but not back into the line area so i can't copy it which is what i want to do (maybe the "get nothing" was not a good idea)
Comment 3 Vishesh Handa 2014-12-29 10:14:05 UTC
Confirmed and assigned.
Comment 4 Vishesh Handa 2014-12-30 12:00:16 UTC
*** Bug 342271 has been marked as a duplicate of this bug. ***
Comment 5 Vishesh Handa 2014-12-30 13:05:40 UTC
Git commit 6a59b15203e5349ccf3aeb910aeb5560a71a59df by Vishesh Handa.
Committed on 30/12/2014 at 13:02.
Pushed by vhanda into branch 'master'.

KRunner: Update the query string when notified by the view

The Milou.ResultView now notifies us when it thinks we should update the
queryString. The main use of this is the calculator runner. On executing
an action on that runner, it is expected that the text field be updated.
FIXED-IN: 5.2

M  +5    -0    lookandfeel/contents/runcommand/RunCommand.qml

http://commits.kde.org/plasma-workspace/6a59b15203e5349ccf3aeb910aeb5560a71a59df