Summary: | add ability to sort the books and the entries in the books alphabetically | ||
---|---|---|---|
Product: | [Unmaintained] kjots | Reporter: | Janet <bugzilla> |
Component: | general | Assignee: | Stephen Kelly <steveire> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | finex, l_verneuil |
Priority: | NOR | ||
Version: | unspecified | ||
Target Milestone: | --- | ||
Platform: | unspecified | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: |
Description
Janet
2005-08-23 18:43:37 UTC
IT would be great :)) Hmmm... interesting... What happens when you have books inside of books? Will the books sort and move up to the top like folders do in Konqueror or will they "mix in" with the pages? i think it would be into the with section Books inside books? Well, I would expect them to move up to the top. I would expect that I have to sort the books inside of books separately. It would be very nice to be able to sort the books alphabetically (on demand or as a fixed setting/option) but likewise it would be really horrible if the entries in the books (and books inside books are entries for me) also change their position for I want the new entries to be at the top of the book. I would vote 20 for sorting the root books but -50 for autosorting the entries when sorting the root books. How does kjots in KDE 3.5.1 sort the books? It's a bit weird: When the books where converted to the new format the sorting order changed. So I manually sorted them back to be in alphabetical order and saved. But every time I reopen kjots - the books are back in the what looks to me absolutely unsorted order... Please help and add a sorting feature. > How does kjots in KDE 3.5.1 sort the books? Books will show up in the order the ".book" files are read from the system. You can adjust the order by changing the names of the ".book" files in the KJots data directory. Make sure KJots is closed when you do this and keep the .book extension or it won't show up in the next version of KJots. If you want things to sort alphabetically top-to-bottom, you'll need to name the files in reverse alphabetical order since the listview inserts new items at the top. The filenames don't have anything to do with the book name so you can name them whatever you want. > Please help and add a sorting feature. Any wishes I haven't already closed are things I plan on implementing, but there won't be a new release of KJots until KDE 4.0 comes out (or if support for running KDE4 apps is added to KDE3.5, which might not ever happen). Might be fixed in KDE 4.2. What's the status of this bug on current KDE 4.2 beta2 ? Unchanged. I haven't yet implemented this. Although I did notice some code there attempting to do this, probably written by Jaison. I only get a crash when I try to use it, and I haven't been able to fix it yet. I may disable it for 4.2 if I can't make it work reliably. Not having the ability to sort notes is more than annoying. I was waiting for Kjots/KDE4.2 for this improvement already identified as a must in .... 2005. At least a solution/workaround to sort notes directly through kjots files edition should be proposed in the meantime (did not find yet an easy solution). SVN commit 912026 by skelly: Disable sorting by clicking headers. CCBUG: 111362 M +8 -1 bookshelf.cpp WebSVN link: http://websvn.kde.org/?view=rev&revision=912026 Sorting books is part of the solution. Sorting notes still to be done, or workaround solution to be provided (direct edition of kjots files with a sed command ? ) If you really want to sort book right now, I recommend drag and drop books and pages to where you want. If you want to edit the data files for a more automated sorting, I don't think sed will work. The data files are stored in an xml format currently. You could write a python script using the xml.dom.minidom module for example, but I'm not convinced it is worth it. I'll try to implement this for 4.3. Cheers, Steve. "[i]If you really want to sort book right now, I recommend drag and drop books and pages to where you want.[/i]" The good question is "how much time do you need to sort 200 notes ?" This is why this bug has been open. SVN commit 1116211 by skelly: Add actions for sorting kjots items alphabetically and by creation time. BUG: 111362 BUG: 234715 M +53 -1 kjotssortproxymodel.cpp M +11 -0 kjotssortproxymodel.h M +2 -1 kjotstreeview.cpp M +27 -8 kjotswidget.cpp M +2 -1 kjotswidget.h WebSVN link: http://websvn.kde.org/?view=rev&revision=1116211 |