Open Zren opened 3 years ago
I could workaround this by moving the completed items to another completed.txt note like Todo.txt does. Hi.
That makes sense, i suppose. Because right now my todo list has hundreds of items and most of them completed. Moving them will help a bit :)
However, i still do not understand the root cause of the problem. What's the difference between moving the completed items to the separate file and hide them and just hide them without moving?
Looks like i have to read and understand how KDE plasma/applets work.
Thank you.
I'll try testing a filter model later.
plasma-applets
git repo).ListModel
code will properly move()
with an animation:
QSortFilterProxyModel
:
IIRC, I removed the filtering when adding the drag and drop code as moving an item caused it to create a new item rather than swapping the indexes of the existing Items.
IIRC, I need to support the move animation in
plasma-framwork
'sSortFilterModel
.I remember Ubuntu having a good example, but I don't think this is the correct class.
I could workaround this by moving the completed items to another
completed.txt
note likeTodo.txt
does.