Bug 272737 - Drag and drop to rearrange categories
Summary: Drag and drop to rearrange categories
Status: RESOLVED FIXED
Alias: None
Product: kmymoney
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Unlisted Binaries Linux
: NOR wishlist
Target Milestone: ---
Assignee: KMyMoney Devel Mailing List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-05-07 22:13 UTC by David Alston
Modified: 2023-11-25 12:26 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description David Alston 2011-05-07 22:13:09 UTC
Version:           unspecified (using KDE 4.6.2) 
OS:                Linux

It would be great if when I need to move a category into a different sub-section all I had to do was click on the Categories section and then drag it to the place in the hierarchy I want.

The categories probably won't change very much after they've settled.. but anyone who is initially setting up a kmymoney file will greatly appreciate the flexibility.

Reproducible: Didn't try
Comment 1 Cristian Oneț 2011-05-08 09:53:09 UTC
It's good that a wish for this feature was reported as this feature was present in the KDE3 version and was not ported into the KDE4 version.
Comment 2 Jack 2011-10-08 00:47:55 UTC
As was discussed on the -devel list, drag and drop has not yet been ported to the KDE4 version, but in the hierarchy tab of the edit category dialog, you can just click on another category to make that the new parent.  The same is true of accounts.  The manual is being updated to reflect the current behavior, but when this bug is closed, those changes will need to be reverted.
Comment 3 Jack 2014-08-30 15:49:21 UTC
Given the imminent release of a new version - is this included, or is it too late, and we'll just defer it for the frameworks version?
Comment 4 Cristian Oneț 2014-08-30 16:14:25 UTC
This won't make it into 4.7 but it might make it into 4.8.
Comment 5 Jack 2023-10-26 20:59:35 UTC
It's still not in 5.1.3, and unfortunately is not a high priority, so it's still on hold.  One additional issue I just discovered is that when you do click on the new parent and the click "OK" the entire dialog gets closed, instead of just showing the altered hierarchy.
Comment 6 Thomas Baumgart 2023-11-25 12:26:41 UTC
Git commit e82f6943c3b92c3f563413c78a730b950a7b2994 by Thomas Baumgart.
Committed on 25/11/2023 at 13:26.
Pushed by tbaumgart into branch 'master'.

Implement drag and drop for accounts and categories view
FIXED-in: 5.2

M  +14   -3    kmymoney/mymoney/mymoneyfile.cpp
M  +6    -0    kmymoney/mymoney/mymoneyfile.h
M  +137  -2    kmymoney/mymoney/storage/accountsmodel.cpp
M  +43   -0    kmymoney/mymoney/storage/accountsmodel.h
M  +6    -0    kmymoney/views/kaccountsview.cpp
M  +6    -0    kmymoney/views/kcategoriesview.cpp

https://invent.kde.org/office/kmymoney/-/commit/e82f6943c3b92c3f563413c78a730b950a7b2994