<?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>504316</bug_id>
          
          <creation_ts>2025-05-16 08:15:40 +0000</creation_ts>
          <short_desc>Start editing an existing split when pressing Return</short_desc>
          <delta_ts>2025-05-17 07:02:02 +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.3</version>
          <rep_platform>openSUSE</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>NOR</priority>
          <bug_severity>wishlist</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>0</everconfirmed>
          <reporter name="Ingo Klöcker">kloecker</reporter>
          <assigned_to name="KMyMoney Devel Mailing List">kmymoney-devel</assigned_to>
          
          
          <cf_commitlink>https://invent.kde.org/office/kmymoney/-/commit/fbe0d432380a26bd813386d45e7326984400bbd0</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>2424550</commentid>
    <comment_count>0</comment_count>
    <who name="Ingo Klöcker">kloecker</who>
    <bug_when>2025-05-16 08:15:40 +0000</bug_when>
    <thetext>It would be very convenient if I could edit an existing split the same way that I can edit an existing transaction in the ledger, i.e. by pressing Return when the transaction is selected. Currently, I have to grab the mouse to edit a split (or press the Menu button that my keyboard luckily still has).

STEPS TO REPRODUCE
1. Have a transaction with splits.
2. Edit the transaction.
3. Open the split editor.
4. Try to edit the first split without using the mouse.

OBSERVED RESULT
If you are lucky then your keyboard has a Menu button which you can press to get the context menu with the Edit entry. Maybe there&apos;s a hidden keyboard shortcut I don&apos;t know about.
Pressing Return doesn&apos;t start editing the selected split but seems to trigger the OK button (although the Cancel button is clearly highlighted as default button by Qt)

EXPECTED RESULT
I can press Return to start editing a split in the split window just like I can press Return to start editing a transaction in the ledger.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2424867</commentid>
    <comment_count>1</comment_count>
    <who name="Thomas Baumgart">thb</who>
    <bug_when>2025-05-17 07:02:00 +0000</bug_when>
    <thetext>Git commit cb0081d97279267d15dbf9c74745fbf568f7247f by Thomas Baumgart.
Committed on 17/05/2025 at 07:01.
Pushed by tbaumgart into branch &apos;master&apos;.

Improve keyboard handling of split editor

While editing a split, closing the editor using the ESC
key also closed the whole split dialog. This change
prevents to close the dialog in this case so that the
user can continue to edit other splits and sets
the initial focus on the split view.

M  +3    -1    kmymoney/views/newspliteditor.cpp
M  +2    -0    kmymoney/views/splitdialog.cpp

https://invent.kde.org/office/kmymoney/-/commit/cb0081d97279267d15dbf9c74745fbf568f7247f</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2424868</commentid>
    <comment_count>2</comment_count>
    <who name="Thomas Baumgart">thb</who>
    <bug_when>2025-05-17 07:02:02 +0000</bug_when>
    <thetext>Git commit fbe0d432380a26bd813386d45e7326984400bbd0 by Thomas Baumgart.
Committed on 17/05/2025 at 07:01.
Pushed by tbaumgart into branch &apos;master&apos;.

Allow Enter key to start editing split
FIXED-IN: 5.2

M  +35   -0    kmymoney/views/splitview.cpp
M  +1    -0    kmymoney/views/splitview.h

https://invent.kde.org/office/kmymoney/-/commit/fbe0d432380a26bd813386d45e7326984400bbd0</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>