[Kmymoney-devel] [Bug 262530] New: Tabbing to value field in splits window overwrites clipboard contents

Henry at immanuel.kde.org Henry at immanuel.kde.org
Sat Jan 8 15:38:01 CET 2011


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

           Summary: Tabbing to value field in splits window overwrites
                    clipboard contents
           Product: kmymoney4
           Version: 4.5
          Platform: Ubuntu Packages
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: NOR
         Component: general
        AssignedTo: kmymoney-devel at kde.org
        ReportedBy: hgernhardt at tcnewengland.org


Version:           4.5 (using KDE 4.5.4) 
OS:                Linux

When in the splits window, tabbing into the amount field overwrites the
contents of the clipboard.

Reproducible: Always

Steps to Reproduce:
* Open the splits window on a new transaction.
* Enter a category/account in the category field.
* Enter a text string in the memo field.
* Copy that string to the clipboard using the keyboard copy shortcut.
* Tab to the value field and enter a value.
* Confirm the split.
* Begin a second split line, entering a category/account in the category line.
* In the memo field, paste the clipboard contents using the keyboard paste
shortcut.

Actual Results:  
The initial amount in the value field from the prior split is pasted.

Expected Results:  
The text copied from the memo field from the prior split should be pasted.

It would seem to me, by observation, that the application is using the
clipboard to temporarily store the contents of the value field to be
automatically pasted into the calculator application should the user press the
calculator button.  Although this is a good idea, the application does not
appear to restore the old clipboard contents.  The code should be modified such
that the old clipboard contents are saved while the value field has focus, and
are restored either when the paste is performed in the calculator application,
or when the value field loses focus to something other than the calculator
button.

-- 
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.


More information about the KMyMoney-devel mailing list