<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugs.kde.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.6"
          urlbase="https://bugs.kde.org/"
          
          maintainer="sysadmin@kde.org"
>

    <bug>
          <bug_id>442354</bug_id>
          
          <creation_ts>2021-09-12 20:55:09 +0000</creation_ts>
          <short_desc>When matching transactions, the first one selected should be first shown in the &quot;Merge Transactions&quot; dialog</short_desc>
          <delta_ts>2024-07-08 16:41:14 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>2</classification_id>
          <classification>Applications</classification>
          <product>kmymoney</product>
          <component>ux-ui</component>
          <version>5.1.2</version>
          <rep_platform>Other</rep_platform>
          <op_sys>Other</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          <see_also>https://bugs.kde.org/show_bug.cgi?id=435512</see_also>
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>NOR</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>0</everconfirmed>
          <reporter name="Dawid Wróbel">me</reporter>
          <assigned_to name="KMyMoney Devel Mailing List">kmymoney-devel</assigned_to>
          <cc>kdedev</cc>
          
          <cf_commitlink></cf_commitlink>
          <cf_versionfixedin>5.2</cf_versionfixedin>
          <cf_sentryurl></cf_sentryurl>
          <votes>0</votes>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>2060571</commentid>
    <comment_count>0</comment_count>
    <who name="Dawid Wróbel">me</who>
    <bug_when>2021-09-12 20:55:09 +0000</bug_when>
    <thetext>SUMMARY
When matching transactions, the first one selected should be first shown in the &quot;Merge Transactions&quot; dialog. This is how it used to work but it stopped most likely after most recent updates to the functionality.

STEPS TO REPRODUCE
1. Select 2 transactions that can be matched (i.e. same amount), the older one first and then the newer one, further down the ledger
2. Click match
3. Click merge

OBSERVED RESULT
The first transaction selected should be shown first in the &quot;Merge Transaction&quot; dialog, but instead the second one is.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2248496</commentid>
    <comment_count>1</comment_count>
    <who name="TraceyC">kdedev</who>
    <bug_when>2023-08-25 00:12:59 +0000</bug_when>
    <thetext>Confirm that I can reproduce this bug in KMyMoney v 5.1.3
The dialog says the first transaction I selected is on top and will be used for the merged transaction.
In reality, the second transaction selected is in the first row and its information is incorrectly used for the merged transaction.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2335361</commentid>
    <comment_count>2</comment_count>
    <who name="Jack">ostroffjh</who>
    <bug_when>2024-07-06 18:29:28 +0000</bug_when>
    <thetext>Hasn&apos;t this been addressed in the new ledger?  It is now possible to switch which transaction is considered &quot;first&quot; when merging.  If someone else can confirm, I&apos;ll be happy to close as fixed in 5.2.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2335786</commentid>
    <comment_count>3</comment_count>
    <who name="TraceyC">kdedev</who>
    <bug_when>2024-07-08 16:34:46 +0000</bug_when>
    <thetext>Sorry for forgetting about this open case. The Merge Transactions dialog now behaves as I expect in KMyMoney 5.1.3</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2335787</commentid>
    <comment_count>4</comment_count>
    <who name="Jack">ostroffjh</who>
    <bug_when>2024-07-08 16:41:14 +0000</bug_when>
    <thetext>Thanks for confirming, but I didn&apos;t think this was fixed in 5.1.3, only in master branch.  Perhaps there was a partial fix in 5.1.3, which was enough to meet your needs, with further improvement of the match dialog in master branch, so I&apos;ll close as fixed in 5.2.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>