| Summary: | can't copy calculation result as expected | ||
|---|---|---|---|
| Product: | [Applications] kcalc | Reporter: | S. Christian Collins <s_chriscollins> |
| Component: | general | Assignee: | Gabriel Barrantes <gabriel.barrantes.dev> |
| Status: | CONFIRMED --- | ||
| Severity: | normal | CC: | erbenton, gabriel.barrantes.dev, gustavo.vaz, urozhaevaoo |
| Priority: | NOR | ||
| Version First Reported In: | 24.08.0 | ||
| Target Milestone: | --- | ||
| Platform: | Neon | ||
| OS: | Linux | ||
| Latest Commit: | Version Fixed/Implemented In: | ||
| Sentry Crash Report: | |||
| Attachments: | video showing the bug | ||
|
Description
S. Christian Collins
2024-09-05 14:43:43 UTC
> 1. I find it odd that the result view clears after hitting enter. IMO, it > should still show the calculated result, especially since this is the view > that gets copied to the clipboard. If the KCalc devs insist that the result > view should clear after hitting enter, then at least have Ctrl-C copy the > formula view to the clipboard if the result view is empty. This is actually a good suggestion, I will include it as part of the fix for 488995. > 2. Highlighting the contents of the formula view, right-click → Copy appears > to do nothing. This should be working fine, can you double check it?, I got the copied value as expected. (In reply to Gabriel Barrantes from comment #1) > > 2. Highlighting the contents of the formula view, right-click → Copy appears > > to do nothing. > > This should be working fine, can you double check it?, I got the copied > value as expected. Well, you can see what happens to me in the video I attached to the bug report. It just doesn't copy anything to the clipboard when I do it. (In reply to S. Christian Collins from comment #2) > (In reply to Gabriel Barrantes from comment #1) > > > 2. Highlighting the contents of the formula view, right-click → Copy appears > > > to do nothing. > > > > This should be working fine, can you double check it?, I got the copied > > value as expected. > > Well, you can see what happens to me in the video I attached to the bug > report. It just doesn't copy anything to the clipboard when I do it. I think the attachment is not there. Can't find it. Created attachment 173370 [details]
video showing the bug
Hmm, I thought I had attached this to the original bug report. Sorry about that!
(In reply to S. Christian Collins from comment #4) > Created attachment 173370 [details] > video showing the bug > > Hmm, I thought I had attached this to the original bug report. Sorry about > that! Oh, yeah you are right, I forgot that if you don't focus the input display it won't copy (will copy from the result that is empty) . To fix this completely I was working on 491345 too, so this never happens, the only issue is that the keyboard shortcuts will go away (for example s for sin, t for tan and so on) but seems that must be done either way. *** Bug 499111 has been marked as a duplicate of this bug. *** *** Bug 502596 has been marked as a duplicate of this bug. *** I made a MR draft for this bug: https://invent.kde.org/utilities/kcalc/-/merge_requests/187 |