https://bugs.kde.org/show_bug.cgi?id=492680

            Bug ID: 492680
           Summary: can't copy calculation result as expected
    Classification: Applications
           Product: kcalc
           Version: 24.08.0
          Platform: Neon
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: general
          Assignee: evan.te...@gmail.com
          Reporter: s_chriscoll...@hotmail.com
                CC: gabriel.barrantes....@outlook.com
  Target Milestone: ---

SUMMARY
Disclaimer: I don't know the correct terminology for the calculator's display
area, since I can't reference the manual due to bug #492142. So, I will refer
to the upper, small number display as the "formula view", and the lower, larger
number display as the "result view".
---
After running a calculation in KCalc and hitting Enter, the number disappears
from the result display and only appears in the formula view. Ctrl+C results in
an empty clipboard, and attempting to copy the contents of the formula view via
right click → Copy fails also.

This is a huge usability fail, IMO, as many people are used to hitting the
Enter key after a calculation (especially us number pad users). A common
workflow is:

1. Make a calculation in KCalc, then hit enter.
2. Ctrl+C to copy the calculation result.
3. Ctrl+V in destination app to paste calculation result.

And this workflow fails currently.

This bug is really two problems in one:

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.
2. Highlighting the contents of the formula view, right-click → Copy appears to
do nothing.

STEPS TO REPRODUCE
1. In KCalc, enter a calculation (e.g., "24*24") and hit enter.

OBSERVED RESULT
The calculated value disappears from the result view, only appearing in the
formula view, and cannot be copied.

EXPECTED RESULT
The calculated value should still appear in the result view (as it is the
result of your calculation) and be copyable.

WORKAROUND
As a workaround, I am using GNOME Calculator, which functions as expected.

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: KDE neon 6.0 User Edition
KDE Plasma Version: 6.1.4
KDE Frameworks Version: 6.5.0
Qt Version: 6.7.0

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to